Struct chromiumoxide_cdp::cdp::browser_protocol::security::CertificateSecurityState[][src]

pub struct CertificateSecurityState {
Show fields pub protocol: String, pub key_exchange: String, pub key_exchange_group: Option<String>, pub cipher: String, pub mac: Option<String>, pub certificate: Vec<String>, pub subject_name: String, pub issuer: String, pub valid_from: TimeSinceEpoch, pub valid_to: TimeSinceEpoch, pub certificate_network_error: Option<String>, pub certificate_has_weak_signature: bool, pub certificate_has_sha1_signature: bool, pub modern_ssl: bool, pub obsolete_ssl_protocol: bool, pub obsolete_ssl_key_exchange: bool, pub obsolete_ssl_cipher: bool, pub obsolete_ssl_signature: bool,
}
Expand description

Details about the security state of the page certificate. CertificateSecurityState

Fields

protocol: String

Protocol name (e.g. “TLS 1.2” or “QUIC”).

key_exchange: String

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

key_exchange_group: Option<String>

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

cipher: String

Cipher name.

mac: Option<String>

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

certificate: Vec<String>

Page certificate.

subject_name: String

Certificate subject name.

issuer: String

Name of the issuing CA.

valid_from: TimeSinceEpoch

Certificate valid from date.

valid_to: TimeSinceEpoch

Certificate valid to (expiration) date

certificate_network_error: Option<String>

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

certificate_has_weak_signature: bool

True if the certificate uses a weak signature aglorithm.

certificate_has_sha1_signature: bool

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

modern_ssl: bool

True if modern SSL

obsolete_ssl_protocol: bool

True if the connection is using an obsolete SSL protocol.

obsolete_ssl_key_exchange: bool

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

obsolete_ssl_cipher: bool

True if the connection is using an obsolete SSL cipher.

obsolete_ssl_signature: bool

True if the connection is using an obsolete SSL signature.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.