Function privateKeyFromJWK

  • Extracts private key out of JWK. This checks if the public key matches the private key in the JWK. The returned buffers are guaranteed to unpooled. This means the underlying ArrayBuffer is safely transferrable.

    Parameters

    • privateKeyJWK: JsonWebKey

    Returns PrivateKey | undefined

Generated using TypeDoc