pub struct CertificatePayloadTLS13 {
pub context: PayloadU8,
pub entries: Vec<CertificateEntry>,
}
Fields
context: PayloadU8
entries: Vec<CertificateEntry>
Implementations
sourceimpl CertificatePayloadTLS13
impl CertificatePayloadTLS13
pub fn new(entries: Vec<CertificateEntry>) -> CertificatePayloadTLS13
pub fn any_entry_has_duplicate_extension(&self) -> bool
pub fn any_entry_has_unknown_extension(&self) -> bool
pub fn any_entry_has_extension(&self) -> bool
pub fn get_end_entity_ocsp(&self) -> Vec<u8>
pub fn get_end_entity_scts(&self) -> Option<SCTList>
pub fn convert(&self) -> CertificatePayload
Trait Implementations
sourceimpl Codec for CertificatePayloadTLS13
impl Codec for CertificatePayloadTLS13
sourcefn read(r: &mut Reader<'_>) -> Option<CertificatePayloadTLS13>
fn read(r: &mut Reader<'_>) -> Option<CertificatePayloadTLS13>
Decode yourself by fiddling with the
Reader
.
Return Some if it worked, None if not. Read moresourcefn get_encoding(&self) -> Vec<u8>
fn get_encoding(&self) -> Vec<u8>
Convenience function to get the results of
encode()
.sourcefn read_bytes(bytes: &[u8]) -> Option<Self>
fn read_bytes(bytes: &[u8]) -> Option<Self>
Read one of these from the front of
bytes
and
return it. Read moresourceimpl Debug for CertificatePayloadTLS13
impl Debug for CertificatePayloadTLS13
Auto Trait Implementations
impl RefUnwindSafe for CertificatePayloadTLS13
impl Send for CertificatePayloadTLS13
impl Sync for CertificatePayloadTLS13
impl Unpin for CertificatePayloadTLS13
impl UnwindSafe for CertificatePayloadTLS13
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more