@hyperledger/identus-edge-agent-sdk / Exports / Domain / JWK
Namespace: JWK
Domain.JWK
JWK definitions based on https://www.iana.org/assignments/jose/jose.xhtml
Table of contents
Interfaces
Type Aliases
Functions
Type Aliases
key_ops
Ƭ key_ops: "sign"
| "verify"
| "encrypt"
| "decrypt"
| "wrapKey"
| "unwrapKey"
| "deriveKey"
| "deriveBits"
Defined in
src/domain/models/keyManagement/exportable/JWK.ts:18
Functions
fromKey
▸ fromKey(key
, base?
): JWK
create a JWK from a given Key
Parameters
Name | Type | Description |
---|---|---|
key | PrivateKey | PublicKey | |
base | Base | set of JWK properties to be added |