Discuss this help topic in SecureBlackbox Forum

TSBKeyUsage

Declared in     See also     


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


Declaration

[C#]
    TSBKeyUsage = int;
        const int kuDigitalSignature = 1;
        const int kuNonRepudiation = 2;
        const int kuKeyEncipherment = 4;
        const int kuDataEncipherment = 8;
        const int kuKeyAgreement = 16;
        const int kuKeyCertSign = 32;
        const int kuCRLSign = 64;
        const int kuEncipherOnly = 128;
        const int kuDecipherOnly = 256;

[VB.NET]
    TSBKeyUsage As Integer
        Const kuDigitalSignature As Integer = 1
        Const kuNonRepudiation As Integer = 2
        Const kuKeyEncipherment As Integer = 4
        Const kuDataEncipherment As Integer = 8
        Const kuKeyAgreement As Integer = 16
        Const kuKeyCertSign As Integer = 32
        Const kuCRLSign As Integer = 64
        Const kuEncipherOnly As Integer = 128
        Const kuDecipherOnly As Integer = 256

[Pascal]
    under development

[C++]
    typedef uint8_t TSBKeyUsageTypeRaw;
    typedef enum { kuDigitalSignature = 0, kuNonRepudiation = 1, kuKeyEncipherment = 2, kuDataEncipherment = 3, kuKeyAgreement = 4, kuKeyCertSign = 5, kuCRLSign = 6, kuEncipherOnly = 7, kuDecipherOnly = 8 } TSBKeyUsageType;
    
    typedef uint32_t TSBKeyUsageRaw;
    typedef enum { f_kuDigitalSignature = 1, f_kuNonRepudiation = 2, f_kuKeyEncipherment = 4, f_kuDataEncipherment = 8, f_kuKeyAgreement = 16, f_kuKeyCertSign = 32, f_kuCRLSign = 64, f_kuEncipherOnly = 128, f_kuDecipherOnly = 256 } TSBKeyUsage;

[PHP]
    class TSBKeyUsage extends TSBBaseEnum {
        const kuDigitalSignature = 1;
        const kuNonRepudiation = 2;
        const kuKeyEncipherment = 4;
        const kuDataEncipherment = 8;
        const kuKeyAgreement = 16;
        const kuKeyCertSign = 32;
        const kuCRLSign = 64;
        const kuEncipherOnly = 128;
        const kuDecipherOnly = 256;
    }

[Java]
    not available

Possible values

Declared in

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

See also:     TSBKeyUsageType    

Discuss this help topic in SecureBlackbox Forum