pub struct TlsClientCert {
pub subject: String,
pub fingerprint: String,
pub serial: String,
}Expand description
What is told about the certificate of a client: enough to say who it is to an upstream, a plugin or the access log.
Fields§
§subject: StringThe subject, its parts in the order the certificate has them:
O=Example, CN=device-42.
fingerprint: StringThe SHA-256 of the certificate, in lower case hex.
serial: StringThe serial number, in lower case hex.
Trait Implementations§
Source§impl Clone for TlsClientCert
impl Clone for TlsClientCert
Source§impl Debug for TlsClientCert
impl Debug for TlsClientCert
Source§impl Default for TlsClientCert
impl Default for TlsClientCert
impl Eq for TlsClientCert
Source§impl PartialEq for TlsClientCert
impl PartialEq for TlsClientCert
impl StructuralPartialEq for TlsClientCert
Auto Trait Implementations§
impl Freeze for TlsClientCert
impl RefUnwindSafe for TlsClientCert
impl Send for TlsClientCert
impl Sync for TlsClientCert
impl Unpin for TlsClientCert
impl UnsafeUnpin for TlsClientCert
impl UnwindSafe for TlsClientCert
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.