pub struct CertificatePolicies(pub Vec<PolicyInformation>);Expand description
CertificatePolicies as defined in RFC 5280 Section 4.2.1.4.
CertificatePolicies ::= SEQUENCE SIZE (1..MAX) OF PolicyInformationTuple Fields§
§0: Vec<PolicyInformation>Trait Implementations§
Source§impl<'a> AsMut<Vec<PolicyInformation>> for CertificatePolicies
impl<'a> AsMut<Vec<PolicyInformation>> for CertificatePolicies
Source§fn as_mut(&mut self) -> &mut Vec<PolicyInformation>
fn as_mut(&mut self) -> &mut Vec<PolicyInformation>
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<Vec<PolicyInformation>> for CertificatePolicies
impl<'a> AsRef<Vec<PolicyInformation>> for CertificatePolicies
Source§fn as_ref(&self) -> &Vec<PolicyInformation>
fn as_ref(&self) -> &Vec<PolicyInformation>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for CertificatePolicies
impl AssociatedOid for CertificatePolicies
Source§const OID: ObjectIdentifier = ID_CE_CERTIFICATE_POLICIES
const OID: ObjectIdentifier = ID_CE_CERTIFICATE_POLICIES
The OID associated with this type.
Source§impl Clone for CertificatePolicies
impl Clone for CertificatePolicies
Source§impl Criticality for CertificatePolicies
impl Criticality for CertificatePolicies
Source§impl Debug for CertificatePolicies
impl Debug for CertificatePolicies
Source§impl<'a> DecodeValue<'a> for CertificatePolicies
impl<'a> DecodeValue<'a> for CertificatePolicies
Source§impl<'a> EncodeValue for CertificatePolicies
impl<'a> EncodeValue for CertificatePolicies
impl Eq for CertificatePolicies
Source§impl<'a> FixedTag for CertificatePolicies
impl<'a> FixedTag for CertificatePolicies
Source§impl<'a> From<CertificatePolicies> for Vec<PolicyInformation>
impl<'a> From<CertificatePolicies> for Vec<PolicyInformation>
Source§fn from(value: CertificatePolicies) -> Self
fn from(value: CertificatePolicies) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Vec<PolicyInformation>> for CertificatePolicies
impl<'a> From<Vec<PolicyInformation>> for CertificatePolicies
Source§fn from(value: Vec<PolicyInformation>) -> Self
fn from(value: Vec<PolicyInformation>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CertificatePolicies
impl PartialEq for CertificatePolicies
impl StructuralPartialEq for CertificatePolicies
Auto Trait Implementations§
impl Freeze for CertificatePolicies
impl RefUnwindSafe for CertificatePolicies
impl Send for CertificatePolicies
impl Sync for CertificatePolicies
impl Unpin for CertificatePolicies
impl UnsafeUnpin for CertificatePolicies
impl UnwindSafe for CertificatePolicies
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