Converts an EdDSA private key as JSON Web Key (JWK) object to PEM. Currently only Curve25519 is supported.
EdDSA private key as JWK
Converts an EdDSA private key as PEM to JSON Web Key (JWK) object. Only Curve25519 and X25519 are supported.
EdDSA private key as PEM
Optional
kid: stringKey identifier (optional)
Generate an ECDSA key pair.
The name of the curve, one of "secp256r1", "secp384r1".
Generate an EdDSA key pair.
The name of the curve. Only "curve25519" and "x25519" are supported.
Generate an RSA key pair.
The length in bits of the RSA modulus. Minimum: 2048.
Optional
exponent: numberThe public exponent. Default: 65537.
Returns whether a string is a PEM-encoded bundle of X.509 certificates.
A bundle consists of one or more certificates. Certificates in the bundle do not have to be related to each other. Validation is only syntactical, properties like validity dates are not evaluated.
Converts an elliptic curve private key as JSON Web Key (JWK) object to PEM.
Elliptic curve private key as JWK
Converts an elliptic curve private key as PEM to JSON Web Key (JWK) object.
Elliptic curve private key as PEM
Optional
kid: stringKey identifier (optional)
Converts an EdDSA public key as JSON Web Key (JWK) object to PEM. Currently only Curve25519 is supported.
EdDSA public key as JWK
Converts an EdDSA public key as PEM to JSON Web Key (JWK) object. Only Curve25519 and X25519 are supported.
EdDSA public key as PEM
Optional
kid: stringKey identifier (optional)
Converts an elliptic curve public key as JSON Web Key (JWK) object to PEM.
Elliptic curve public key as JWK
Converts an elliptic curve public key as PEM to JSON Web Key (JWK) object.
Elliptic curve public key as PEM
Optional
kid: stringKey identifier (optional)
Converts an RSA public key as JSON Web Key (JWK) object to PEM.
RSA public key as JWK
Converts an RSA public key as PEM to JSON Web Key (JWK) object.
RSA public key as PEM
Optional
kid: stringKey identifier (optional)
Converts an RSA private key as JSON Web Key (JWK) object to PEM.
RSA private key as JWK
Converts an RSA private key as PEM to JSON Web Key (JWK) object.
RSA private key as PEM
Optional
kid: stringKey identifier (optional)
Generate a signature.
Signing algorithm and parameters
A PEM-encoded private key
Input data that will be signed
Unwraps a key using a wrapping key.
Constraints on the key
and wrappingKey
parameters depend
on the wrapping algorithm that is used (wrapAlgo
).
Returns whether digital signature is valid.
Signing algorithm and parameters
A PEM-encoded public key or X.509 certificate
Signature to verify
Input data that was signed
Wraps a key using a wrapping key.
Constraints on the key
and wrappingKey
parameters depend
on the wrapping algorithm that is used (wrapAlgo
).
Generate a digest (hash) of the given data.