pub struct CertificateSecurityState { /* private fields */ }Security and experimental only.Expand description
Details about the security state of the page certificate.
Implementations§
Source§impl CertificateSecurityState
impl CertificateSecurityState
pub fn builder() -> CertificateSecurityStateBuilder
Sourcepub fn key_exchange(&self) -> &str
pub fn key_exchange(&self) -> &str
Key Exchange used by the connection, or the empty string if not applicable.
Sourcepub fn key_exchange_group(&self) -> Option<&String>
pub fn key_exchange_group(&self) -> Option<&String>
(EC)DH group used by the connection, if applicable.
Sourcepub fn mac(&self) -> Option<&String>
pub fn mac(&self) -> Option<&String>
TLS MAC. Note that AEAD ciphers do not have separate MACs.
Sourcepub fn certificate(&self) -> &[String]
pub fn certificate(&self) -> &[String]
Page certificate.
Sourcepub fn subject_name(&self) -> &str
pub fn subject_name(&self) -> &str
Certificate subject name.
Sourcepub fn valid_from(&self) -> &TimeSinceEpoch
pub fn valid_from(&self) -> &TimeSinceEpoch
Certificate valid from date.
Sourcepub fn valid_to(&self) -> &TimeSinceEpoch
pub fn valid_to(&self) -> &TimeSinceEpoch
Certificate valid to (expiration) date
Sourcepub fn certificate_network_error(&self) -> Option<&String>
pub fn certificate_network_error(&self) -> Option<&String>
The highest priority network error code, if the certificate has an error.
Sourcepub fn certificate_has_weak_signature(&self) -> bool
pub fn certificate_has_weak_signature(&self) -> bool
True if the certificate uses a weak signature aglorithm.
Sourcepub fn certificate_has_sha1_signature(&self) -> bool
pub fn certificate_has_sha1_signature(&self) -> bool
True if the certificate has a SHA1 signature in the chain.
Sourcepub fn modern_ssl(&self) -> bool
pub fn modern_ssl(&self) -> bool
True if modern SSL
Sourcepub fn obsolete_ssl_protocol(&self) -> bool
pub fn obsolete_ssl_protocol(&self) -> bool
True if the connection is using an obsolete SSL protocol.
Sourcepub fn obsolete_ssl_key_exchange(&self) -> bool
pub fn obsolete_ssl_key_exchange(&self) -> bool
True if the connection is using an obsolete SSL key exchange.
Sourcepub fn obsolete_ssl_cipher(&self) -> bool
pub fn obsolete_ssl_cipher(&self) -> bool
True if the connection is using an obsolete SSL cipher.
Sourcepub fn obsolete_ssl_signature(&self) -> bool
pub fn obsolete_ssl_signature(&self) -> bool
True if the connection is using an obsolete SSL signature.
Trait Implementations§
Source§impl Clone for CertificateSecurityState
impl Clone for CertificateSecurityState
Source§fn clone(&self) -> CertificateSecurityState
fn clone(&self) -> CertificateSecurityState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more