Struct openssl::x509::GeneralNameRef [−][src]
pub struct GeneralNameRef(_);
Reference to GeneralName.
Implementations
impl GeneralNameRef[src]
impl GeneralNameRef[src]pub fn email(&self) -> Option<&str>[src]
Returns the contents of this GeneralName if it is an rfc822Name.
pub fn dnsname(&self) -> Option<&str>[src]
Returns the contents of this GeneralName if it is a dNSName.
pub fn uri(&self) -> Option<&str>[src]
Returns the contents of this GeneralName if it is an uniformResourceIdentifier.
pub fn ipaddress(&self) -> Option<&[u8]>[src]
Returns the contents of this GeneralName if it is an iPAddress.
Trait Implementations
impl AsRef<GeneralNameRef> for GeneralName[src]
impl AsRef<GeneralNameRef> for GeneralName[src]fn as_ref(&self) -> &GeneralNameRef[src]
impl Borrow<GeneralNameRef> for GeneralName[src]
impl Borrow<GeneralNameRef> for GeneralName[src]fn borrow(&self) -> &GeneralNameRef[src]
impl ForeignTypeRef for GeneralNameRef[src]
impl ForeignTypeRef for GeneralNameRef[src]