pub struct TestCa {
pub ca_cert_pem: String,
cert: Certificate,
key_pair: KeyPair,
}Expand description
A certificate authority for issuing certificates in mutual-TLS tests —
self_signed’s single cert/key pair can’t produce this, since mTLS
tests need a CA distinct from the leaf certificates it issues.
Fields§
§ca_cert_pem: String§cert: Certificate§key_pair: KeyPairAuto Trait Implementations§
impl Freeze for TestCa
impl !RefUnwindSafe for TestCa
impl Send for TestCa
impl Sync for TestCa
impl Unpin for TestCa
impl !UnwindSafe for TestCa
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