pub struct PrivateRsaKeyMaterial {
pub prime: String,
pub modulus: RsaPublic,
}Expand description
RSA private key material.
Defines the contents of RSA private key: prime and modulus fields.
Fields§
§prime: StringRSA prime factor.
modulus: RsaPublicRSA modulus factor.
Trait Implementations§
Source§impl Debug for PrivateRsaKeyMaterial
impl Debug for PrivateRsaKeyMaterial
Source§impl<'de> Deserialize<'de> for PrivateRsaKeyMaterial
impl<'de> Deserialize<'de> for PrivateRsaKeyMaterial
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 From<&PrivateRsaKeyMaterial> for TPM2B_PRIVATE_KEY_RSA
impl From<&PrivateRsaKeyMaterial> for TPM2B_PRIVATE_KEY_RSA
Source§fn from(private_rsa: &PrivateRsaKeyMaterial) -> Self
fn from(private_rsa: &PrivateRsaKeyMaterial) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrivateRsaKeyMaterial
impl RefUnwindSafe for PrivateRsaKeyMaterial
impl Send for PrivateRsaKeyMaterial
impl Sync for PrivateRsaKeyMaterial
impl Unpin for PrivateRsaKeyMaterial
impl UnwindSafe for PrivateRsaKeyMaterial
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