Skip to main content

DIDCommMessagePacking type

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.

The possible types of message packing.

authcrypt, anoncrypt, anoncrypt+authcrypt, and anoncrypt+jws will produce DIDCommMessageMediaType.ENCRYPTED messages.

jws will produce DIDCommMessageMediaType.SIGNED messages.

none will produce DIDCommMessageMediaType.PLAIN messages.

This API may change without a BREAKING CHANGE notice.

Signature:

export type DIDCommMessagePacking =
| 'authcrypt'
| 'anoncrypt'
| 'jws'
| 'none'
| 'anoncrypt+authcrypt'
| 'anoncrypt+jws'