Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​X509Certificates.​X509ChainPolicy
Assembly: System.Security.Cryptography
Inheritance: object → X509ChainPolicy
Represents the chain policy to be applied when building an X509 certificate chain. This class cannot be inherited.
Properties
public
OidCollection
ApplicationPolicy
Gets a collection of object identifiers (OIDs) specifying which application policies or enhanced key usages (EKUs) the certificate must support.
public
OidCollection
CertificatePolicy
Gets a collection of object identifiers (OIDs) specifying which certificate policies the certificate must support.
public
X509Certificate2Collection
CustomTrustStore
Represents a collection of certificates replacing the default certificate trust.
public
bool
DisableCertificateDownloads
Gets or sets a value that indicates whether the chain engine can use the Authority Information Access (AIA) extension to locate unknown issuer certificates.
public
X509Certificate2Collection
ExtraStore
Gets an object that represents an additional collection of certificates that can be searched by the chaining engine when validating a certificate chain.
public
X509RevocationFlag
RevocationFlag
Gets or sets values for X509 revocation flags.
public
X509RevocationMode
RevocationMode
Gets or sets values for X509 certificate revocation mode.
public
X509ChainTrustMode
TrustMode
The mode determining the root trust for building the certificate chain.
public
TimeSpan
UrlRetrievalTimeout
Gets or sets the maximum amount of time to be spent during online revocation verification or downloading the certificate revocation list (CRL). A value of <see cref="F:System.TimeSpan.Zero" /> means there are no limits.
public
X509VerificationFlags
VerificationFlags
Gets verification flags for the certificate.
public
DateTime
VerificationTime
Gets or sets the time for which the chain is to be validated.
public
bool
VerificationTimeIgnored
Gets or sets a value that indicates whether the chain validation should use <see cref="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.VerificationTime" /> or the current system time when building an X.509 certificate chain.
Methods
public
X509ChainPolicy
Clone​() Returns A new chain policy instance that has the same settings as this instance.
Creates a new chain policy instance that has the same settings as this instance.
public
void
Reset​()
Resets the <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainPolicy" /> members to their default values.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object