Discuss this help topic in SecureBlackbox Forum

TSBCRLReasonFlag

Declared in     See also     


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


Defines revocation reason flags for CRL Distribution Points extension.

Declaration

[C#/Java]
    TSBCRLReasonFlag = int;
        const short rfUnspecified = 1;
        const short rfKeyCompromise = 2;
        const short rfCACompromise = 4;
        const short rfAffiliationChanged = 8;
        const short rfSuperseded = 16;
        const short rfCessationOfOperation = 32;
        const short rfCertificateHold = 64;
        const short rfObsolete1 = 128;
        const short rfRemoveFromCRL = 256;
        const short rfPrivilegeWithdrawn = 512;
        const short rfAACompromise = 1024;

[VB.NET]
    TSBCRLReasonFlag As Integer
        Const rfUnspecified As SmallInt = 1
        Const rfKeyCompromise As SmallInt = 2
        Const rfCACompromise As SmallInt = 4
        Const rfAffiliationChanged As SmallInt = 8
        Const rfSuperseded As SmallInt = 16
        Const rfCessationOfOperation As SmallInt = 32
        Const rfCertificateHold As SmallInt = 64
        Const rfObsolete1 As SmallInt = 128
        Const rfRemoveFromCRL As SmallInt = 256
        Const rfPrivilegeWithdrawn As SmallInt = 512
        Const rfAACompromise As SmallInt = 1024

[Pascal]
    TSBCRLReasonFlag = (rfUnspecified, rfKeyCompromise, rfCACompromise, rfAffiliationChanged, rfSuperseded, rfCessationOfOperation, rfCertificateHold, rfObsolete1, rfRemoveFromCRL, rfPrivilegeWithdrawn, rfAACompromise);

[C++]
    typedef uint8_t TSBCRLReasonFlagRaw;
    typedef enum { rfUnspecified = 0, rfKeyCompromise = 1, rfCACompromise = 2, rfAffiliationChanged = 3, rfSuperseded = 4, rfCessationOfOperation = 5, rfCertificateHold = 6, rfObsolete1 = 7, rfRemoveFromCRL = 8, rfPrivilegeWithdrawn = 9, rfAACompromise = 10 } TSBCRLReasonFlag;
    
    typedef uint32_t TSBCRLReasonFlagsRaw;
    typedef enum { f_rfUnspecified = 1, f_rfKeyCompromise = 2, f_rfCACompromise = 4, f_rfAffiliationChanged = 8, f_rfSuperseded = 16, f_rfCessationOfOperation = 32, f_rfCertificateHold = 64, f_rfObsolete1 = 128, f_rfRemoveFromCRL = 256, f_rfPrivilegeWithdrawn = 512, f_rfAACompromise = 1024 } TSBCRLReasonFlags;

[PHP]
    class TSBCRLReasonFlag extends TSBBaseEnum {
        const rfUnspecified = 0;
        const rfKeyCompromise = 1;
        const rfCACompromise = 2;
        const rfAffiliationChanged = 3;
        const rfSuperseded = 4;
        const rfCessationOfOperation = 5;
        const rfCertificateHold = 6;
        const rfObsolete1 = 7;
        const rfRemoveFromCRL = 8;
        const rfPrivilegeWithdrawn = 9;
        const rfAACompromise = 10;
    }

Possible values


Declared in

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

See also:     InternalValidate     SBCertificateValidityReason    

Discuss this help topic in SecureBlackbox Forum