[−]Struct sspi::CertTrustInfoStatus
Methods
impl CertTrustInfoStatus
pub const HAS_EXACT_MATCH_ISSUER: CertTrustInfoStatus
An exact match issuer certificate has been found for this certificate. This status code applies to certificates only.
pub const HAS_KEY_MATCH_ISSUER: CertTrustInfoStatus
A key match issuer certificate has been found for this certificate. This status code applies to certificates only.
pub const HAS_NAME_MATCH_ISSUER: CertTrustInfoStatus
A name match issuer certificate has been found for this certificate. This status code applies to certificates only.
pub const IS_SELF_SIGNED: CertTrustInfoStatus
This certificate is self-signed. This status code applies to certificates only.
pub const AUTO_UPDATE_CA_REVOCATION: CertTrustInfoStatus
pub const AUTO_UPDATE_END_REVOCATION: CertTrustInfoStatus
pub const NO_OCSP_FAILOVER_TO_CRL: CertTrustInfoStatus
pub const IS_KEY_ROLLOVER: CertTrustInfoStatus
pub const HAS_PREFERRED_ISSUER: CertTrustInfoStatus
The certificate or chain has a preferred issuer. This status code applies to certificates and chains.
pub const HAS_ISSUANCE_CHAIN_POLICY: CertTrustInfoStatus
An issuance chain policy exists. This status code applies to certificates and chains.
pub const HAS_VALID_NAME_CONSTRAINTS: CertTrustInfoStatus
A valid name constraints for all namespaces, including UPN. This status code applies to certificates and chains.
pub const IS_PEER_TRUSTED: CertTrustInfoStatus
This certificate is peer trusted. This status code applies to certificates only.
pub const HAS_CRL_VALIDITY_EXTENDED: CertTrustInfoStatus
This certificate's certificate revocation list (CRL) validity has been extended. This status code applies to certificates only.
pub const IS_FROM_EXCLUSIVE_TRUST_STORE: CertTrustInfoStatus
pub const IS_CA_TRUSTED: CertTrustInfoStatus
pub const HAS_AUTO_UPDATE_WEAK_SIGNATURE: CertTrustInfoStatus
pub const SSL_HANDSHAKE_OCSP: CertTrustInfoStatus
pub const SSL_TIME_VALID_OCSP: CertTrustInfoStatus
pub const SSL_RECONNECT_OCSP: CertTrustInfoStatus
pub const IS_COMPLEX_CHAIN: CertTrustInfoStatus
pub const HAS_ALLOW_WEAK_SIGNATURE: CertTrustInfoStatus
pub const SSL_TIME_VALID: CertTrustInfoStatus
pub const NO_TIME_CHECK: CertTrustInfoStatus
pub const fn empty() -> CertTrustInfoStatus
Returns an empty set of flags
pub const fn all() -> CertTrustInfoStatus
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<CertTrustInfoStatus>
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) -> CertTrustInfoStatus
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: CertTrustInfoStatus) -> bool
Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: CertTrustInfoStatus) -> bool
Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: CertTrustInfoStatus)
Inserts the specified flags in-place.
pub fn remove(&mut self, other: CertTrustInfoStatus)
Removes the specified flags in-place.
pub fn toggle(&mut self, other: CertTrustInfoStatus)
Toggles the specified flags in-place.
pub fn set(&mut self, other: CertTrustInfoStatus, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Extend<CertTrustInfoStatus> for CertTrustInfoStatus
fn extend<T: IntoIterator<Item = CertTrustInfoStatus>>(&mut self, iterator: T)
impl Clone for CertTrustInfoStatus
fn clone(&self) -> CertTrustInfoStatus
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CertTrustInfoStatus
impl Eq for CertTrustInfoStatus
impl Ord for CertTrustInfoStatus
fn cmp(&self, other: &CertTrustInfoStatus) -> 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<CertTrustInfoStatus> for CertTrustInfoStatus
fn eq(&self, other: &CertTrustInfoStatus) -> bool
fn ne(&self, other: &CertTrustInfoStatus) -> bool
impl PartialOrd<CertTrustInfoStatus> for CertTrustInfoStatus
fn partial_cmp(&self, other: &CertTrustInfoStatus) -> Option<Ordering>
fn lt(&self, other: &CertTrustInfoStatus) -> bool
fn le(&self, other: &CertTrustInfoStatus) -> bool
fn gt(&self, other: &CertTrustInfoStatus) -> bool
fn ge(&self, other: &CertTrustInfoStatus) -> bool
impl Debug for CertTrustInfoStatus
impl Sub<CertTrustInfoStatus> for CertTrustInfoStatus
type Output = CertTrustInfoStatus
The resulting type after applying the -
operator.
fn sub(self, other: CertTrustInfoStatus) -> CertTrustInfoStatus
Returns the set difference of the two sets of flags.
impl SubAssign<CertTrustInfoStatus> for CertTrustInfoStatus
fn sub_assign(&mut self, other: CertTrustInfoStatus)
Disables all flags enabled in the set.
impl Not for CertTrustInfoStatus
type Output = CertTrustInfoStatus
The resulting type after applying the !
operator.
fn not(self) -> CertTrustInfoStatus
Returns the complement of this set of flags.
impl BitAnd<CertTrustInfoStatus> for CertTrustInfoStatus
type Output = CertTrustInfoStatus
The resulting type after applying the &
operator.
fn bitand(self, other: CertTrustInfoStatus) -> CertTrustInfoStatus
Returns the intersection between the two sets of flags.
impl BitOr<CertTrustInfoStatus> for CertTrustInfoStatus
type Output = CertTrustInfoStatus
The resulting type after applying the |
operator.
fn bitor(self, other: CertTrustInfoStatus) -> CertTrustInfoStatus
Returns the union of the two sets of flags.
impl BitXor<CertTrustInfoStatus> for CertTrustInfoStatus
type Output = CertTrustInfoStatus
The resulting type after applying the ^
operator.
fn bitxor(self, other: CertTrustInfoStatus) -> CertTrustInfoStatus
Returns the left flags, but with all the right flags toggled.
impl BitAndAssign<CertTrustInfoStatus> for CertTrustInfoStatus
fn bitand_assign(&mut self, other: CertTrustInfoStatus)
Disables all flags disabled in the set.
impl BitOrAssign<CertTrustInfoStatus> for CertTrustInfoStatus
fn bitor_assign(&mut self, other: CertTrustInfoStatus)
Adds the set of flags.
impl BitXorAssign<CertTrustInfoStatus> for CertTrustInfoStatus
fn bitxor_assign(&mut self, other: CertTrustInfoStatus)
Toggles the set of flags.
impl Hash for CertTrustInfoStatus
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<CertTrustInfoStatus> for CertTrustInfoStatus
fn from_iter<T: IntoIterator<Item = CertTrustInfoStatus>>(
iterator: T
) -> CertTrustInfoStatus
iterator: T
) -> CertTrustInfoStatus
impl Octal for CertTrustInfoStatus
impl Binary for CertTrustInfoStatus
impl LowerHex for CertTrustInfoStatus
impl UpperHex for CertTrustInfoStatus
Auto Trait Implementations
impl Send for CertTrustInfoStatus
impl Sync for CertTrustInfoStatus
impl Unpin for CertTrustInfoStatus
impl UnwindSafe for CertTrustInfoStatus
impl RefUnwindSafe for CertTrustInfoStatus
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