pub struct SslInfo {
pub client_flags: SslClientFlags,
pub verified: bool,
pub version: Option<String>,
pub cipher: Option<String>,
pub sig_alg: Option<String>,
pub key_alg: Option<String>,
pub cn: Option<String>,
pub group: Option<String>,
pub sig_scheme: Option<String>,
pub client_cert: Option<Vec<u8>>,
}Expand description
SSL/TLS metadata from the PP2_TYPE_SSL TLV (0x20)
Fields§
§client_flags: SslClientFlagsClient connection flags
verified: boolWhether the client certificate was verified
version: Option<String>TLS version string, e.g. “TLSv1.3”
cipher: Option<String>Cipher suite name
sig_alg: Option<String>Signature algorithm of the client certificate
key_alg: Option<String>Key algorithm of the client certificate
cn: Option<String>Common Name from the client certificate’s DN
group: Option<String>TLS supported group (PP2_SUBTYPE_SSL_GROUP, 0x26)
sig_scheme: Option<String>TLS signature scheme (PP2_SUBTYPE_SSL_SIG_SCHEME, 0x27)
client_cert: Option<Vec<u8>>DER-encoded client certificate (PP2_SUBTYPE_SSL_CLIENT_CERT, 0x28)
Trait Implementations§
impl Eq for SslInfo
impl StructuralPartialEq for SslInfo
Auto Trait Implementations§
impl Freeze for SslInfo
impl RefUnwindSafe for SslInfo
impl Send for SslInfo
impl Sync for SslInfo
impl Unpin for SslInfo
impl UnsafeUnpin for SslInfo
impl UnwindSafe for SslInfo
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