pub struct SubjectInfoAccessSyntax(pub Vec<AccessDescription>);Expand description
SubjectInfoAccessSyntax as defined in RFC 5280 Section 4.2.2.2.
SubjectInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescriptionTuple Fields§
§0: Vec<AccessDescription>Trait Implementations§
Source§impl<'a> AsMut<Vec<AccessDescription>> for SubjectInfoAccessSyntax
impl<'a> AsMut<Vec<AccessDescription>> for SubjectInfoAccessSyntax
Source§fn as_mut(&mut self) -> &mut Vec<AccessDescription>
fn as_mut(&mut self) -> &mut Vec<AccessDescription>
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<Vec<AccessDescription>> for SubjectInfoAccessSyntax
impl<'a> AsRef<Vec<AccessDescription>> for SubjectInfoAccessSyntax
Source§fn as_ref(&self) -> &Vec<AccessDescription>
fn as_ref(&self) -> &Vec<AccessDescription>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for SubjectInfoAccessSyntax
impl AssociatedOid for SubjectInfoAccessSyntax
Source§const OID: ObjectIdentifier = ID_PE_SUBJECT_INFO_ACCESS
const OID: ObjectIdentifier = ID_PE_SUBJECT_INFO_ACCESS
The OID associated with this type.
Source§impl Clone for SubjectInfoAccessSyntax
impl Clone for SubjectInfoAccessSyntax
Source§impl Debug for SubjectInfoAccessSyntax
impl Debug for SubjectInfoAccessSyntax
Source§impl<'a> DecodeValue<'a> for SubjectInfoAccessSyntax
impl<'a> DecodeValue<'a> for SubjectInfoAccessSyntax
Source§impl Default for SubjectInfoAccessSyntax
impl Default for SubjectInfoAccessSyntax
Source§impl<'a> EncodeValue for SubjectInfoAccessSyntax
impl<'a> EncodeValue for SubjectInfoAccessSyntax
impl Eq for SubjectInfoAccessSyntax
Source§impl<'a> FixedTag for SubjectInfoAccessSyntax
impl<'a> FixedTag for SubjectInfoAccessSyntax
Source§impl<'a> From<SubjectInfoAccessSyntax> for Vec<AccessDescription>
impl<'a> From<SubjectInfoAccessSyntax> for Vec<AccessDescription>
Source§fn from(value: SubjectInfoAccessSyntax) -> Self
fn from(value: SubjectInfoAccessSyntax) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Vec<AccessDescription>> for SubjectInfoAccessSyntax
impl<'a> From<Vec<AccessDescription>> for SubjectInfoAccessSyntax
Source§fn from(value: Vec<AccessDescription>) -> Self
fn from(value: Vec<AccessDescription>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SubjectInfoAccessSyntax
impl PartialEq for SubjectInfoAccessSyntax
impl StructuralPartialEq for SubjectInfoAccessSyntax
Auto Trait Implementations§
impl Freeze for SubjectInfoAccessSyntax
impl RefUnwindSafe for SubjectInfoAccessSyntax
impl Send for SubjectInfoAccessSyntax
impl Sync for SubjectInfoAccessSyntax
impl Unpin for SubjectInfoAccessSyntax
impl UnsafeUnpin for SubjectInfoAccessSyntax
impl UnwindSafe for SubjectInfoAccessSyntax
Blanket Implementations§
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§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
Source§type Error = <T as DecodeValue<'a>>::Error
type Error = <T as DecodeValue<'a>>::Error
Type returned in the event of a decoding error.
Source§fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
Attempt to decode this TLV message using the provided decoder. Read more
impl<T> DecodeOwned for Twhere
T: for<'a> Decode<'a>,
Source§impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
Source§fn oid(&self) -> ObjectIdentifier
fn oid(&self) -> ObjectIdentifier
Get the OID associated with this value.
Source§impl<T> Encode for T
impl<T> Encode for T
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this TLV object in bytes when encoded as ASN.1 DER. Read more
Source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this TLV object to the provided byte slice, returning a sub-slice
containing the encoded message. Read more
Source§impl<T> IsConstructed for T
impl<T> IsConstructed for T
Source§const CONSTRUCTED: bool
const CONSTRUCTED: bool
ASN.1 constructed bit