Struct x509_parser::extensions::AuthorityInfoAccess
source · pub struct AuthorityInfoAccess<'a> {
pub accessdescs: Vec<AccessDescription<'a>>,
}
Fields§
§accessdescs: Vec<AccessDescription<'a>>
Implementations§
source§impl<'a> AuthorityInfoAccess<'a>
impl<'a> AuthorityInfoAccess<'a>
sourcepub fn iter(&self) -> impl Iterator<Item = &AccessDescription<'a>>
pub fn iter(&self) -> impl Iterator<Item = &AccessDescription<'a>>
Returns an iterator over the Access Descriptors
sourcepub fn as_hashmap(&self) -> HashMap<Oid<'a>, Vec<&GeneralName<'a>>>
pub fn as_hashmap(&self) -> HashMap<Oid<'a>, Vec<&GeneralName<'a>>>
Returns a HashMap
mapping Oid
to the list of references to GeneralNames
If several names match the same Oid
, they are merged in the same entry.
sourcepub fn into_hashmap(self) -> HashMap<Oid<'a>, Vec<GeneralName<'a>>>
pub fn into_hashmap(self) -> HashMap<Oid<'a>, Vec<GeneralName<'a>>>
Returns a HashMap
mapping Oid
to the list of GeneralNames
(consuming the input)
If several names match the same Oid
, they are merged in the same entry.
Trait Implementations§
source§impl<'a> Clone for AuthorityInfoAccess<'a>
impl<'a> Clone for AuthorityInfoAccess<'a>
source§fn clone(&self) -> AuthorityInfoAccess<'a>
fn clone(&self) -> AuthorityInfoAccess<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for AuthorityInfoAccess<'a>
impl<'a> Debug for AuthorityInfoAccess<'a>
source§impl<'a> FromDer<'a, X509Error> for AuthorityInfoAccess<'a>
impl<'a> FromDer<'a, X509Error> for AuthorityInfoAccess<'a>
source§fn from_der(i: &'a [u8]) -> X509Result<'a, Self>
fn from_der(i: &'a [u8]) -> X509Result<'a, Self>
Attempt to parse input bytes into a DER object (enforcing constraints)
source§impl<'a> PartialEq for AuthorityInfoAccess<'a>
impl<'a> PartialEq for AuthorityInfoAccess<'a>
impl<'a> StructuralPartialEq for AuthorityInfoAccess<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthorityInfoAccess<'a>
impl<'a> RefUnwindSafe for AuthorityInfoAccess<'a>
impl<'a> Send for AuthorityInfoAccess<'a>
impl<'a> Sync for AuthorityInfoAccess<'a>
impl<'a> Unpin for AuthorityInfoAccess<'a>
impl<'a> UnwindSafe for AuthorityInfoAccess<'a>
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)