Unit

ScBridge

 

type

 TScCertificateStatus = (

   csValid,

   csOtherError, csExpired,

   csInsecureSignature, csInvalidPolicies,

   csUnknownCriticalExtension,

   csCRLNotFound, csCRLIsNotValid, csCertificateIsRevoked,

   csInvalidBasicConstraints, csInvalidKeyUsage, csIssuerNotEqualSubject,

   csInvalidSubjectName, csUntrustedRoot, csInvalidSignature

 );

 TScCertificateStatusSet = set of TScCertificateStatus;

 

Description

The TScCertificateStatus enumeration represents detailed information for the status of the certificate validation.

 

ValueMeaning
csValidCertificate is valid.
csOtherErrorCertificate is invalid for obscure reasons.
csExpiredCertificate is expired.
csInsecureSignatureCertificate hash algorithm for signature is insecure (refer to TScCertificate.SignatureAlgorithm).
csInvalidPoliciesCertificate is invalid due to invalid policies (refer to TScCertPoliciesExtension).
csUnknownCriticalExtensionCertificate is invalid due to an unknown critical extension was found.
csCRLNotFoundCertificate is invalid due to the required CRL is not found in the storage (refer to TScCRL).
csCRLIsNotValidCertificate is invalid due to the required CRL is not valid (refer to TScCRL).
csCertificateIsRevokedCertificate is invalid due to it is revoked (refer to TScCRL).
csInvalidBasicConstraintsCertificate is invalid due to invalid basic constraints (refer to TScCertBasicConstraintsExtension).
csInvalidKeyUsageCertificate is invalid due to invalid key usage (refer to TScCertKeyUsageExtension).
csIssuerNotEqualSubjectCertificate issuer name is not equal to the parent certificate subject name.
csInvalidSubjectNameCertificate is invalid due to invalid subject name (refer to SubjectName).
csUntrustedRootCertificate is invalid due to an untrusted root certificate.
csInvalidSignatureCertificate is invalid due to an invalid certificate signature.

 

See also

TScCertificate.VerifyCertificate

TScSSLClient.OnServerCertificateValidation

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support