[−]Struct sspi::CertTrustErrorStatus
Methods
impl CertTrustErrorStatus
pub const NO_ERROR: CertTrustErrorStatus
No error found for this certificate or chain.
pub const IS_NOT_TIME_VALID: CertTrustErrorStatus
This certificate or one of the certificates in the certificate chain is not time valid.
pub const IS_NOT_TIME_NESTED: CertTrustErrorStatus
pub const IS_REVOKED: CertTrustErrorStatus
Trust for this certificate or one of the certificates in the certificate chain has been revoked.
pub const IS_NOT_SIGNATURE_VALID: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain does not have a valid signature.
pub const IS_NOT_VALID_FOR_USAGE: CertTrustErrorStatus
The certificate or certificate chain is not valid for its proposed usage.
pub const IS_UNTRUSTED_ROOT: CertTrustErrorStatus
The certificate or certificate chain is based on an untrusted root.
pub const REVOCATION_STATUS_UNKNOWN: CertTrustErrorStatus
The revocation status of the certificate or one of the certificates in the certificate chain is unknown.
pub const IS_CYCLIC: CertTrustErrorStatus
One of the certificates in the chain was issued by a
certification authority
that the original certificate had certified.
pub const INVALID_EXTENSION: CertTrustErrorStatus
One of the certificates has an extension that is not valid.
pub const INVALID_POLICY_CONSTRAINTS: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain has a policy constraints extension, and one of the issued certificates has a disallowed policy mapping extension or does not have a required issuance policies extension.
pub const INVALID_BASIC_CONSTRAINTS: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain has a basic constraints extension, and either the certificate cannot be used to issue other certificates, or the chain path length has been exceeded.
pub const INVALID_NAME_CONSTRAINTS: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain has a name constraints extension that is not valid.
pub const HAS_NOT_SUPPORTED_NAME_CONSTRAINT: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain has a name constraints extension that contains unsupported fields. The minimum and maximum fields are not supported. Thus minimum must always be zero and maximum must always be absent. Only UPN is supported for an Other Name. The following alternative name choices are not supported:
- X400 Address
- EDI Party Name
- Registered Id
pub const HAS_NOT_DEFINED_NAME_CONSTRAINT: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain has a name constraints extension and a name constraint is missing for one of the name choices in the end certificate.
pub const HAS_NOT_PERMITTED_NAME_CONSTRAINT: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain has a name constraints extension, and there is not a permitted name constraint for one of the name choices in the end certificate.
pub const HAS_EXCLUDED_NAME_CONSTRAINT: CertTrustErrorStatus
The certificate or one of the certificates in the certificate chain has a name constraints extension, and one of the name choices in the end certificate is explicitly excluded.
pub const IS_PARTIAL_CHAIN: CertTrustErrorStatus
The certificate chain is not complete.
pub const CTL_IS_NOT_TIME_VALID: CertTrustErrorStatus
A certificate trust list (CTL) used to create this chain was not time valid.
pub const CTL_IS_NOT_SIGNATURE_VALID: CertTrustErrorStatus
A CTL used to create this chain did not have a valid signature.
pub const CTL_IS_NOT_VALID_FOR_USAGE: CertTrustErrorStatus
A CTL used to create this chain is not valid for this usage.
pub const IS_OFFLINE_REVOCATION: CertTrustErrorStatus
The revocation status of the certificate or one of the certificates in the certificate chain is either offline or stale.
pub const NO_ISSUANCE_CHAIN_POLICY: CertTrustErrorStatus
The end certificate does not have any resultant issuance policies, and one of the issuing certification authority certificates has a policy constraints extension requiring it.
pub const fn empty() -> CertTrustErrorStatus
Returns an empty set of flags
pub const fn all() -> CertTrustErrorStatus
Returns the set containing all flags.
pub const fn bits(&self) -> u32
Returns the raw value of the flags currently stored.
pub fn from_bits(bits: u32) -> Option<CertTrustErrorStatus>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: u32) -> CertTrustErrorStatus
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const fn is_empty(&self) -> bool
Returns true
if no flags are currently stored.
pub const fn is_all(&self) -> bool
Returns true
if all flags are currently set.
pub const fn intersects(&self, other: CertTrustErrorStatus) -> bool
Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: CertTrustErrorStatus) -> bool
Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: CertTrustErrorStatus)
Inserts the specified flags in-place.
pub fn remove(&mut self, other: CertTrustErrorStatus)
Removes the specified flags in-place.
pub fn toggle(&mut self, other: CertTrustErrorStatus)
Toggles the specified flags in-place.
pub fn set(&mut self, other: CertTrustErrorStatus, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Extend<CertTrustErrorStatus> for CertTrustErrorStatus
fn extend<T: IntoIterator<Item = CertTrustErrorStatus>>(&mut self, iterator: T)
impl Clone for CertTrustErrorStatus
fn clone(&self) -> CertTrustErrorStatus
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CertTrustErrorStatus
impl Eq for CertTrustErrorStatus
impl Ord for CertTrustErrorStatus
fn cmp(&self, other: &CertTrustErrorStatus) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<CertTrustErrorStatus> for CertTrustErrorStatus
fn eq(&self, other: &CertTrustErrorStatus) -> bool
fn ne(&self, other: &CertTrustErrorStatus) -> bool
impl PartialOrd<CertTrustErrorStatus> for CertTrustErrorStatus
fn partial_cmp(&self, other: &CertTrustErrorStatus) -> Option<Ordering>
fn lt(&self, other: &CertTrustErrorStatus) -> bool
fn le(&self, other: &CertTrustErrorStatus) -> bool
fn gt(&self, other: &CertTrustErrorStatus) -> bool
fn ge(&self, other: &CertTrustErrorStatus) -> bool
impl Debug for CertTrustErrorStatus
impl Sub<CertTrustErrorStatus> for CertTrustErrorStatus
type Output = CertTrustErrorStatus
The resulting type after applying the -
operator.
fn sub(self, other: CertTrustErrorStatus) -> CertTrustErrorStatus
Returns the set difference of the two sets of flags.
impl SubAssign<CertTrustErrorStatus> for CertTrustErrorStatus
fn sub_assign(&mut self, other: CertTrustErrorStatus)
Disables all flags enabled in the set.
impl Not for CertTrustErrorStatus
type Output = CertTrustErrorStatus
The resulting type after applying the !
operator.
fn not(self) -> CertTrustErrorStatus
Returns the complement of this set of flags.
impl BitAnd<CertTrustErrorStatus> for CertTrustErrorStatus
type Output = CertTrustErrorStatus
The resulting type after applying the &
operator.
fn bitand(self, other: CertTrustErrorStatus) -> CertTrustErrorStatus
Returns the intersection between the two sets of flags.
impl BitOr<CertTrustErrorStatus> for CertTrustErrorStatus
type Output = CertTrustErrorStatus
The resulting type after applying the |
operator.
fn bitor(self, other: CertTrustErrorStatus) -> CertTrustErrorStatus
Returns the union of the two sets of flags.
impl BitXor<CertTrustErrorStatus> for CertTrustErrorStatus
type Output = CertTrustErrorStatus
The resulting type after applying the ^
operator.
fn bitxor(self, other: CertTrustErrorStatus) -> CertTrustErrorStatus
Returns the left flags, but with all the right flags toggled.
impl BitAndAssign<CertTrustErrorStatus> for CertTrustErrorStatus
fn bitand_assign(&mut self, other: CertTrustErrorStatus)
Disables all flags disabled in the set.
impl BitOrAssign<CertTrustErrorStatus> for CertTrustErrorStatus
fn bitor_assign(&mut self, other: CertTrustErrorStatus)
Adds the set of flags.
impl BitXorAssign<CertTrustErrorStatus> for CertTrustErrorStatus
fn bitxor_assign(&mut self, other: CertTrustErrorStatus)
Toggles the set of flags.
impl Hash for CertTrustErrorStatus
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl FromIterator<CertTrustErrorStatus> for CertTrustErrorStatus
fn from_iter<T: IntoIterator<Item = CertTrustErrorStatus>>(
iterator: T
) -> CertTrustErrorStatus
iterator: T
) -> CertTrustErrorStatus
impl Octal for CertTrustErrorStatus
impl Binary for CertTrustErrorStatus
impl LowerHex for CertTrustErrorStatus
impl UpperHex for CertTrustErrorStatus
Auto Trait Implementations
impl Send for CertTrustErrorStatus
impl Sync for CertTrustErrorStatus
impl Unpin for CertTrustErrorStatus
impl UnwindSafe for CertTrustErrorStatus
impl RefUnwindSafe for CertTrustErrorStatus
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self