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

pub enum AltNameOption {
    Other,
    Email,
    DNS,
    Directory,
    URI,
    IPAddress,
    RegisteredID,
}

Variants

Other

The value is specified as OID;content. See man ASN1_generate_nconf for more information on the content syntax.

use openssl::x509::extension::Extension::*;
use openssl::x509::extension::AltNameOption::Other as OtherName;

generator.add_extension(SubjectAltName(vec![(OtherName,"2.999.3;ASN1:UTF8:some other name".to_owned())]));
Email
DNS
Directory
URI
IPAddress
RegisteredID

Trait Implementations

impl Display for AltNameOption

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

Derived Implementations

impl Copy for AltNameOption

impl Clone for AltNameOption

fn clone(&self) -> AltNameOption

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