CertificateStatus object
[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the X509ChainStatus Structure in the System.Security.Cryptography.X509Certificates namespace.]
The CertificateStatus object contains information about how to construct a certificate trust chain.
Members
The CertificateStatus object has these types of members:
Methods
The CertificateStatus object has these methods.
Method | Description |
---|---|
ApplicationPolicies | Returns an OIDs collection that represents the application policy OIDs. |
CertificatePolicies | Returns an OIDs collection that represents the certificate policy OIDs used during chain building. |
EKU | Returns the EKU object used to set the EKU elements to be checked in establishing a certificate's validity status. |
Properties
The CertificateStatus object has these properties.
Property | Access type | Description |
---|---|---|
Certificates |
Read/write |
Sets or retrieves the collection of certificates that can be used to build the certificate chain. CAPICOM 2.0.0.3 and earlier: The Certificates property is not supported. |
CheckFlag |
Read/write |
Validity check flag. Values can be joined by using a logical OR operator. The default check flag is CAPICOM_CHECK_ONLINE_ALL. |
Result |
Read-only |
Indicates whether the certificate is valid. The certificate's validity is checked using the current setting of the CheckFlag property and the policy settings of the certificate. This is the default property. |
UrlRetrievalTimeout |
Read/write |
Sets or retrieves the length of time before a URL is determined to be unreachable. |
VerificationTime |
Read/write |
Sets or retrieves the time that the certificate was verified. |
Remarks
The CertificateStatus object cannot be created.
The CertificateStatus object is returned by the Certificate.IsValid method.
Requirements
Requirement | Value |
---|---|
End of client support |
Windows Vista |
End of server support |
Windows Server 2008 |
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|
See also