Library API
    Preparing search index...

    Function importPublicKey

    • Imports a PEM-formatted public key string into a native Web Crypto API CryptoKey object.

      Parameters

      • pem: string

        The PEM-formatted public key string

      Returns Promise<CryptoKey>

      A promise resolving to the imported CryptoKey