iya-sts
    Preparing search index...

    Variable cmsKeyTransportEncrypt

    cmsKeyTransportEncrypt: (publicKey: any, contentKey: any) => any = cmsKeyTransportEncrypt

    Type Declaration

      • (publicKey: any, contentKey: any): any
      • Wraps a CMS content-encryption key to an RSA public key with RSAES-PKCS1-v1_5.

        Parameters

        • publicKey: any

          the recipient's public key (a KeyObject or a PEM)

        • contentKey: any

          the content-encryption key

        Returns any

        the encryptedKey

        what node throws for a key that is not RSA