OptionalalgOptionalalgorithmThe key algorithm, alias for JWK "alg" field.
OptionalcrvOptionalcurveThe elliptic curve type, alias for JWK "crv" field.
OptionaldpOptionaldqOptionaleOptionalextOptionalextractableIndicates whether the private key is extractable, alias for JSK "ext" field.
OptionalkOptionalkey_Alias for keyPairBits that throws if a complete key pair is not present.
OptionalkeyImport/export of BinaryKeyPair structure used as an alternate serialization format for legacy reasons.
OptionalktyOptionalnOptionaloperationsOperations supported by the key, alias for JWK "key_ops" field.
OptionalothOptionalpOptionalpkcs8Import (write-only) of private keys encoded in PKCS #8 format.
The private key, alias for JWK "d" field.
OptionalprivateBinary alias to private key field. Automatically encodes/decodes the base-64 private key.
Alias for privateBits that throws if no private key is present.
OptionalpublicImport/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.
OptionalqOptionalqiOptionalsec1Import (write-only) of private keys encoded in SEC1 format.
OptionalspkiImport (write-only) of public keys encoded in SPKI format.
The key type, alias for JWK "kty" field.
OptionaluseOptionalxOptionalxBinary alias to the x field. Automatically encodes/decodes the base-64 x-point on EC public keys.
OptionalyOptionalyBinary alias to the y field. Automatically encodes/decodes the base-64 y-point on EC public keys.
Symmetric key.