Enum openssl::x509::extension::ExtensionType [] [src]

pub enum ExtensionType {
    KeyUsage,
    ExtKeyUsage,
    SubjectAltName,
    IssuerAltName,
    OtherNid(Nid),
    OtherStr(String),
}

Type-only version of the Extension enum.

See the Extension documentation for more information on the different variants.

Variants

KeyUsage
ExtKeyUsage
SubjectAltName
IssuerAltName
OtherNid
OtherStr

Methods

impl ExtensionType

fn get_nid(&self) -> Option<Nid>

fn get_name<'a>(&'a self) -> Option<&'a str>

Trait Implementations

Derived Implementations

impl Eq for ExtensionType

impl PartialEq for ExtensionType

fn eq(&self, __arg_0: &ExtensionType) -> bool

fn ne(&self, __arg_0: &ExtensionType) -> bool

impl Hash for ExtensionType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for ExtensionType

fn clone(&self) -> ExtensionType

fn clone_from(&mut self, source: &Self)