Type Alias EncryptedKey

EncryptedKey: {
    algorithm: EncryptionAlgorithm;
    derivationScheme: KeyDerivationScheme;
    derivedPublicKey?: PublicJwk;
    encryptedKey: string;
    ephemeralPublicKey: PublicJwk;
    initializationVector: string;
    messageAuthenticationCode: string;
    rootKeyId: string;
}

Type declaration

  • algorithm: EncryptionAlgorithm
  • derivationScheme: KeyDerivationScheme
  • OptionalderivedPublicKey?: PublicJwk

    The actual derived public key.

  • encryptedKey: string
  • ephemeralPublicKey: PublicJwk
  • initializationVector: string
  • messageAuthenticationCode: string
  • rootKeyId: string

    The fully qualified key ID (e.g. did:example:abc#encryption-key-id) of the root public key used to encrypt the symmetric encryption key.