Struct openssl::x509::GeneralNameRef  
                   
                       [−]
                   
               [src]
pub struct GeneralNameRef(_);
Methods
impl GeneralNameRef[src]
fn dnsname(&self) -> Option<&str>
Returns the contents of this GeneralName if it is a dNSName.
fn ipaddress(&self) -> Option<&[u8]>
Returns the contents of this GeneralName if it is an iPAddress.
Trait Implementations
impl OpenSslTypeRef for GeneralNameRef[src]
type CType = GENERAL_NAME
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.