Struct x509_cert::ext::pkix::SubjectDirectoryAttributes
source · pub struct SubjectDirectoryAttributes(pub Vec<AttributeTypeAndValue>);
Expand description
SubjectDirectoryAttributes as defined in RFC 5280 Section 4.2.1.8.
SubjectDirectoryAttributes ::= SEQUENCE SIZE (1..MAX) OF AttributeSet
Tuple Fields§
§0: Vec<AttributeTypeAndValue>
Trait Implementations§
source§impl<'a> AsMut<Vec<AttributeTypeAndValue>> for SubjectDirectoryAttributes
impl<'a> AsMut<Vec<AttributeTypeAndValue>> for SubjectDirectoryAttributes
source§fn as_mut(&mut self) -> &mut Vec<AttributeTypeAndValue>
fn as_mut(&mut self) -> &mut Vec<AttributeTypeAndValue>
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<'a> AsRef<Vec<AttributeTypeAndValue>> for SubjectDirectoryAttributes
impl<'a> AsRef<Vec<AttributeTypeAndValue>> for SubjectDirectoryAttributes
source§fn as_ref(&self) -> &Vec<AttributeTypeAndValue>
fn as_ref(&self) -> &Vec<AttributeTypeAndValue>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AssociatedOid for SubjectDirectoryAttributes
impl AssociatedOid for SubjectDirectoryAttributes
source§const OID: ObjectIdentifier = ID_CE_SUBJECT_DIRECTORY_ATTRIBUTES
const OID: ObjectIdentifier = ID_CE_SUBJECT_DIRECTORY_ATTRIBUTES
The OID associated with this type.
source§impl Clone for SubjectDirectoryAttributes
impl Clone for SubjectDirectoryAttributes
source§fn clone(&self) -> SubjectDirectoryAttributes
fn clone(&self) -> SubjectDirectoryAttributes
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 SubjectDirectoryAttributes
impl Debug for SubjectDirectoryAttributes
source§impl<'a> DecodeValue<'a> for SubjectDirectoryAttributes
impl<'a> DecodeValue<'a> for SubjectDirectoryAttributes
source§impl Default for SubjectDirectoryAttributes
impl Default for SubjectDirectoryAttributes
source§fn default() -> SubjectDirectoryAttributes
fn default() -> SubjectDirectoryAttributes
Returns the “default value” for a type. Read more
source§impl<'a> EncodeValue for SubjectDirectoryAttributes
impl<'a> EncodeValue for SubjectDirectoryAttributes
source§impl<'a> FixedTag for SubjectDirectoryAttributes
impl<'a> FixedTag for SubjectDirectoryAttributes
source§impl<'a> From<SubjectDirectoryAttributes> for Vec<AttributeTypeAndValue>
impl<'a> From<SubjectDirectoryAttributes> for Vec<AttributeTypeAndValue>
source§fn from(value: SubjectDirectoryAttributes) -> Self
fn from(value: SubjectDirectoryAttributes) -> Self
Converts to this type from the input type.
source§impl<'a> From<Vec<AttributeTypeAndValue>> for SubjectDirectoryAttributes
impl<'a> From<Vec<AttributeTypeAndValue>> for SubjectDirectoryAttributes
source§fn from(value: Vec<AttributeTypeAndValue>) -> Self
fn from(value: Vec<AttributeTypeAndValue>) -> Self
Converts to this type from the input type.
source§impl PartialEq for SubjectDirectoryAttributes
impl PartialEq for SubjectDirectoryAttributes
source§fn eq(&self, other: &SubjectDirectoryAttributes) -> bool
fn eq(&self, other: &SubjectDirectoryAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> ValueOrd for SubjectDirectoryAttributes
impl<'a> ValueOrd for SubjectDirectoryAttributes
impl Eq for SubjectDirectoryAttributes
impl StructuralEq for SubjectDirectoryAttributes
impl StructuralPartialEq for SubjectDirectoryAttributes
Auto Trait Implementations§
impl RefUnwindSafe for SubjectDirectoryAttributes
impl Send for SubjectDirectoryAttributes
impl Sync for SubjectDirectoryAttributes
impl Unpin for SubjectDirectoryAttributes
impl UnwindSafe for SubjectDirectoryAttributes
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.