Discuss this help topic in SecureBlackbox Forum
Defines possible reasons of sertificate invalidity.
Declaration
[C#]
TSBCertificateValidityReason = int;
const int vrBadData = 1;
const int vrRevoked = 2;
const int vrNotYetValid = 4;
const int vrExpired = 8;
const int vrInvalidSignature = 16;
const int vrUnknownCA = 32;
const int vrCAUnauthorized = 64;
const int vrCRLNotVerified = 128;
const int vrOCSPNotVerified = 256;
const int vrIdentityMismatch = 512;
const int vrNoKeyUsage = 1024;
const int vrBlocked = 2048;
[VB.NET]
TSBCertificateValidityReason As Integer
Const vrBadData As Integer = 1
Const vrRevoked As Integer = 2
Const vrNotYetValid As Integer = 4
Const vrExpired As Integer = 8
Const vrInvalidSignature As Integer = 16
Const vrUnknownCA As Integer = 32
Const vrCAUnauthorized As Integer = 64
Const vrCRLNotVerified As Integer = 128
Const vrOCSPNotVerified As Integer = 256
Const vrIdentityMismatch As Integer = 512
Const vrNoKeyUsage As Integer = 1024
Const vrBlocked As Integer = 2048
[Pascal]
TSBCertificateValidityReason = set of ( vrBadData, vrRevoked, vrNotYetValid, vrExpired, vrInvalidSignature, vrUnknownCA, vrCAUnauthorized, vrCLRNotVerified, vrOCSPNotVerified, vrIdentityMismatch, vrNoKeyUsage, vrBlocked );
[C++]
typedef uint32_t TSBCertificateValidityReasonRaw;
typedef enum { f_vrBadData = 1, f_vrRevoked = 2, f_vrNotYetValid = 4, f_vrExpired = 8, f_vrInvalidSignature = 16, f_vrUnknownCA = 32, f_vrCAUnauthorized = 64, f_vrCRLNotVerified = 128, f_vrOCSPNotVerified = 256, f_vrIdentityMismatch = 512, f_vrNoKeyUsage = 1024, f_vrBlocked = 2048 } TSBCertificateValidityReason;
[PHP]
class TSBCertificateValidityReason extends TSBBaseEnum {
const vrBadData = 1;
const vrRevoked = 2;
const vrNotYetValid = 4;
const vrExpired = 8;
const vrInvalidSignature = 16;
const vrUnknownCA = 32;
const vrCAUnauthorized = 64;
const vrCRLNotVerified = 128;
const vrOCSPNotVerified = 256;
const vrIdentityMismatch = 512;
const vrNoKeyUsage = 1024;
const vrBlocked = 2048;
}
Possible values
Declared in
.NET:
- Namespace: SBX509
- Assembly: SecureBlackbox
VCL:Java:
- Package: SecureBlackbox.Base.jar
C++:
Discuss this help topic in SecureBlackbox Forum