iya-sts
    Preparing search index...

    Variable importPkcs8SigningKey

    importPkcs8SigningKey: (pkcs8: any, algorithm: any) => Promise<any> = importPkcs8SigningKey

    Type Declaration

      • (pkcs8: any, algorithm: any): Promise<any>
      • Imports a PKCS#8 private key as a non-extractable Web Crypto signing key, for pkijs to sign a CRL or an OCSP response with.

        Parameters

        • pkcs8: any

          the DER (an ArrayBuffer or a Buffer)

        • algorithm: any

          the Web Crypto import parameters; name is one of PKCS8_SIGNING_ALGORITHMS

        Returns Promise<any>

        a promise of the CryptoKey

        Error for an algorithm outside the list