pub struct SubjectDirectoryAttributes(pub Vec<Attribute>);Expand description
SubjectDirectoryAttributes as defined in RFC 5280 Section 4.2.1.8.
SubjectDirectoryAttributes ::= SEQUENCE SIZE (1..MAX) OF AttributeSetTuple Fields§
§0: Vec<Attribute>Trait Implementations§
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§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§impl<'a> EncodeValue for SubjectDirectoryAttributes
impl<'a> EncodeValue for SubjectDirectoryAttributes
impl Eq for SubjectDirectoryAttributes
Source§impl<'a> FixedTag for SubjectDirectoryAttributes
impl<'a> FixedTag for SubjectDirectoryAttributes
Source§impl<'a> From<SubjectDirectoryAttributes> for Vec<Attribute>
impl<'a> From<SubjectDirectoryAttributes> for Vec<Attribute>
Source§fn from(value: SubjectDirectoryAttributes) -> Self
fn from(value: SubjectDirectoryAttributes) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SubjectDirectoryAttributes
Auto Trait Implementations§
impl Freeze for SubjectDirectoryAttributes
impl RefUnwindSafe for SubjectDirectoryAttributes
impl Send for SubjectDirectoryAttributes
impl Sync for SubjectDirectoryAttributes
impl Unpin for SubjectDirectoryAttributes
impl UnsafeUnpin 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<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