pub enum SslSubTlv {
Version(String),
CommonName(String),
Cipher(String),
SignatureAlgorithm(String),
KeyAlgorithm(String),
Other(u8, Vec<u8>),
}Expand description
Nested SSL TLV.
Variants§
Version(String)
US-ASCII string representation of the TLS version.
CommonName(String)
Client certificate common name.
Cipher(String)
Negotiated cipher.
SignatureAlgorithm(String)
Signature algorithm.
KeyAlgorithm(String)
Key algorithm.
Other(u8, Vec<u8>)
Unknown nested TLV.
Implementations§
Source§impl SslSubTlv
impl SslSubTlv
Sourcepub fn common_name(value: impl Into<String>) -> SslSubTlv
pub fn common_name(value: impl Into<String>) -> SslSubTlv
Constructs a client certificate common-name nested TLV.
Sourcepub fn signature_algorithm(value: impl Into<String>) -> SslSubTlv
pub fn signature_algorithm(value: impl Into<String>) -> SslSubTlv
Constructs a signature algorithm nested TLV.
Sourcepub fn key_algorithm(value: impl Into<String>) -> SslSubTlv
pub fn key_algorithm(value: impl Into<String>) -> SslSubTlv
Constructs a key algorithm nested TLV.
Trait Implementations§
impl Eq for SslSubTlv
impl StructuralPartialEq for SslSubTlv
Auto Trait Implementations§
impl Freeze for SslSubTlv
impl RefUnwindSafe for SslSubTlv
impl Send for SslSubTlv
impl Sync for SslSubTlv
impl Unpin for SslSubTlv
impl UnsafeUnpin for SslSubTlv
impl UnwindSafe for SslSubTlv
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