pub struct KeyMaterial {
pub private_key_pem: String,
pub certificate_pem: String,
pub private_key: RsaPrivateKey,
pub certificate_der: Vec<u8>,
}Expand description
A self-signed certificate and the RSA key it names.
Fields§
§private_key_pem: String§certificate_pem: String§private_key: RsaPrivateKey§certificate_der: Vec<u8>Implementations§
Source§impl KeyMaterial
impl KeyMaterial
pub fn fingerprint256(&self) -> String
pub fn valid_to(&self) -> String
pub fn public_key(&self) -> RsaPublicKey
Auto Trait Implementations§
impl Forget for KeyMaterial
impl Freeze for KeyMaterial
impl RefUnwindSafe for KeyMaterial
impl Send for KeyMaterial
impl Sync for KeyMaterial
impl Unpin for KeyMaterial
impl UnsafeUnpin for KeyMaterial
impl UnwindSafe for KeyMaterial
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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