Struct x509_cert::anchor::CertPathControls
source · pub struct CertPathControls {
pub ta_name: Name,
pub certificate: Option<Certificate>,
pub policy_set: Option<CertificatePolicies>,
pub policy_flags: Option<CertPolicyFlags>,
pub name_constr: Option<NameConstraints>,
pub path_len_constraint: Option<u32>,
}
Expand description
CertPathControls ::= SEQUENCE {
taName Name,
certificate [0] Certificate OPTIONAL,
policySet [1] CertificatePolicies OPTIONAL,
policyFlags [2] CertPolicyFlags OPTIONAL,
nameConstr [3] NameConstraints OPTIONAL,
pathLenConstraint [4] INTEGER (0..MAX) OPTIONAL
}
Fields§
§ta_name: Name
§certificate: Option<Certificate>
§policy_set: Option<CertificatePolicies>
§policy_flags: Option<CertPolicyFlags>
§name_constr: Option<NameConstraints>
§path_len_constraint: Option<u32>
Trait Implementations§
source§impl Clone for CertPathControls
impl Clone for CertPathControls
source§fn clone(&self) -> CertPathControls
fn clone(&self) -> CertPathControls
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 CertPathControls
impl Debug for CertPathControls
source§impl<'__der_lifetime> DecodeValue<'__der_lifetime> for CertPathControls
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for CertPathControls
source§impl<'__der_lifetime> EncodeValue for CertPathControls
impl<'__der_lifetime> EncodeValue for CertPathControls
source§impl PartialEq for CertPathControls
impl PartialEq for CertPathControls
source§fn eq(&self, other: &CertPathControls) -> bool
fn eq(&self, other: &CertPathControls) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CertPathControls
impl<'__der_lifetime> Sequence<'__der_lifetime> for CertPathControls
impl StructuralEq for CertPathControls
impl StructuralPartialEq for CertPathControls
Auto Trait Implementations§
impl RefUnwindSafe for CertPathControls
impl Send for CertPathControls
impl Sync for CertPathControls
impl Unpin for CertPathControls
impl UnwindSafe for CertPathControls
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> 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.