pub struct ServerTls {
pub cert_chain_pem: Vec<u8>,
pub key_pem: Vec<u8>,
pub key_passphrase: Option<String>,
}Expand description
The PEM bytes of the server TLS files.
The caller reads each file once at start.
Fields§
§cert_chain_pem: Vec<u8>The server certificate, followed by any intermediates.
key_pem: Vec<u8>The private key of the certificate: plain, or encrypted PKCS#8 under PBES2.
key_passphrase: Option<String>The passphrase of an encrypted key.
Trait Implementations§
Source§impl Debug for ServerTls
The debug text holds no byte of the private key or of the passphrase. It
shows the key as <N bytes redacted>, and a passphrase that is set as
<redacted>.
impl Debug for ServerTls
The debug text holds no byte of the private key or of the passphrase. It
shows the key as <N bytes redacted>, and a passphrase that is set as
<redacted>.
impl Eq for ServerTls
impl StructuralPartialEq for ServerTls
Auto Trait Implementations§
impl Forget for ServerTls
impl Freeze for ServerTls
impl Move for ServerTls
impl RefUnwindSafe for ServerTls
impl Send for ServerTlswhere
RawVecInner: Send,
impl Sync for ServerTlswhere
RawVecInner: Sync,
impl Unpin for ServerTls
impl UnsafeUnpin for ServerTls
impl UnwindSafe for ServerTlswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.