Struct rustls::internal::msgs::handshake::CertificatePayloadTLS13
[−]
[src]
pub struct CertificatePayloadTLS13 { pub context: PayloadU8, pub list: Vec<CertificateEntry>, }
Fields
context: PayloadU8
list: Vec<CertificateEntry>
Methods
impl CertificatePayloadTLS13
[src]
fn new() -> CertificatePayloadTLS13
fn any_entry_has_duplicate_extension(&self) -> bool
fn any_entry_has_unknown_extension(&self) -> bool
fn convert(&self) -> CertificatePayload
Trait Implementations
impl Debug for CertificatePayloadTLS13
[src]
impl Codec for CertificatePayloadTLS13
[src]
fn encode(&self, bytes: &mut Vec<u8>)
Encode yourself by appending onto bytes
.
fn read(r: &mut Reader) -> Option<CertificatePayloadTLS13>
Decode yourself by fiddling with the Reader
. Return Some if it worked, None if not. Read more
fn get_encoding(&self) -> Vec<u8>
Convenience function to get the results of encode()
.
fn read_bytes(bytes: &[u8]) -> Option<Self>
Read one of these from the front of bytes
and return it. Read more