pub struct CaFiles {
pub cert_pem: String,
pub key_pem: Zeroizing<String>,
}Expand description
A new CA, as the files openmoat proxy ca init writes. The key is zeroed
when dropped and left out of Debug.
Fields§
§cert_pem: StringThe certificate, PEM: what clients inside openmoat run trust.
key_pem: Zeroizing<String>The private key, PKCS #8 PEM: only the proxy reads it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CaFiles
impl RefUnwindSafe for CaFiles
impl Send for CaFiles
impl Sync for CaFiles
impl Unpin for CaFiles
impl UnsafeUnpin for CaFiles
impl UnwindSafe for CaFiles
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