pub struct RsaJwk {
pub kid: String,
pub key_ops: Vec<String>,
pub kty: String,
pub e: Vec<u8>,
pub n: Vec<u8>,
}
Expand description
JWK for an RSA key
Fields§
§kid: String
Key id
key_ops: Vec<String>
Key operations
kty: String
Key type
e: Vec<u8>
RSA public exponent
n: Vec<u8>
RSA public modulus
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RsaJwk
impl<'de> Deserialize<'de> for RsaJwk
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RsaJwk
impl RefUnwindSafe for RsaJwk
impl Send for RsaJwk
impl Sync for RsaJwk
impl Unpin for RsaJwk
impl UnwindSafe for RsaJwk
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more