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

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

Variants

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())]));

Trait Implementations

impl Clone for AltNameOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AltNameOption
[src]

impl Display for AltNameOption
[src]

Formats the value using the given formatter.