nooschain / crypto/types / KeyEnvelope
Interface: KeyEnvelope
Defined in: crypto/types.ts:10
Encrypted copy of a data-encryption key for one recipient.
Properties
algorithm
algorithm:
string
Defined in: crypto/types.ts:20
Key-envelope algorithm identifier.
encryptedDekBase64
encryptedDekBase64:
string
Defined in: crypto/types.ts:18
Sealed DEK bytes encoded as base64.
recipientId
recipientId:
string
Defined in: crypto/types.ts:14
User or organization id that should be able to decrypt the DEK.
recipientPublicKey
recipientPublicKey:
string
Defined in: crypto/types.ts:16
Public key used to seal the DEK.
recipientType
recipientType:
"user"|"organization"
Defined in: crypto/types.ts:12
Recipient namespace for authorization and display.