pub struct SecurityDetailsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> SecurityDetailsBuilder<'a>
impl<'a> SecurityDetailsBuilder<'a>
Sourcepub fn keyExchangeGroup(self, keyExchangeGroup: impl Into<Cow<'a, str>>) -> Self
pub fn keyExchangeGroup(self, keyExchangeGroup: impl Into<Cow<'a, str>>) -> Self
(EC)DH group used by the connection, if applicable.
Sourcepub fn mac(self, mac: impl Into<Cow<'a, str>>) -> Self
pub fn mac(self, mac: impl Into<Cow<'a, str>>) -> Self
TLS MAC. Note that AEAD ciphers do not have separate MACs.
Sourcepub fn serverSignatureAlgorithm(self, serverSignatureAlgorithm: i64) -> Self
pub fn serverSignatureAlgorithm(self, serverSignatureAlgorithm: i64) -> Self
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.
pub fn build(self) -> SecurityDetails<'a>
Auto Trait Implementations§
impl<'a> Freeze for SecurityDetailsBuilder<'a>
impl<'a> RefUnwindSafe for SecurityDetailsBuilder<'a>
impl<'a> Send for SecurityDetailsBuilder<'a>
impl<'a> Sync for SecurityDetailsBuilder<'a>
impl<'a> Unpin for SecurityDetailsBuilder<'a>
impl<'a> UnsafeUnpin for SecurityDetailsBuilder<'a>
impl<'a> UnwindSafe for SecurityDetailsBuilder<'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