CertificateValidationOptions
OfficeIMO.Security
Caller-controlled platform X.509 chain and trust policy.
Inheritance
- object
- CertificateValidationOptions
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Accepted by parameters 2
Constructors
public CertificateValidationOptions() #Inherited Methods
Properties
public bool ValidateChain { get; set; } #Whether to build a platform certificate chain. Defaults to true.
public X509RevocationMode RevocationMode { get; set; } #Revocation mode. Defaults to NoCheck so validation never silently starts network retrieval.
public X509RevocationFlag RevocationFlag { get; set; } #Certificate portion covered by revocation checking.
public X509VerificationFlags VerificationFlags { get; set; } #Additional platform verification flags.
public bool DisableCertificateDownloads { get; set; } #Whether platform chain building must avoid downloading missing issuer certificates. Defaults to true.
public DateTime? VerificationTime { get; set; } #Optional verification time. The current system time is used when omitted.
public TimeSpan UrlRetrievalTimeout { get; set; } #Maximum platform URL retrieval duration when certificate downloads or revocation policy permit retrieval.
public X509Certificate2Collection ExtraCertificates { get; } #Additional intermediate, root, signer, TSA, or recipient certificates.
public Func<X509Certificate2, X509Chain, bool>? ChainEvaluator { get; set; } #Optional application trust callback. Return true to accept the built chain under caller policy.