Class CertificateValidationOptions
Inheritance
CertificateValidationOptions
Assembly: Lacuna.Pki.dll
Syntax
public class CertificateValidationOptions
Constructors
CertificateValidationOptions(ITrustArbitrator)
Declaration
public CertificateValidationOptions(ITrustArbitrator trustArbitrator)
Parameters
Properties
CertificateStore
Certificate store to assist the chain loading
Declaration
public ICertificateStore CertificateStore { get; set; }
Property Value
DateReference
The dete reference for the validation. Date time now is the default.
Declaration
public DateTimeOffset? DateReference { get; set; }
Property Value
PrioritizeOcsp
Denotes if it is to prioritize the revocation status verification by OCSP over CRL.
For an SDK global effect, see PkiConfig.PrioritizeOcsp property.
Declaration
public bool PrioritizeOcsp { get; set; }
Property Value
QuickValidation
Denotes if it is to quick validate the certificate. Quick validation will ignore any revocation unknownness errors and set it as warnings.
Declaration
public bool QuickValidation { get; set; }
Property Value
TrustArbitrator
Declaration
public ITrustArbitrator TrustArbitrator { get; set; }
Property Value
ValidateIssuer
Declaration
public bool ValidateIssuer { get; set; }
Property Value
ValidateIssuerSignature
Declaration
public bool ValidateIssuerSignature { get; set; }
Property Value
ValidateRevocationStatus
Declaration
public bool ValidateRevocationStatus { get; set; }
Property Value
ValidateRootTrust
Declaration
public bool ValidateRootTrust { get; set; }
Property Value
ValidateValidity
Declaration
public bool ValidateValidity { get; set; }
Property Value
ValidationContext
A validation context object to be strictly used in certificate validation.
If set, the certificate validation will be performed using the ValidationContext's artifacts alone
Declaration
public ValidationContext ValidationContext { get; set; }
Property Value
Methods
GetFailureLevel(ValidationItemTypes)
Declaration
public ValidationFailureLevels GetFailureLevel(ValidationItemTypes failureType)
Parameters
Returns
SetFailureLevel(ValidationItemTypes, ValidationFailureLevels)
Declaration
public void SetFailureLevel(ValidationItemTypes failureType, ValidationFailureLevels level)
Parameters
SetStaticGracePeriod(TimeSpan)
The time period that permits the certificate revocation information to propagate through the revocation process to relying parties
Declaration
public void SetStaticGracePeriod(TimeSpan gracePeriod)
Parameters
Type |
Name |
Description |
TimeSpan |
gracePeriod |
Grace period timespan
|