Class CertificateValidationOptions
Inheritance
CertificateValidationOptions
Assembly: Lacuna.Pki.dll
Syntax
public class CertificateValidationOptions
Constructors
|
Improve this Doc
View Source
CertificateValidationOptions(ITrustArbitrator)
Declaration
public CertificateValidationOptions(ITrustArbitrator trustArbitrator)
Parameters
Properties
|
Improve this Doc
View Source
CertificateStore
Certificate store to assist the chain loading
Declaration
public ICertificateStore CertificateStore { get; set; }
Property Value
|
Improve this Doc
View Source
DateReference
The dete reference for the validation. Date time now is the default.
Declaration
public DateTimeOffset? DateReference { get; set; }
Property Value
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
TrustArbitrator
Declaration
public ITrustArbitrator TrustArbitrator { get; set; }
Property Value
|
Improve this Doc
View Source
ValidateIssuer
Declaration
public bool ValidateIssuer { get; set; }
Property Value
|
Improve this Doc
View Source
ValidateIssuerSignature
Declaration
public bool ValidateIssuerSignature { get; set; }
Property Value
|
Improve this Doc
View Source
ValidateRevocationStatus
Declaration
public bool ValidateRevocationStatus { get; set; }
Property Value
|
Improve this Doc
View Source
ValidateRootTrust
Declaration
public bool ValidateRootTrust { get; set; }
Property Value
|
Improve this Doc
View Source
ValidateValidity
Declaration
public bool ValidateValidity { get; set; }
Property Value
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
GetFailureLevel(ValidationItemTypes)
Declaration
public ValidationFailureLevels GetFailureLevel(ValidationItemTypes failureType)
Parameters
Returns
|
Improve this Doc
View Source
SetFailureLevel(ValidationItemTypes, ValidationFailureLevels)
Declaration
public void SetFailureLevel(ValidationItemTypes failureType, ValidationFailureLevels level)
Parameters
|
Improve this Doc
View Source
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
|