[−][src]Struct biscuit::jwk::RSAKeyParameters
Parameters for a RSA Key
Fields
key_type: RSAKeyType
Key type value for a RSA Key
n: BigUint
The "n" (modulus) parameter contains the modulus value for the RSA
public key.
It is serialized as a Base64urlUInt
-encoded value.
e: BigUint
The "e" (exponent) parameter contains the exponent value for the RSA
public key.
It is serialized as a Base64urlUInt
-encoded value.
d: Option<BigUint>
The "d" (private exponent) parameter contains the private exponent
value for the RSA private key.
It is serialized as a Base64urlUInt
-encoded value.
p: Option<BigUint>
The "p" (first prime factor) parameter contains the first prime
factor.
It is serialized as a Base64urlUInt
-encoded value.
q: Option<BigUint>
The "q" (second prime factor) parameter contains the second prime
factor.
It is serialized as a Base64urlUInt
-encoded value.
dp: Option<BigUint>
The "dp" (first factor CRT exponent) parameter contains the Chinese
Remainder Theorem (CRT) exponent of the first factor.
It is serialized as a Base64urlUInt
-encoded value.
dq: Option<BigUint>
The "dq" (second factor CRT exponent) parameter contains the CRT
exponent of the second factor.
It is serialized as a Base64urlUInt
-encoded value.
qi: Option<BigUint>
The "qi" (first CRT coefficient) parameter contains the CRT
coefficient of the second factor
It is serialized as a Base64urlUInt
-encoded value.
other_primes_info: Option<Vec<OtherPrimesInfo>>
The "oth" (other primes info) parameter contains an array of information about any third and subsequent primes, should they exist.
Methods
impl RSAKeyParameters
[src]
pub fn jws_public_key_secret(&self) -> Secret
[src]
Construct a jws::Secret
RSA public key for signature verification
Trait Implementations
impl From<RSAKeyParameters> for Secret
[src]
fn from(rsa: RSAKeyParameters) -> Self
[src]
impl PartialEq<RSAKeyParameters> for RSAKeyParameters
[src]
fn eq(&self, other: &RSAKeyParameters) -> bool
[src]
fn ne(&self, other: &RSAKeyParameters) -> bool
[src]
impl Clone for RSAKeyParameters
[src]
fn clone(&self) -> RSAKeyParameters
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for RSAKeyParameters
[src]
fn default() -> RSAKeyParameters
[src]
impl Eq for RSAKeyParameters
[src]
impl Serialize for RSAKeyParameters
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for RSAKeyParameters
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for RSAKeyParameters
impl Sync for RSAKeyParameters
impl Send for RSAKeyParameters
impl RefUnwindSafe for RSAKeyParameters
impl UnwindSafe for RSAKeyParameters
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,