Struct x509_cert::ext::pkix::SubjectInfoAccessSyntax
source · 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 AccessDescription
Tuple 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§fn clone(&self) -> SubjectInfoAccessSyntax
fn clone(&self) -> SubjectInfoAccessSyntax
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 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§fn default() -> SubjectInfoAccessSyntax
fn default() -> SubjectInfoAccessSyntax
Returns the “default value” for a type. Read more
source§impl<'a> EncodeValue for SubjectInfoAccessSyntax
impl<'a> EncodeValue 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
source§fn eq(&self, other: &SubjectInfoAccessSyntax) -> bool
fn eq(&self, other: &SubjectInfoAccessSyntax) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> ValueOrd for SubjectInfoAccessSyntax
impl<'a> ValueOrd for SubjectInfoAccessSyntax
impl Eq for SubjectInfoAccessSyntax
impl StructuralEq for SubjectInfoAccessSyntax
impl StructuralPartialEq for SubjectInfoAccessSyntax
Auto Trait Implementations§
impl RefUnwindSafe for SubjectInfoAccessSyntax
impl Send for SubjectInfoAccessSyntax
impl Sync for SubjectInfoAccessSyntax
impl Unpin 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<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
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 Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer
.
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 value to the provided byte slice, returning a sub-slice
containing the encoded message.