PKI-Lite - v1.0.5
    Preparing search index...

    Configuration for a recipient of enveloped data.

    const recipient: EnvelopedDataBuilderRecipient = {
    certificate: recipientCert,
    keyEncryptionAlgorithm: {
    type: 'RSA_OAEP',
    params: { hash: 'SHA-384' }
    }
    }
    type EnvelopedDataBuilderRecipient = {
        certificate: Certificate;
        keyEncryptionAlgorithm?: AsymmetricEncryptionAlgorithmParams;
    }
    Index

    Properties

    certificate: Certificate

    The recipient's certificate containing their public key

    keyEncryptionAlgorithm?: AsymmetricEncryptionAlgorithmParams

    Optional key encryption algorithm, defaults to RSA-OAEP with SHA-1