Enum rustls::internal::msgs::handshake::CertReqExtension [−][src]
pub enum CertReqExtension {
SignatureAlgorithms(SupportedSignatureSchemes),
AuthorityNames(DistinguishedNames),
Unknown(UnknownExtension),
}Variants
SignatureAlgorithms(SupportedSignatureSchemes)AuthorityNames(DistinguishedNames)Unknown(UnknownExtension)Methods
impl CertReqExtension[src]
impl CertReqExtensionpub fn get_type(&self) -> ExtensionType[src]
pub fn get_type(&self) -> ExtensionTypeTrait Implementations
impl Debug for CertReqExtension[src]
impl Debug for CertReqExtensionfn 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 CertReqExtension[src]
impl Codec for CertReqExtensionfn 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<CertReqExtension>[src]
fn read(r: &mut Reader) -> Option<CertReqExtension>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 CertReqExtension
impl Send for CertReqExtensionimpl Sync for CertReqExtension
impl Sync for CertReqExtension