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 CertificateEntrypub fn new(cert: Certificate) -> CertificateEntry[src]
pub fn new(cert: Certificate) -> CertificateEntrypub fn has_duplicate_extension(&self) -> bool[src]
pub fn has_duplicate_extension(&self) -> boolpub fn has_unknown_extension(&self) -> bool[src]
pub fn has_unknown_extension(&self) -> boolpub 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 CertificateEntryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Codec for CertificateEntry[src]
impl Codec for CertificateEntryfn 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 CertificateEntryimpl Sync for CertificateEntry
impl Sync for CertificateEntry