pub struct TestCertificate {
pub chain_pem: String,
pub key_pem: String,
pub ca_pem: String,
}Expand description
A leaf, its key and the authority that signed it.
Fields§
§chain_pem: StringThe leaf followed by the authority, PEM, for a server to present.
key_pem: StringThe leaf’s private key, PEM.
ca_pem: StringThe authority’s certificate, PEM, for a client to trust.
Auto Trait Implementations§
impl Freeze for TestCertificate
impl RefUnwindSafe for TestCertificate
impl Send for TestCertificate
impl Sync for TestCertificate
impl Unpin for TestCertificate
impl UnsafeUnpin for TestCertificate
impl UnwindSafe for TestCertificate
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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