Struct x509_parser::cri_attributes::X509CriAttribute
source · pub struct X509CriAttribute<'a> {
pub oid: Oid<'a>,
pub value: &'a [u8],
/* private fields */
}
Expand description
Attributes for Certification Request
Fields§
§oid: Oid<'a>
§value: &'a [u8]
Implementations§
source§impl<'a> X509CriAttribute<'a>
impl<'a> X509CriAttribute<'a>
sourcepub fn parsed_attribute(&self) -> &ParsedCriAttribute<'a>
pub fn parsed_attribute(&self) -> &ParsedCriAttribute<'a>
Return the attribute type or UnsupportedAttribute
if the attribute is unknown.
Trait Implementations§
source§impl<'a> Clone for X509CriAttribute<'a>
impl<'a> Clone for X509CriAttribute<'a>
source§fn clone(&self) -> X509CriAttribute<'a>
fn clone(&self) -> X509CriAttribute<'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 X509CriAttribute<'a>
impl<'a> Debug for X509CriAttribute<'a>
source§impl<'a> FromDer<'a, X509Error> for X509CriAttribute<'a>
impl<'a> FromDer<'a, X509Error> for X509CriAttribute<'a>
source§fn from_der(i: &'a [u8]) -> X509Result<'_, X509CriAttribute<'_>>
fn from_der(i: &'a [u8]) -> X509Result<'_, X509CriAttribute<'_>>
Attempt to parse input bytes into a DER object (enforcing constraints)
source§impl<'a> PartialEq for X509CriAttribute<'a>
impl<'a> PartialEq for X509CriAttribute<'a>
impl<'a> StructuralPartialEq for X509CriAttribute<'a>
Auto Trait Implementations§
impl<'a> Freeze for X509CriAttribute<'a>
impl<'a> RefUnwindSafe for X509CriAttribute<'a>
impl<'a> Send for X509CriAttribute<'a>
impl<'a> Sync for X509CriAttribute<'a>
impl<'a> Unpin for X509CriAttribute<'a>
impl<'a> UnwindSafe for X509CriAttribute<'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
)