Struct openssl::x509::GeneralName
[−]
[src]
pub struct GeneralName(_);
Methods from Deref<Target=GeneralNameRef>
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 OpenSslType for GeneralName
[src]
type CType = GENERAL_NAME
The raw C type.
type Ref = GeneralNameRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut GENERAL_NAME) -> GeneralName
Constructs an instance of this type from its raw type.
impl Drop for GeneralName
[src]
impl Deref for GeneralName
[src]
type Target = GeneralNameRef
The resulting type after dereferencing
fn deref(&self) -> &GeneralNameRef
The method called to dereference a value
impl DerefMut for GeneralName
[src]
fn deref_mut(&mut self) -> &mut GeneralNameRef
The method called to mutably dereference a value
impl Stackable for GeneralName
[src]
type StackType = stack_st_GENERAL_NAME
The C stack type for this element. Read more