pub enum CertReqExtension {
SignatureAlgorithms(SupportedSignatureSchemes),
AuthorityNames(DistinguishedNames),
Unknown(UnknownExtension),
}
Variants§
SignatureAlgorithms(SupportedSignatureSchemes)
AuthorityNames(DistinguishedNames)
Unknown(UnknownExtension)
Implementations§
source§impl CertReqExtension
impl CertReqExtension
pub fn get_type(&self) -> ExtensionType
Trait Implementations§
source§impl Clone for CertReqExtension
impl Clone for CertReqExtension
source§fn clone(&self) -> CertReqExtension
fn clone(&self) -> CertReqExtension
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Codec for CertReqExtension
impl Codec for CertReqExtension
source§fn read(r: &mut Reader<'_>) -> Option<Self>
fn read(r: &mut Reader<'_>) -> Option<Self>
Decode yourself by fiddling with the
Reader
.
Return Some if it worked, None if not.source§fn get_encoding(&self) -> Vec<u8, Global> ⓘ
fn get_encoding(&self) -> Vec<u8, Global> ⓘ
Convenience function to get the results of
encode()
.source§fn read_bytes(bytes: &[u8]) -> Option<Self>
fn read_bytes(bytes: &[u8]) -> Option<Self>
Read one of these from the front of
bytes
and
return it.Auto Trait Implementations§
impl RefUnwindSafe for CertReqExtension
impl Send for CertReqExtension
impl Sync for CertReqExtension
impl Unpin for CertReqExtension
impl UnwindSafe for CertReqExtension
Blanket Implementations§
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.