Enum rustls::internal::msgs::handshake::CertReqExtension [−][src]
pub enum CertReqExtension { SignatureAlgorithms(SupportedSignatureSchemes), AuthorityNames(DistinguishedNames), Unknown(UnknownExtension), }
Variants
SignatureAlgorithms(SupportedSignatureSchemes)
AuthorityNames(DistinguishedNames)
Unknown(UnknownExtension)
Implementations
impl CertReqExtension
[src]
impl CertReqExtension
[src]pub fn get_type(&self) -> ExtensionType
[src]
Trait Implementations
impl Codec for CertReqExtension
[src]
impl Codec for CertReqExtension
[src]fn read(r: &mut Reader<'_>) -> Option<CertReqExtension>
[src]
fn read(r: &mut Reader<'_>) -> Option<CertReqExtension>
[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()
.