pub struct CertificatePayloadTLS13 {
pub context: PayloadU8,
pub entries: Vec<CertificateEntry>,
}
Fields§
§context: PayloadU8
§entries: Vec<CertificateEntry>
Implementations§
source§impl 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§
source§impl Codec for CertificatePayloadTLS13
impl Codec for CertificatePayloadTLS13
source§fn 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.source§fn get_encoding(&self) -> Vec<u8>
fn get_encoding(&self) -> Vec<u8>
Convenience function to get the results of
encode()
.source§fn 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.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§
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