Struct rustls::internal::msgs::handshake::CertificateEntry [−][src]
pub struct CertificateEntry { pub cert: Certificate, pub exts: CertificateExtensions, }
Fields
cert: Certificate
exts: CertificateExtensions
Implementations
impl CertificateEntry
[src]
impl CertificateEntry
[src]pub fn new(cert: Certificate) -> CertificateEntry
[src]
pub fn has_duplicate_extension(&self) -> bool
[src]
pub fn has_unknown_extension(&self) -> bool
[src]
pub fn get_ocsp_response(&self) -> Option<&Vec<u8>>
[src]
pub fn get_scts(&self) -> Option<&SCTList>
[src]
Trait Implementations
impl Codec for CertificateEntry
[src]
impl Codec for CertificateEntry
[src]fn read(r: &mut Reader<'_>) -> Option<CertificateEntry>
[src]
fn read(r: &mut Reader<'_>) -> Option<CertificateEntry>
[src]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>
[src]Convenience function to get the results of encode()
.