Struct openssl::x509::GeneralName [] [src]

pub struct GeneralName<'a> {
    // some fields omitted
}

An OpenSSL GENERAL_NAME.

Methods

impl<'a> GeneralName<'a>
[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.