iya-sts
    Preparing search index...

    Variable pkinitSignedData

    pkinitSignedData: (opts: any) => any = pkinitSignedData

    Type Declaration

      • (opts: any): any
      • Writes a CMS ContentInfo holding a SignedData over content, signed with SHA-256 by an RSA or EC key, carrying the given certificates — or, with no privateKey, RFC 8062's unsigned SignedData, with no signer and no certificate.

        Parameters

        • opts: any

          contentType (an OID), content (bytes), signerCertDer, chainDers (more certificates, the Root left out) and privateKey

        Returns any

        the ContentInfo's DER

        Error for a key that is neither RSA nor EC