pub struct CertificateSecurityState<'a> { /* private fields */ }Expand description
Details about the security state of the page certificate.
Implementations§
Source§impl<'a> CertificateSecurityState<'a>
impl<'a> CertificateSecurityState<'a>
pub fn builder( protocol: impl Into<Cow<'a, str>>, keyExchange: impl Into<Cow<'a, str>>, cipher: impl Into<Cow<'a, str>>, certificate: Vec<Cow<'a, str>>, subjectName: impl Into<Cow<'a, str>>, issuer: impl Into<Cow<'a, str>>, validFrom: TimeSinceEpoch, validTo: TimeSinceEpoch, certificateHasWeakSignature: bool, certificateHasSha1Signature: bool, modernSSL: bool, obsoleteSslProtocol: bool, obsoleteSslKeyExchange: bool, obsoleteSslCipher: bool, obsoleteSslSignature: bool, ) -> CertificateSecurityStateBuilder<'a>
pub fn protocol(&self) -> &str
pub fn keyExchange(&self) -> &str
pub fn keyExchangeGroup(&self) -> Option<&str>
pub fn cipher(&self) -> &str
pub fn mac(&self) -> Option<&str>
pub fn certificate(&self) -> &[Cow<'a, str>]
pub fn subjectName(&self) -> &str
pub fn issuer(&self) -> &str
pub fn validFrom(&self) -> &TimeSinceEpoch
pub fn validTo(&self) -> &TimeSinceEpoch
pub fn certificateNetworkError(&self) -> Option<&str>
pub fn certificateHasWeakSignature(&self) -> bool
pub fn certificateHasSha1Signature(&self) -> bool
pub fn modernSSL(&self) -> bool
pub fn obsoleteSslProtocol(&self) -> bool
pub fn obsoleteSslKeyExchange(&self) -> bool
pub fn obsoleteSslCipher(&self) -> bool
pub fn obsoleteSslSignature(&self) -> bool
Trait Implementations§
Source§impl<'a> Clone for CertificateSecurityState<'a>
impl<'a> Clone for CertificateSecurityState<'a>
Source§fn clone(&self) -> CertificateSecurityState<'a>
fn clone(&self) -> CertificateSecurityState<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CertificateSecurityState<'a>
impl<'a> Debug for CertificateSecurityState<'a>
Source§impl<'a> Default for CertificateSecurityState<'a>
impl<'a> Default for CertificateSecurityState<'a>
Source§fn default() -> CertificateSecurityState<'a>
fn default() -> CertificateSecurityState<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for CertificateSecurityState<'a>
impl<'de, 'a> Deserialize<'de> for CertificateSecurityState<'a>
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<'a> Freeze for CertificateSecurityState<'a>
impl<'a> RefUnwindSafe for CertificateSecurityState<'a>
impl<'a> Send for CertificateSecurityState<'a>
impl<'a> Sync for CertificateSecurityState<'a>
impl<'a> Unpin for CertificateSecurityState<'a>
impl<'a> UnsafeUnpin for CertificateSecurityState<'a>
impl<'a> UnwindSafe for CertificateSecurityState<'a>
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