Pular para o conteúdo principal

CertificateValidationOptions

Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Class

public class CertificateValidationOptions

Hierarquia: object → CertificateValidationOptions

Construtores​

CertificateValidationOptions(ITrustArbitrator)​

public CertificateValidationOptions(ITrustArbitrator trustArbitrator)

Parâmetros

NomeTipoDescrição
trustArbitratorITrustArbitrator

Propriedades​

CertificateStore​

Certificate store to assist the chain loading

public ICertificateStore CertificateStore { get; set; }

Retorno

ICertificateStore


DateReference​

The dete reference for the validation. Date time now is the default.

public DateTimeOffset? DateReference { get; set; }

Retorno

DateTimeOffset?


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

bool


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

bool


TrustArbitrator​

public ITrustArbitrator TrustArbitrator { get; set; }

Retorno

ITrustArbitrator


ValidateIssuer​

public bool ValidateIssuer { get; set; }

Retorno

bool


ValidateIssuerSignature​

public bool ValidateIssuerSignature { get; set; }

Retorno

bool


ValidateRevocationStatus​

public bool ValidateRevocationStatus { get; set; }

Retorno

bool


ValidateRootTrust​

public bool ValidateRootTrust { get; set; }

Retorno

bool


ValidateValidity​

public bool ValidateValidity { get; set; }

Retorno

bool


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

ValidationContext


Métodos​

GetFailureLevel(ValidationItemTypes)​

public ValidationFailureLevels GetFailureLevel(ValidationItemTypes failureType)

Parâmetros

NomeTipoDescrição
failureTypeValidationItemTypes

Retorno

ValidationFailureLevels


SetFailureLevel(ValidationItemTypes, ValidationFailureLevels)​

public void SetFailureLevel(ValidationItemTypes failureType, ValidationFailureLevels level)

Parâmetros

NomeTipoDescrição
failureTypeValidationItemTypes
levelValidationFailureLevels

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

NomeTipoDescrição
gracePeriodTimeSpanGrace 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()

Ver em Markdown