pub struct OtherPrimesInfo {
    pub r: BigUint,
    pub d: BigUint,
    pub t: BigUint,
}
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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.