Struct chrome_remote_interface_model::security::CertificateSecurityState[][src]

pub struct CertificateSecurityState { /* fields omitted */ }
This is supported on crate features Security and experimental only.

Details about the security state of the page certificate.

Implementations

impl CertificateSecurityState[src]

pub fn builder() -> CertificateSecurityStateBuilder[src]

pub fn protocol(&self) -> &str[src]

Protocol name (e.g. "TLS 1.2" or "QUIC").

pub fn key_exchange(&self) -> &str[src]

Key Exchange used by the connection, or the empty string if not applicable.

pub fn key_exchange_group(&self) -> Option<&String>[src]

(EC)DH group used by the connection, if applicable.

pub fn cipher(&self) -> &str[src]

Cipher name.

pub fn mac(&self) -> Option<&String>[src]

TLS MAC. Note that AEAD ciphers do not have separate MACs.

pub fn certificate(&self) -> &[String]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Page certificate.

pub fn subject_name(&self) -> &str[src]

Certificate subject name.

pub fn issuer(&self) -> &str[src]

Name of the issuing CA.

pub fn valid_from(&self) -> &TimeSinceEpoch[src]

Certificate valid from date.

pub fn valid_to(&self) -> &TimeSinceEpoch[src]

Certificate valid to (expiration) date

pub fn certificate_network_error(&self) -> Option<&String>[src]

The highest priority network error code, if the certificate has an error.

pub fn certificate_has_weak_signature(&self) -> bool[src]

True if the certificate uses a weak signature aglorithm.

pub fn certificate_has_sha1_signature(&self) -> bool[src]

True if the certificate has a SHA1 signature in the chain.

pub fn modern_ssl(&self) -> bool[src]

True if modern SSL

pub fn obsolete_ssl_protocol(&self) -> bool[src]

True if the connection is using an obsolete SSL protocol.

pub fn obsolete_ssl_key_exchange(&self) -> bool[src]

True if the connection is using an obsolete SSL key exchange.

pub fn obsolete_ssl_cipher(&self) -> bool[src]

True if the connection is using an obsolete SSL cipher.

pub fn obsolete_ssl_signature(&self) -> bool[src]

True if the connection is using an obsolete SSL signature.

Trait Implementations

impl Clone for CertificateSecurityState[src]

impl Debug for CertificateSecurityState[src]

impl<'de> Deserialize<'de> for CertificateSecurityState[src]

impl Serialize for CertificateSecurityState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.