CertificateValidationOptions
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Class
public class CertificateValidationOptions
Hierarquia: object → CertificateValidationOptions
Construtores
CertificateValidationOptions(ITrustArbitrator)
public CertificateValidationOptions(ITrustArbitrator trustArbitrator)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
trustArbitrator | ITrustArbitrator |
Propriedades
CertificateStore
Certificate store to assist the chain loading
public ICertificateStore CertificateStore { get; set; }
Retorno
DateReference
The dete reference for the validation. Date time now is the default.
public DateTimeOffset? DateReference { get; set; }
Retorno
PrioritizeOcsp
Denotes if it is to prioritize the revocation status verification by OCSP over CRL. For an SDK global effect, see PkiConfig.PrioritizeOcsp property.
public bool PrioritizeOcsp { get; set; }
Retorno
QuickValidation
Denotes if it is to quick validate the certificate. Quick validation will ignore any revocation unknownness errors and set it as warnings.
public bool QuickValidation { get; set; }
Retorno
TrustArbitrator
public ITrustArbitrator TrustArbitrator { get; set; }
Retorno
ValidateIssuer
public bool ValidateIssuer { get; set; }
Retorno
ValidateIssuerSignature
public bool ValidateIssuerSignature { get; set; }
Retorno
ValidateRevocationStatus
public bool ValidateRevocationStatus { get; set; }
Retorno
ValidateRootTrust
public bool ValidateRootTrust { get; set; }
Retorno
ValidateValidity
public bool ValidateValidity { get; set; }
Retorno
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
public ValidationContext ValidationContext { get; set; }
Retorno
Métodos
GetFailureLevel(ValidationItemTypes)
public ValidationFailureLevels GetFailureLevel(ValidationItemTypes failureType)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
failureType | ValidationItemTypes |
Retorno
SetFailureLevel(ValidationItemTypes, ValidationFailureLevels)
public void SetFailureLevel(ValidationItemTypes failureType, ValidationFailureLevels level)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
failureType | ValidationItemTypes | |
level | ValidationFailureLevels |
SetStaticGracePeriod(TimeSpan)
The time period that permits the certificate revocation information to propagate through the revocation process to relying parties
public void SetStaticGracePeriod(TimeSpan gracePeriod)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
gracePeriod | TimeSpan | Grace period timespan |
Comentários
A grace period permits certificate revocation information to propagate through the revocation processes. This period could extend from the time an authorized entity requests certificate revocation to when the information is available for the relying party to use. In order to make sure that the certificate was not revoked at the time the signature was time-marked or time-stamped, verifiers should wait until the end of the grace period.
Membros herdados
ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()