Struct openssl::x509::X509Name
[−]
[src]
pub struct X509Name(_);
Methods
impl X509Name
[src]
fn load_client_ca_file<P: AsRef<Path>>(file: P)
-> Result<Stack<X509Name>, ErrorStack>
-> Result<Stack<X509Name>, ErrorStack>
Loads subject names from a file containing PEM-formatted certificates.
This is commonly used in conjunction with SslContextBuilder::set_client_ca_list
.
Methods from Deref<Target=X509NameRef>
fn entries_by_nid<'a>(&'a self, nid: Nid) -> X509NameEntries<'a>
Trait Implementations
impl OpenSslType for X509Name
[src]
type CType = X509_NAME
The raw C type.
type Ref = X509NameRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut X509_NAME) -> X509Name
Constructs an instance of this type from its raw type.
impl Drop for X509Name
[src]
impl Deref for X509Name
[src]
type Target = X509NameRef
The resulting type after dereferencing
fn deref(&self) -> &X509NameRef
The method called to dereference a value
impl DerefMut for X509Name
[src]
fn deref_mut(&mut self) -> &mut X509NameRef
The method called to mutably dereference a value
impl Stackable for X509Name
[src]
type StackType = stack_st_X509_NAME
The C stack type for this element. Read more