deno.land / x / oauth4webapi@v1.2.2 / docs / functions / generateKeyPair.md
â–¸ generateKeyPair(alg
, options?
): Promise
<CryptoKeyPair
>
Generates a CryptoKeyPair for a given JWS alg
Algorithm identifier.
Name | Type | Description |
---|---|---|
alg |
JWSAlgorithm |
Supported JWS alg Algorithm identifier. |
options? |
GenerateKeyPairOptions |
- |
Promise
<CryptoKeyPair
>
Version Info