pub struct CertificatePayloadTLS13 {
pub context: PayloadU8,
pub list: Vec<CertificateEntry>,
}
Fields
context: PayloadU8
list: Vec<CertificateEntry>
Implementations
sourceimpl CertificatePayloadTLS13
impl CertificatePayloadTLS13
pub fn new() -> 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 more
sourcefn get_encoding(&self) -> Vec<u8>
fn get_encoding(&self) -> Vec<u8>
Convenience function to get the results of encode()
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more