Skip to main content

Interface: KeyHandle

Defined in: packages/key-custodian/src/port.ts:140

What KeyCustodian.generate returns: the id to store, and the public half to publish. There is no private half in it, in any adapter.

Properties​

alg​

readonly alg: SigningAlgorithm

Defined in: packages/key-custodian/src/port.ts:144

The algorithm the key signs with.


id​

readonly id: `hsm:v1:${string}:${string}`

Defined in: packages/key-custodian/src/port.ts:142

The id to store beside whatever the key signs for.


publicJwk​

readonly publicJwk: Jwk

Defined in: packages/key-custodian/src/port.ts:146

The public key, without kid, alg or use: the caller names and publishes it.