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