pub struct SecurityDetails {Show 15 fields
pub protocol: String,
pub key_exchange: String,
pub key_exchange_group: Option<String>,
pub cipher: String,
pub mac: Option<String>,
pub certificate_id: CertificateId,
pub subject_name: String,
pub san_list: Vec<String>,
pub issuer: String,
pub valid_from: TimeSinceEpoch,
pub valid_to: TimeSinceEpoch,
pub signed_certificate_timestamp_list: Vec<SignedCertificateTimestamp>,
pub certificate_transparency_compliance: CertificateTransparencyCompliance,
pub server_signature_algorithm: Option<i64>,
pub encrypted_client_hello: bool,
}Expand description
Security details about a request. SecurityDetails
Fields§
§protocol: StringProtocol name (e.g. “TLS 1.2” or “QUIC”).
key_exchange: StringKey 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: StringCipher name.
mac: Option<String>TLS MAC. Note that AEAD ciphers do not have separate MACs.
certificate_id: CertificateIdCertificate ID value.
subject_name: StringCertificate subject name.
san_list: Vec<String>Subject Alternative Name (SAN) DNS names and IP addresses.
issuer: StringName of the issuing CA.
valid_from: TimeSinceEpochCertificate valid from date.
valid_to: TimeSinceEpochCertificate valid to (expiration) date
signed_certificate_timestamp_list: Vec<SignedCertificateTimestamp>List of signed certificate timestamps (SCTs).
certificate_transparency_compliance: CertificateTransparencyComplianceWhether the request complied with Certificate Transparency policy
server_signature_algorithm: Option<i64>The signature algorithm used by the server in the TLS server signature, represented as a TLS SignatureScheme code point. Omitted if not applicable or not known.
encrypted_client_hello: boolWhether the connection used Encrypted ClientHello
Implementations§
Source§impl SecurityDetails
impl SecurityDetails
pub fn builder() -> SecurityDetailsBuilder
Source§impl SecurityDetails
impl SecurityDetails
pub const IDENTIFIER: &'static str = "Network.SecurityDetails"
Trait Implementations§
Source§impl Clone for SecurityDetails
impl Clone for SecurityDetails
Source§fn clone(&self) -> SecurityDetails
fn clone(&self) -> SecurityDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SecurityDetails
impl Debug for SecurityDetails
Source§impl<'de> Deserialize<'de> for SecurityDetails
impl<'de> Deserialize<'de> for SecurityDetails
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SecurityDetails
impl PartialEq for SecurityDetails
Source§impl Serialize for SecurityDetails
impl Serialize for SecurityDetails
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for SecurityDetails
Auto Trait Implementations§
impl Freeze for SecurityDetails
impl RefUnwindSafe for SecurityDetails
impl Send for SecurityDetails
impl Sync for SecurityDetails
impl Unpin for SecurityDetails
impl UnwindSafe for SecurityDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more