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 Clone for AltNameOption
[src]
impl Clone for AltNameOption
fn clone(&self) -> AltNameOption
[src]
fn clone(&self) -> AltNameOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for AltNameOption
[src]
impl Copy for AltNameOption
impl Display for AltNameOption
[src]
impl Display for AltNameOption
Auto Trait Implementations
impl Send for AltNameOption
impl Send for AltNameOption
impl Sync for AltNameOption
impl Sync for AltNameOption