Enum openssl::x509::extension::AltNameOption
[−]
[src]
pub enum AltNameOption {
Other,
Email,
DNS,
Directory,
URI,
IPAddress,
RegisteredID,
}Variants
OtherThe 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())]));
EmailDNSDirectoryURIIPAddressRegisteredIDTrait Implementations
impl Clone for AltNameOption[src]
fn clone(&self) -> AltNameOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more