Package version:

Interface JsonWebKey

Hierarchy

  • JsonWebKey

Properties

crv?: string

Elliptic curve name. For valid values, see KeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'

d?: Uint8Array

RSA private exponent, or the D component of an EC private key.

dp?: Uint8Array

RSA private key parameter.

dq?: Uint8Array

RSA private key parameter.

e?: Uint8Array

RSA public exponent.

k?: Uint8Array

Symmetric key.

keyOps?: string[]

Json web key operations. For more information on possible key operations, see KeyOperation.

kid?: string

Key identifier.

kty?: string

JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', "oct-HSM"

n?: Uint8Array

RSA modulus.

p?: Uint8Array

RSA secret prime.

q?: Uint8Array

RSA secret prime, with p < q.

qi?: Uint8Array

RSA private key parameter.

t?: Uint8Array

HSM Token, used with 'Bring Your Own Key'.

x?: Uint8Array

X component of an EC public key.

y?: Uint8Array

Y component of an EC public key.

Generated using TypeDoc