Discuss this help topic in SecureBlackbox Forum

TSBCertificateValidityReason

Declared in     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Defines possible reasons of certificate 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;
        const int vrFailure = 4096;
        const int vrChainLoop = 8192;
        const int vrWeakAlgorithm = 16384;
        const int vrUnused1 = 32768;
        const int vrUnused2 = 65536;
        const int vrUnused3 = 131072;
        const int vrUnused4 = 262144;
        const int vrUserEnforced = 524288;

[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
        Const vrFailure As Integer = 4096
        Const vrChainLoop As Integer = 8192
        Const vrWeakAlgorithm As Integer = 16384
        Const vrUnused1 As Integer = 32768
        Const vrUnused2 As Integer = 65536
        Const vrUnused3 As Integer = 131072
        Const vrUnused4 As Integer = 262144
        Const vrUserEnforced As Integer = 524288

[Pascal]
    TSBCertificateValidityReason = set of ( vrBadData, vrRevoked, vrNotYetValid, vrExpired, vrInvalidSignature, vrUnknownCA, vrCAUnauthorized, vrCLRNotVerified, vrOCSPNotVerified, vrIdentityMismatch, vrNoKeyUsage, vrBlocked, vrFailure, vrChainLoop, vrWeakAlgorithm );

[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, f_vrFailure = 4096, f_vrChainLoop = 8192, f_vrWeakAlgorithm = 16384, f_vrUnused1 = 32768, f_vrUnused2 = 65536, f_vrUnused3 = 131072, f_vrUnused4 = 262144, f_vrUserEnforced = 524288 } 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;
        const vrFailure = 4096;
        const vrChainLoop = 8192;
        const vrWeakAlgorithm = 16384;
        const vrUnused1 = 32768;
        const vrUnused2 = 65536;
        const vrUnused3 = 131072;
        const vrUnused4 = 262144;
        const vrUserEnforced = 524288;
    }

[Java]
    not available

Possible values

Declared in

.NET:
  • Namespace: SBX509
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBX509
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sbx509.h

See also:     InternalValidate     SBCertificateValidity    

Discuss this help topic in SecureBlackbox Forum