pub struct CertificatePayload<'a> {
pub cert_encoding: CertificateEncoding,
pub cert_data: &'a [u8],
}
Expand description
Certificate Payload
The Certificate payload, denoted CERT in this document, provides a means to transport certificates or other authentication-related information via IKE. Certificate payloads SHOULD be included in an exchange if certificates are available to the sender. The Hash and URL formats of the Certificate payloads should be used in case the peer has indicated an ability to retrieve this information from elsewhere using an HTTP_CERT_LOOKUP_SUPPORTED Notify payload. Note that the term “Certificate payload” is somewhat misleading, because not all authentication mechanisms use certificates and data other than certificates may be passed in this payload.
Defined in RFC7296 section 3.6
Fields§
§cert_encoding: CertificateEncoding
§cert_data: &'a [u8]
Trait Implementations§
Source§impl<'a> Debug for CertificatePayload<'a>
impl<'a> Debug for CertificatePayload<'a>
Source§impl<'a> PartialEq for CertificatePayload<'a>
impl<'a> PartialEq for CertificatePayload<'a>
impl<'a> StructuralPartialEq for CertificatePayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for CertificatePayload<'a>
impl<'a> RefUnwindSafe for CertificatePayload<'a>
impl<'a> Send for CertificatePayload<'a>
impl<'a> Sync for CertificatePayload<'a>
impl<'a> Unpin for CertificatePayload<'a>
impl<'a> UnwindSafe for CertificatePayload<'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