Skip to content

Commit

Permalink
feat: export JsonWebKey Interface (#126)
Browse files Browse the repository at this point in the history
fixes #125
  • Loading branch information
bshambaugh committed Mar 29, 2022
1 parent 2f7a6c8 commit 519c8bd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ export interface ServiceEndpoint {
description?: string
}

interface JsonWebKey extends Extensible {
/**
* Encapsulates a JSON web key type that includes only the public properties that
* can be used in DID documents.
*
* The private properties are intentionally omitted to discourage the use
* (and accidental disclosure) of private keys in DID documents.
*/
export interface JsonWebKey extends Extensible {
alg?: string
crv?: string
e?: string
Expand Down

0 comments on commit 519c8bd

Please sign in to comment.