Struct openssl::x509::X509Name [−][src]
pub struct X509Name(_);
Expand description
The names of an X509
certificate.
Implementations
Returns a new builder.
Loads subject names from a file containing PEM-formatted certificates.
This is commonly used in conjunction with SslContextBuilder::set_client_ca_list
.
Deserializes a DER-encoded X509 name structure.
This corresponds to d2i_X509_NAME
.
Methods from Deref<Target = X509NameRef>
pub fn entries_by_nid(&self, nid: Nid) -> X509NameEntries<'_>ⓘNotable traits for X509NameEntries<'a>impl<'a> Iterator for X509NameEntries<'a> type Item = &'a X509NameEntryRef;
pub fn entries_by_nid(&self, nid: Nid) -> X509NameEntries<'_>ⓘNotable traits for X509NameEntries<'a>impl<'a> Iterator for X509NameEntries<'a> type Item = &'a X509NameEntryRef;
impl<'a> Iterator for X509NameEntries<'a> type Item = &'a X509NameEntryRef;
Returns the name entries by the nid.
pub fn entries(&self) -> X509NameEntries<'_>ⓘNotable traits for X509NameEntries<'a>impl<'a> Iterator for X509NameEntries<'a> type Item = &'a X509NameEntryRef;
pub fn entries(&self) -> X509NameEntries<'_>ⓘNotable traits for X509NameEntries<'a>impl<'a> Iterator for X509NameEntries<'a> type Item = &'a X509NameEntryRef;
impl<'a> Iterator for X509NameEntries<'a> type Item = &'a X509NameEntryRef;
Returns an iterator over all X509NameEntry
values
Serializes the certificate into a DER-encoded X509 name structure.
This corresponds to i2d_X509_NAME
.
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = X509NameRef
type Target = X509NameRef
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
type Ref = X509NameRef
type Ref = X509NameRef
The type representing a reference to this type.
Constructs an instance of this type from its raw type.
type StackType = stack_st_X509_NAME
type StackType = stack_st_X509_NAME
The C stack type for this element. Read more