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