Expand description
This crate contains types only for working JWK and JWK Sets This is only meant to be used to deal with public JWK, not generate ones. Most of the code in this file is taken from https://github.com/lawliet89/biscuit but tweaked to remove the private bits as it’s not the goal for this crate currently.
Structs§
- Common
Parameters - Common JWK parameters
- Elliptic
Curve KeyParameters - Parameters for an Elliptic Curve Key
- Jwk
- JwkSet
- A JWK set
- Octet
KeyPair Parameters - Parameters for an Octet Key Pair
- Octet
KeyParameters - Parameters for an Octet Key
- RSAKey
Parameters - Parameters for a RSA Key
Enums§
- Algorithm
Parameters - Algorithm specific parameters
- Elliptic
Curve - Type of cryptographic curve used by a key. This is defined in RFC 7518 #7.6
- Elliptic
Curve KeyType - Key type value for an Elliptic Curve Key. This single value enum is a workaround for Rust not supporting associated constants.
- KeyAlgorithm
- The algorithms of the keys
- KeyOperations
- Operations that the key is intended to be used for. This enum is serialized
untagged
- Octet
KeyPair Type - Key type value for an Octet Key Pair. This single value enum is a workaround for Rust not supporting associated constants.
- Octet
KeyType - Key type value for an Octet symmetric key. This single value enum is a workaround for Rust not supporting associated constants.
- Public
KeyUse - The intended usage of the public
KeyType
. This enum is serializeduntagged
- RSAKey
Type - Key type value for an RSA Key. This single value enum is a workaround for Rust not supporting associated constants.