Struct rustls::internal::msgs::handshake::CertificateEntry [−][src]
pub struct CertificateEntry { pub cert: Certificate, pub exts: CertificateExtensions, }
Fields
cert: Certificate
exts: CertificateExtensions
Methods
impl CertificateEntry
[src]
impl CertificateEntry
pub fn new(cert: Certificate) -> CertificateEntry
[src]
pub fn new(cert: Certificate) -> CertificateEntry
pub fn has_duplicate_extension(&self) -> bool
[src]
pub fn has_duplicate_extension(&self) -> bool
pub fn has_unknown_extension(&self) -> bool
[src]
pub fn has_unknown_extension(&self) -> bool
pub fn get_ocsp_response(&self) -> Option<&Vec<u8>>
[src]
pub fn get_ocsp_response(&self) -> Option<&Vec<u8>>
pub fn get_scts(&self) -> Option<&SCTList>
[src]
pub fn get_scts(&self) -> Option<&SCTList>
Trait Implementations
impl Debug for CertificateEntry
[src]
impl Debug for CertificateEntry
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 CertificateEntry
[src]
impl Codec for CertificateEntry
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<CertificateEntry>
[src]
fn read(r: &mut Reader) -> Option<CertificateEntry>
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 CertificateEntry
impl Send for CertificateEntry
impl Sync for CertificateEntry
impl Sync for CertificateEntry