Struct openssl::x509::GeneralName [−][src]
pub struct GeneralName<'a> { /* fields omitted */ }
An OpenSSL GENERAL_NAME
.
Methods
impl<'a> GeneralName<'a>
[src]
impl<'a> GeneralName<'a>
pub fn dnsname(&self) -> Option<&str>
[src]
pub fn dnsname(&self) -> Option<&str>
Returns the contents of this GeneralName
if it is a dNSName
.
pub fn ipaddress(&self) -> Option<&[u8]>
[src]
pub fn ipaddress(&self) -> Option<&[u8]>
Returns the contents of this GeneralName
if it is an iPAddress
.
Auto Trait Implementations
impl<'a> !Send for GeneralName<'a>
impl<'a> !Send for GeneralName<'a>
impl<'a> !Sync for GeneralName<'a>
impl<'a> !Sync for GeneralName<'a>