pub struct IssuingDistributionPoint {
pub distribution_point: Option<DistributionPointName>,
pub only_contains_user_certs: bool,
pub only_contains_ca_certs: bool,
pub only_some_reasons: Option<ReasonFlags>,
pub indirect_crl: bool,
pub only_contains_attribute_certs: bool,
}
Expand description
IssuingDistributionPoint as defined in RFC 5280 Section 5.2.5.
IssuingDistributionPoint ::= SEQUENCE {
distributionPoint [0] DistributionPointName OPTIONAL,
onlyContainsUserCerts [1] BOOLEAN DEFAULT FALSE,
onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE,
onlySomeReasons [3] ReasonFlags OPTIONAL,
indirectCRL [4] BOOLEAN DEFAULT FALSE,
onlyContainsAttributeCerts [5] BOOLEAN DEFAULT FALSE
-- at most one of onlyContainsUserCerts, onlyContainsCACerts,
-- and onlyContainsAttributeCerts may be set to TRUE.
}
Fields§
§distribution_point: Option<DistributionPointName>
§only_contains_user_certs: bool
§only_contains_ca_certs: bool
§only_some_reasons: Option<ReasonFlags>
§indirect_crl: bool
§only_contains_attribute_certs: bool
Trait Implementations§
source§impl AssociatedOid for IssuingDistributionPoint
impl AssociatedOid for IssuingDistributionPoint
source§const OID: ObjectIdentifier = ID_PE_SUBJECT_INFO_ACCESS
const OID: ObjectIdentifier = ID_PE_SUBJECT_INFO_ACCESS
The OID associated with this type.
source§impl Clone for IssuingDistributionPoint
impl Clone for IssuingDistributionPoint
source§fn clone(&self) -> IssuingDistributionPoint
fn clone(&self) -> IssuingDistributionPoint
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 IssuingDistributionPoint
impl Debug for IssuingDistributionPoint
source§impl<'__der_lifetime> DecodeValue<'__der_lifetime> for IssuingDistributionPoint
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for IssuingDistributionPoint
source§impl<'__der_lifetime> EncodeValue for IssuingDistributionPoint
impl<'__der_lifetime> EncodeValue for IssuingDistributionPoint
source§impl PartialEq for IssuingDistributionPoint
impl PartialEq for IssuingDistributionPoint
source§fn eq(&self, other: &IssuingDistributionPoint) -> bool
fn eq(&self, other: &IssuingDistributionPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IssuingDistributionPoint
impl<'__der_lifetime> Sequence<'__der_lifetime> for IssuingDistributionPoint
impl StructuralEq for IssuingDistributionPoint
impl StructuralPartialEq for IssuingDistributionPoint
Auto Trait Implementations§
impl RefUnwindSafe for IssuingDistributionPoint
impl Send for IssuingDistributionPoint
impl Sync for IssuingDistributionPoint
impl Unpin for IssuingDistributionPoint
impl UnwindSafe for IssuingDistributionPoint
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.