Cryptographic Message Syntax (aka PKCS #7)

CMS describes an encapsulation syntax for data protection. It is used to digitally sign, digest, authenticate, or encrypt arbitrary message content.

See RFC 5652 for all the details.

Hierarchy

  • CMS

Constructors

Properties

Methods

Constructors

Properties

keychain: KeyChain

Methods

  • Reads some protected data.

    The keychain must contain one of the keys used to encrypt the data. If none of the keys exists, an Error is returned with the property 'Error.props.missingKeys'. It is array of key ids.

    Parameters

    Returns Promise<Uint8Array>