pub enum DistributionPointName {
FullName(GeneralNames),
NameRelativeToCRLIssuer(RelativeDistinguishedName),
}
Expand description
DistributionPointName as defined in RFC 5280 Section 4.2.1.13.
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RelativeDistinguishedName
}
Variants§
FullName(GeneralNames)
NameRelativeToCRLIssuer(RelativeDistinguishedName)
Trait Implementations§
source§impl<'__der_lifetime> Choice<'__der_lifetime> for DistributionPointName
impl<'__der_lifetime> Choice<'__der_lifetime> for DistributionPointName
source§impl Clone for DistributionPointName
impl Clone for DistributionPointName
source§fn clone(&self) -> DistributionPointName
fn clone(&self) -> DistributionPointName
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 DistributionPointName
impl Debug for DistributionPointName
source§impl<'__der_lifetime> Decode<'__der_lifetime> for DistributionPointName
impl<'__der_lifetime> Decode<'__der_lifetime> for DistributionPointName
source§impl EncodeValue for DistributionPointName
impl EncodeValue for DistributionPointName
source§impl PartialEq for DistributionPointName
impl PartialEq for DistributionPointName
source§fn eq(&self, other: &DistributionPointName) -> bool
fn eq(&self, other: &DistributionPointName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Tagged for DistributionPointName
impl Tagged for DistributionPointName
source§impl ValueOrd for DistributionPointName
impl ValueOrd for DistributionPointName
impl Eq for DistributionPointName
impl StructuralEq for DistributionPointName
impl StructuralPartialEq for DistributionPointName
Auto Trait Implementations§
impl RefUnwindSafe for DistributionPointName
impl Send for DistributionPointName
impl Sync for DistributionPointName
impl Unpin for DistributionPointName
impl UnwindSafe for DistributionPointName
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> 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.