[]Struct sspi::CertTrustInfoStatus

pub struct CertTrustInfoStatus { /* fields omitted */ }

Flags representing the info status codes used in CertTrustStatus.

MSDN

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

impl Clone for CertTrustInfoStatus

impl Copy for CertTrustInfoStatus

impl Eq for CertTrustInfoStatus

impl Ord for CertTrustInfoStatus

impl PartialEq<CertTrustInfoStatus> for CertTrustInfoStatus

impl PartialOrd<CertTrustInfoStatus> for CertTrustInfoStatus

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

impl FromIterator<CertTrustInfoStatus> for CertTrustInfoStatus

impl Octal for CertTrustInfoStatus

impl Binary for CertTrustInfoStatus

impl LowerHex for CertTrustInfoStatus

impl UpperHex for CertTrustInfoStatus

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self