Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.1 KB

randomDPoPKeyPair.md

File metadata and controls

26 lines (15 loc) · 1.1 KB

Function: randomDPoPKeyPair()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


randomDPoPKeyPair(alg?, options?): Promise<CryptoKeyPair>

Generates random CryptoKeyPair to sign DPoP Proof JWTs with

Parameters

Parameter Type Description
alg? string One of the supported JWS Algorithm identifiers. Default is ES256.
options? GenerateKeyPairOptions

Returns

Promise<CryptoKeyPair>

See

DPoP