Struct jsonwebtoken::jwk::RSAKeyParameters
source · pub struct RSAKeyParameters {
pub key_type: RSAKeyType,
pub n: String,
pub e: String,
}Expand description
Parameters for a RSA Key
Fields§
§key_type: RSAKeyTypeKey type value for a RSA Key
n: StringThe “n” (modulus) parameter contains the modulus value for the RSA public key.
e: StringThe “e” (exponent) parameter contains the exponent value for the RSA public key.
Trait Implementations§
source§impl Clone for RSAKeyParameters
impl Clone for RSAKeyParameters
source§fn clone(&self) -> RSAKeyParameters
fn clone(&self) -> RSAKeyParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RSAKeyParameters
impl Debug for RSAKeyParameters
source§impl Default for RSAKeyParameters
impl Default for RSAKeyParameters
source§fn default() -> RSAKeyParameters
fn default() -> RSAKeyParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RSAKeyParameters
impl<'de> Deserialize<'de> for RSAKeyParameters
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
source§impl Hash for RSAKeyParameters
impl Hash for RSAKeyParameters
source§impl PartialEq<RSAKeyParameters> for RSAKeyParameters
impl PartialEq<RSAKeyParameters> for RSAKeyParameters
source§fn eq(&self, other: &RSAKeyParameters) -> bool
fn eq(&self, other: &RSAKeyParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.