deno.land / x / oauth4webapi@v1.2.2 / docs / interfaces / PrivateKey.md

PrivateKey.md

Interface: PrivateKey

💗 Help the project

Interface to pass an asymmetric private key and, optionally, its associated JWK Key ID to be added as a kid JOSE Header Parameter.

Table of contents

Properties

Properties

key

• key: CryptoKey

An asymmetric private CryptoKey.

Its algorithm must be compatible with a supported JWS alg Algorithm.


kid

• Optional kid: string

JWK Key ID to add to JOSE headers when this key is used. When not provided no kid (JWK Key ID) will be added to the JOSE Header.

oauth4webapi

Version Info

Tagged at
2 years ago