Optional
algOptional
algorithmThe key algorithm, alias for JWK "alg" field.
Optional
crvThe elliptic curve type, alias for JWK "crv" field.
Optional
dpOptional
dqOptional
eOptional
extOptional
extractableIndicates whether the private key is extractable, alias for JSK "ext" field.
Optional
kOptional
key_Alias for keyPairBits that throws if a complete key pair is not present.
Import/export of BinaryKeyPair structure used as an alternate serialization format for legacy reasons.
Optional
ktyOptional
nOptional
operationsOperations supported by the key, alias for JWK "key_ops" field.
Optional
othOptional
pOptional
pkcs8Import (write-only) of private keys encoded in PKCS #8 format.
The private key, alias for JWK "d" field.
Binary alias to private key field. Automatically encodes/decodes the base-64 private key.
Alias for privateBits that throws if no private key is present.
Import/export of EC public key in SEC1/SPKI format. Maps to x & y fields internally.
Alias for publicBits that throws if no public key is present.
Optional
qOptional
qiOptional
sec1Import (write-only) of private keys encoded in SEC1 format.
Optional
spkiImport (write-only) of public keys encoded in SPKI format.
The key type, alias for JWK "kty" field.
Optional
useBinary alias to the x field. Automatically encodes/decodes the base-64 x-point on EC public keys.
Binary alias to the y field. Automatically encodes/decodes the base-64 y-point on EC public keys.
EC key with extractable private fields.