Function: randomDPoPKeyPair()

March 6, 2026 ยท View on GitHub

๐Ÿ’— 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

ParameterTypeDescription
alg?stringOne of the supported JWS Algorithm identifiers. Default is ES256.
options?GenerateKeyPairOptions-

Returns

Promise<CryptoKeyPair>

See

DPoP