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§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<'__der_lifetime> DecodeValue<'__der_lifetime> for DistributionPointName
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for DistributionPointName
Source§impl<'__der_lifetime> EncodeValue for DistributionPointName
impl<'__der_lifetime> EncodeValue for DistributionPointName
impl Eq for DistributionPointName
Source§impl<'__der_lifetime> IsConstructed for DistributionPointName
impl<'__der_lifetime> IsConstructed for DistributionPointName
Source§const CONSTRUCTED: bool = true
const CONSTRUCTED: bool = true
ASN.1 constructed bit
Source§impl PartialEq for DistributionPointName
impl PartialEq for DistributionPointName
impl StructuralPartialEq for DistributionPointName
Source§impl<'__der_lifetime> Tagged for DistributionPointName
impl<'__der_lifetime> Tagged for DistributionPointName
Auto Trait Implementations§
impl Freeze for DistributionPointName
impl RefUnwindSafe for DistributionPointName
impl Send for DistributionPointName
impl Sync for DistributionPointName
impl Unpin for DistributionPointName
impl UnsafeUnpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'a> Decode<'a>,
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