Struct openssl::x509::extension::SubjectAlternativeName [−][src]
pub struct SubjectAlternativeName { /* fields omitted */ }An extension that allows additional identities to be bound to the subject of the certificate.
Methods
impl SubjectAlternativeName[src]
impl SubjectAlternativeNamepub fn new() -> SubjectAlternativeName[src]
pub fn new() -> SubjectAlternativeNameConstruct a new SubjectAlternativeName extension.
pub fn critical(&mut self) -> &mut SubjectAlternativeName[src]
pub fn critical(&mut self) -> &mut SubjectAlternativeNameSets the critical flag to true. The extension will be critical.
pub fn email(&mut self, email: &str) -> &mut SubjectAlternativeName[src]
pub fn email(&mut self, email: &str) -> &mut SubjectAlternativeNameSets the email flag.
pub fn uri(&mut self, uri: &str) -> &mut SubjectAlternativeName[src]
pub fn uri(&mut self, uri: &str) -> &mut SubjectAlternativeNameSets the uri flag.
pub fn dns(&mut self, dns: &str) -> &mut SubjectAlternativeName[src]
pub fn dns(&mut self, dns: &str) -> &mut SubjectAlternativeNameSets the dns flag.
pub fn rid(&mut self, rid: &str) -> &mut SubjectAlternativeName[src]
pub fn rid(&mut self, rid: &str) -> &mut SubjectAlternativeNameSets the rid flag.
pub fn ip(&mut self, ip: &str) -> &mut SubjectAlternativeName[src]
pub fn ip(&mut self, ip: &str) -> &mut SubjectAlternativeNameSets the ip flag.
pub fn dir_name(&mut self, dir_name: &str) -> &mut SubjectAlternativeName[src]
pub fn dir_name(&mut self, dir_name: &str) -> &mut SubjectAlternativeNameSets the dirName flag.
pub fn other_name(&mut self, other_name: &str) -> &mut SubjectAlternativeName[src]
pub fn other_name(&mut self, other_name: &str) -> &mut SubjectAlternativeNameSets the otherName flag.
pub fn build(&self, ctx: &X509v3Context) -> Result<X509Extension, ErrorStack>[src]
pub fn build(&self, ctx: &X509v3Context) -> Result<X509Extension, ErrorStack>Return a SubjectAlternativeName extension as an X509Extension.
Auto Trait Implementations
impl Send for SubjectAlternativeName
impl Send for SubjectAlternativeNameimpl Sync for SubjectAlternativeName
impl Sync for SubjectAlternativeName