Enum x509_cert::anchor::CertPolicies
source · pub enum CertPolicies {
InhibitPolicyMapping,
RequireExplicitPolicy,
InhibitAnyPolicy,
}
Expand description
Certificate policies as defined in RFC 5280 Section 4.2.1.13.
CertPolicyFlags ::= BIT STRING {
inhibitPolicyMapping (0),
requireExplicitPolicy (1),
inhibitAnyPolicy (2)
}
Variants§
Trait Implementations§
source§impl<R: Into<FlagSet<CertPolicies>>> BitAnd<R> for CertPolicies
impl<R: Into<FlagSet<CertPolicies>>> BitAnd<R> for CertPolicies
source§impl<R: Into<FlagSet<CertPolicies>>> BitOr<R> for CertPolicies
impl<R: Into<FlagSet<CertPolicies>>> BitOr<R> for CertPolicies
source§impl<R: Into<FlagSet<CertPolicies>>> BitXor<R> for CertPolicies
impl<R: Into<FlagSet<CertPolicies>>> BitXor<R> for CertPolicies
source§impl Clone for CertPolicies
impl Clone for CertPolicies
source§fn clone(&self) -> CertPolicies
fn clone(&self) -> CertPolicies
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 CertPolicies
impl Debug for CertPolicies
source§impl From<CertPolicies> for FlagSet<CertPolicies>
impl From<CertPolicies> for FlagSet<CertPolicies>
source§fn from(value: CertPolicies) -> Self
fn from(value: CertPolicies) -> Self
Converts to this type from the input type.
source§impl Not for CertPolicies
impl Not for CertPolicies
source§impl PartialEq for CertPolicies
impl PartialEq for CertPolicies
source§fn eq(&self, other: &CertPolicies) -> bool
fn eq(&self, other: &CertPolicies) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<R: Into<FlagSet<CertPolicies>>> Rem<R> for CertPolicies
impl<R: Into<FlagSet<CertPolicies>>> Rem<R> for CertPolicies
source§impl<R: Into<FlagSet<CertPolicies>>> Sub<R> for CertPolicies
impl<R: Into<FlagSet<CertPolicies>>> Sub<R> for CertPolicies
impl Copy for CertPolicies
impl Eq for CertPolicies
impl StructuralEq for CertPolicies
impl StructuralPartialEq for CertPolicies
Auto Trait Implementations§
impl RefUnwindSafe for CertPolicies
impl Send for CertPolicies
impl Sync for CertPolicies
impl Unpin for CertPolicies
impl UnwindSafe for CertPolicies
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