Struct chrome_remote_interface_model::security::CertificateSecurityStateBuilder[][src]

pub struct CertificateSecurityStateBuilder { /* fields omitted */ }

Implementations

impl CertificateSecurityStateBuilder[src]

pub fn protocol(&mut self, v: String) -> &mut Self[src]

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

pub fn key_exchange(&mut self, v: String) -> &mut Self[src]

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

pub fn key_exchange_group(&mut self, v: String) -> &mut Self[src]

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

pub fn cipher(&mut self, v: String) -> &mut Self[src]

Cipher name.

pub fn mac(&mut self, v: String) -> &mut Self[src]

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

pub fn certificate(&mut self, v: Vec<String>) -> &mut Self[src]

Page certificate.

pub fn subject_name(&mut self, v: String) -> &mut Self[src]

Certificate subject name.

pub fn issuer(&mut self, v: String) -> &mut Self[src]

Name of the issuing CA.

pub fn valid_from(&mut self, v: TimeSinceEpoch) -> &mut Self[src]

Certificate valid from date.

pub fn valid_to(&mut self, v: TimeSinceEpoch) -> &mut Self[src]

Certificate valid to (expiration) date

pub fn certificate_network_error(&mut self, v: String) -> &mut Self[src]

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

pub fn certificate_has_weak_signature(&mut self, v: bool) -> &mut Self[src]

True if the certificate uses a weak signature aglorithm.

pub fn certificate_has_sha1_signature(&mut self, v: bool) -> &mut Self[src]

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

pub fn modern_ssl(&mut self, v: bool) -> &mut Self[src]

True if modern SSL

pub fn obsolete_ssl_protocol(&mut self, v: bool) -> &mut Self[src]

True if the connection is using an obsolete SSL protocol.

pub fn obsolete_ssl_key_exchange(&mut self, v: bool) -> &mut Self[src]

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

pub fn obsolete_ssl_cipher(&mut self, v: bool) -> &mut Self[src]

True if the connection is using an obsolete SSL cipher.

pub fn obsolete_ssl_signature(&mut self, v: bool) -> &mut Self[src]

True if the connection is using an obsolete SSL signature.

pub fn build(&mut self) -> Result<CertificateSecurityState, &'static str>[src]

Trait Implementations

impl Clone for CertificateSecurityStateBuilder[src]

impl Debug for CertificateSecurityStateBuilder[src]

impl Default for CertificateSecurityStateBuilder[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> 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.