pub struct SecurityDetails { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Expand description
Security details about a request.
Implementations§
Source§impl SecurityDetails
impl SecurityDetails
pub fn builder() -> SecurityDetailsBuilder
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_id(&self) -> &CertificateId
pub fn certificate_id(&self) -> &CertificateId
Certificate ID value.
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 signed_certificate_timestamp_list(&self) -> &[SignedCertificateTimestamp]
pub fn signed_certificate_timestamp_list(&self) -> &[SignedCertificateTimestamp]
List of signed certificate timestamps (SCTs).
Sourcepub fn certificate_transparency_compliance(
&self,
) -> &CertificateTransparencyCompliance
pub fn certificate_transparency_compliance( &self, ) -> &CertificateTransparencyCompliance
Whether the request complied with Certificate Transparency policy
Trait Implementations§
Source§impl Clone for SecurityDetails
impl Clone for SecurityDetails
Source§fn clone(&self) -> SecurityDetails
fn clone(&self) -> SecurityDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more