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]
impl CertificatePayloadTLS13
pub fn new() -> CertificatePayloadTLS13
[src]
pub fn new() -> CertificatePayloadTLS13
pub fn any_entry_has_duplicate_extension(&self) -> bool
[src]
pub fn any_entry_has_duplicate_extension(&self) -> bool
pub fn any_entry_has_unknown_extension(&self) -> bool
[src]
pub fn any_entry_has_unknown_extension(&self) -> bool
pub fn any_entry_has_extension(&self) -> bool
[src]
pub fn any_entry_has_extension(&self) -> bool
pub fn get_end_entity_ocsp(&self) -> Vec<u8>
[src]
pub fn get_end_entity_ocsp(&self) -> Vec<u8>
pub fn get_end_entity_scts(&self) -> Option<SCTList>
[src]
pub fn get_end_entity_scts(&self) -> Option<SCTList>
pub fn convert(&self) -> CertificatePayload
[src]
pub fn convert(&self) -> CertificatePayload
Trait Implementations
impl Debug for CertificatePayloadTLS13
[src]
impl Debug for CertificatePayloadTLS13
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Codec for CertificatePayloadTLS13
[src]
impl Codec for CertificatePayloadTLS13
fn encode(&self, bytes: &mut Vec<u8>)
[src]
fn encode(&self, bytes: &mut Vec<u8>)
Encode yourself by appending onto bytes
.
fn read(r: &mut Reader) -> Option<CertificatePayloadTLS13>
[src]
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>
[src]
fn get_encoding(&self) -> Vec<u8>
Convenience function to get the results of encode()
.
fn read_bytes(bytes: &[u8]) -> Option<Self>
[src]
fn read_bytes(bytes: &[u8]) -> Option<Self>
Read one of these from the front of bytes
and return it. Read more
Auto Trait Implementations
impl Send for CertificatePayloadTLS13
impl Send for CertificatePayloadTLS13
impl Sync for CertificatePayloadTLS13
impl Sync for CertificatePayloadTLS13