pub struct CertificateRequestPayload<'a> {
pub cert_encoding: CertificateEncoding,
pub ca_data: &'a [u8],
}
Expand description
Certificate Request Payload
The Certificate Request payload, denoted CERTREQ in this document, provides a means to request preferred certificates via IKE and can appear in the IKE_INIT_SA response and/or the IKE_AUTH request. Certificate Request payloads MAY be included in an exchange when the sender needs to get the certificate of the receiver.
Defined in RFC7296 section 3.7
Fields§
§cert_encoding: CertificateEncoding
§ca_data: &'a [u8]
Trait Implementations§
Source§impl<'a> Debug for CertificateRequestPayload<'a>
impl<'a> Debug for CertificateRequestPayload<'a>
Source§impl<'a> PartialEq for CertificateRequestPayload<'a>
impl<'a> PartialEq for CertificateRequestPayload<'a>
Source§fn eq(&self, other: &CertificateRequestPayload<'a>) -> bool
fn eq(&self, other: &CertificateRequestPayload<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for CertificateRequestPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for CertificateRequestPayload<'a>
impl<'a> RefUnwindSafe for CertificateRequestPayload<'a>
impl<'a> Send for CertificateRequestPayload<'a>
impl<'a> Sync for CertificateRequestPayload<'a>
impl<'a> Unpin for CertificateRequestPayload<'a>
impl<'a> UnwindSafe for CertificateRequestPayload<'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