Skip to main content

IDIDCommOptions interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Extra options when packing a DIDComm message.

  • This API may change without a BREAKING CHANGE notice.

Signature:

export interface IDIDCommOptions

Properties

PropertyModifiersTypeDescription
alg?'ECDH-ES+A256KW' | 'ECDH-1PU+A256KW' | 'ECDH-ES+XC20PKW' | 'ECDH-1PU+XC20PKW'(BETA) (Optional) Optional key wrapping algorithm to use. Defaults to 'ECDH-ES+A256KW'
bcc?string[](BETA) (Optional) Add extra recipients for the packed message.
enc?'XC20P' | 'A256GCM' | 'A256CBC-HS512'(BETA) (Optional) Optional content encryption algorithm to use. Defaults to 'A256GCM'
recipientKids?string[](BETA) (Optional) Restrict to a set of kids for recipient