pub struct CaMaterial {
pub cert_pem: String,
pub key_pem: String,
}Expand description
A generated CA: the self-signed certificate and its private key, both PEM-encoded.
Fields§
§cert_pem: StringThe self-signed CA certificate, PEM-encoded.
key_pem: StringThe CA private key, PKCS#8 PEM-encoded (public by design — see the module docs).
Trait Implementations§
Source§impl Clone for CaMaterial
impl Clone for CaMaterial
Source§fn clone(&self) -> CaMaterial
fn clone(&self) -> CaMaterial
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CaMaterial
impl RefUnwindSafe for CaMaterial
impl Send for CaMaterial
impl Sync for CaMaterial
impl Unpin for CaMaterial
impl UnsafeUnpin for CaMaterial
impl UnwindSafe for CaMaterial
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