iya-sts
    Preparing search index...

    Variable openEnvelope

    openEnvelope: (
        bytes: any,
        raCertificatePem: any,
        raPrivateKeyPem: any,
    ) => Record<string, any> = ...

    Type Declaration

      • (bytes: any, raCertificatePem: any, raPrivateKeyPem: any): Record<string, any>
      • Opens a pkcsPKIEnvelope with the RA's certificate and private key. Never throws.

        Parameters

        • bytes: any

          the EnvelopedData

        • raCertificatePem: any

          the RA's certificate

        • raPrivateKeyPem: any

          the RA's private key

        Returns Record<string, any>

        ok, the plaintext content, the cipher and the transport; or a refusal