Skip to content

Commit

Permalink
docs: update JWK docs
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 13, 2024
1 parent 746c727 commit 092dadf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 10 additions & 0 deletions docs/interfaces/types.JWK.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ Support from the community to continue maintaining and improving this module is
JSON Web Key ([JWK](https://www.rfc-editor.org/rfc/rfc7517)). "RSA", "EC", "OKP", and "oct"
key types are supported.

**`See`**

- [JWK_OKP_Public](types.JWK_OKP_Public.md)
- [JWK_OKP_Private](types.JWK_OKP_Private.md)
- [JWK_EC_Public](types.JWK_EC_Public.md)
- [JWK_EC_Private](types.JWK_EC_Private.md)
- [JWK_RSA_Public](types.JWK_RSA_Public.md)
- [JWK_RSA_Private](types.JWK_RSA_Private.md)
- [JWK_oct](types.JWK_oct.md)

## Table of contents

### Properties
Expand Down
12 changes: 9 additions & 3 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ export interface JWK_RSA_Private extends JWK_RSA_Public, JWKParameters {
qi: string
}

/**
* Convenience interface for oct JSON Web Keys
*/
/** Convenience interface for oct JSON Web Keys */
export interface JWK_oct extends JWKParameters {
/** Key Value */
k: string
Expand All @@ -194,6 +192,14 @@ export interface JWK_oct extends JWKParameters {
/**
* JSON Web Key ({@link https://www.rfc-editor.org/rfc/rfc7517 JWK}). "RSA", "EC", "OKP", and "oct"
* key types are supported.
*
* @see {@link JWK_OKP_Public}
* @see {@link JWK_OKP_Private}
* @see {@link JWK_EC_Public}
* @see {@link JWK_EC_Private}
* @see {@link JWK_RSA_Public}
* @see {@link JWK_RSA_Private}
* @see {@link JWK_oct}
*/
export interface JWK extends JWKParameters {
/**
Expand Down

0 comments on commit 092dadf

Please sign in to comment.