pub struct TlsCertificateRequestContents<'a> {
pub cert_types: Vec<u8>,
pub sig_hash_algs: Option<Vec<u16>>,
pub unparsed_ca: Vec<&'a [u8]>,
}
Expand description
Certificate request, as defined in RFC5246 section 7.4.4
Note: TLS 1.2 adds SignatureAndHashAlgorithm (chapter 7.4.4) but do not declare it in A.4.2
Fields§
§cert_types: Vec<u8>
§sig_hash_algs: Option<Vec<u16>>
§unparsed_ca: Vec<&'a [u8]>
A list of DER-encoded distinguished names. See X.501
Trait Implementations§
Source§impl<'a> Clone for TlsCertificateRequestContents<'a>
impl<'a> Clone for TlsCertificateRequestContents<'a>
Source§fn clone(&self) -> TlsCertificateRequestContents<'a>
fn clone(&self) -> TlsCertificateRequestContents<'a>
Returns a copy 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<'a> Debug for TlsCertificateRequestContents<'a>
impl<'a> Debug for TlsCertificateRequestContents<'a>
Source§impl<'a> PartialEq for TlsCertificateRequestContents<'a>
impl<'a> PartialEq for TlsCertificateRequestContents<'a>
Source§fn eq(&self, other: &TlsCertificateRequestContents<'a>) -> bool
fn eq(&self, other: &TlsCertificateRequestContents<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for TlsCertificateRequestContents<'a>
Auto Trait Implementations§
impl<'a> Freeze for TlsCertificateRequestContents<'a>
impl<'a> RefUnwindSafe for TlsCertificateRequestContents<'a>
impl<'a> Send for TlsCertificateRequestContents<'a>
impl<'a> Sync for TlsCertificateRequestContents<'a>
impl<'a> Unpin for TlsCertificateRequestContents<'a>
impl<'a> UnwindSafe for TlsCertificateRequestContents<'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