importPrivateJwk
importPrivateJwk
Import a private signing key from a JSON Web Key.
ts
function importPrivateJwk(
jwk: JsonWebKey,
algorithm?: PrivateKeyImportInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
jwk:JsonWebKeyalgorithm?:PrivateKeyImportInput
See also
importPrivateJwkOrThrowfor the throwing variant