Struct biscuit::jwk::OtherPrimesInfo
source · Expand description
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
OtherPrimeInfo
parameters in Appendix A.1.2 of RFC 3447,
upon which the following parameters are modeled. If the consumer of
a JWK does not support private keys with more than two primes and it
encounters a private key that includes the “oth” parameter, then it
MUST NOT use the key.
Fields
r: BigUint
The “r” (prime factor) parameter represents the value of a subsequent prime factor. It is serialized as a Base64urlUInt-encoded value.
d: BigUint
The “d” (factor CRT exponent) parameter represents the CRT exponent of the corresponding prime factor. It is serialized as a Base64urlUInt-encoded value.
t: BigUint
The “t” (factor CRT coefficient) parameter member represents the CRT coefficient of the corresponding prime factor.
Trait Implementations
sourceimpl Clone for OtherPrimesInfo
impl Clone for OtherPrimesInfo
sourcefn clone(&self) -> OtherPrimesInfo
fn clone(&self) -> OtherPrimesInfo
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl<'de> Deserialize<'de> for OtherPrimesInfo
impl<'de> Deserialize<'de> for OtherPrimesInfo
sourcefn 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>,
sourceimpl PartialEq<OtherPrimesInfo> for OtherPrimesInfo
impl PartialEq<OtherPrimesInfo> for OtherPrimesInfo
sourcefn eq(&self, other: &OtherPrimesInfo) -> bool
fn eq(&self, other: &OtherPrimesInfo) -> bool
sourceimpl Serialize for OtherPrimesInfo
impl Serialize for OtherPrimesInfo
impl Eq for OtherPrimesInfo
impl StructuralEq for OtherPrimesInfo
impl StructuralPartialEq for OtherPrimesInfo
Auto Trait Implementations
impl RefUnwindSafe for OtherPrimesInfo
impl Send for OtherPrimesInfo
impl Sync for OtherPrimesInfo
impl Unpin for OtherPrimesInfo
impl UnwindSafe for OtherPrimesInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.