Module biscuit::jwk
[−]
[src]
JSON Web Key
This module implements code for JWK as described in RFC7517.
Structs
CommonParameters |
Common JWK parameters |
EllipticCurveKeyParameters |
Parameters for an Elliptic Curve Key |
JWK |
A JSON object that represents a cryptographic key.
The members of the object represent properties of the key, including its value.
Type |
JWKSet |
A JSON object that represents a set of JWKs. |
OtherPrimesInfo |
The "oth" (other primes info) parameter contains an array of
information about any third and subsequent primes, should they exist.
When only two primes have been used (the normal case), this parameter
MUST be omitted. When three or more primes have been used, the
number of array elements MUST be the number of primes used minus two.
For more information on this case, see the description of the
|
RSAKeyParameters |
Parameters for a RSA Key |
Enums
AlgorithmParameters |
Algorithm specific parameters |
EllipticCurve |
Type of cryptographic curve used by a key. This is defined in RFC 7518 #7.6 |
EllipticCurveKeyType |
Key type value for an Elliptic Curve Key. This single value enum is a workaround for Rust not supporting associated constants. |
KeyOperations |
Operations that the key is intended to be used for. This enum is serialized |
KeyType |
Type of Key as specified in RFC 7518. |
OctectKeyType |
Key type value for an Octect symmetric Key. This single value enum is a workaround for Rust not supporting associated constants. |
PublicKeyUse |
The intended usage of the public |
RSAKeyType |
Key type value for an RSA Key. This single value enum is a workaround for Rust not supporting associated constants. |