deno.land / x / oauth4webapi@v1.2.2 / docs / functions / generateKeyPair.md

generateKeyPair.md

Function: generateKeyPair

💗 Help the project

â–¸ generateKeyPair(alg, options?): Promise<CryptoKeyPair>

Generates a CryptoKeyPair for a given JWS alg Algorithm identifier.

Parameters

Name Type Description
alg JWSAlgorithm Supported JWS alg Algorithm identifier.
options? GenerateKeyPairOptions -

Returns

Promise<CryptoKeyPair>

oauth4webapi

Version Info

Tagged at
2 years ago