Discuss this help topic in SecureBlackbox Forum

TSBLookupCriterion

Declared in     See also     


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


Defines possible search criteria.

Declaration

[C#/Java]
    TSBLookupCriterion = short;
        const short lcIssuer = 0;
        const short lcSubject = 1;
        const short lcValidity = 2;
        const short lcPublicKeyAlgorithm = 3;
        const short lcSignatureAlgorithm = 4;
        const short lcPublicKeySize = 5;
        const short lcAuthorityKeyIdentifier = 6;
        const short lcSubjectKeyIdentifier = 7;
        const short lcKeyUsage = 8;
        const short lcEmail = 9;
        const short lcSerialNumber = 10;
        const short lcPublicKeyHash = 11;
        const short lcCertificateHash = 12;

[VB.NET]
    TSBLookupCriterion As Short
        Const lcIssuer As Short = 0
        Const lcSubject As Short = 1
        Const lcValidity As Short = 2
        Const lcPublicKeyAlgorithm As Short = 3
        Const lcSignatureAlgorithm As Short = 4
        Const lcPublicKeySize As Short = 5
        Const lcAuthorityKeyIdentifier As Short = 6
        Const lcSubjectKeyIdentifier As Short = 7
        Const lcKeyUsage As Short = 8
        Const lcEmail As Short = 9
        Const lcSerialNumber As Short = 10
        Const lcPublicKeyHash As Short = 11
        Const lcCertificateHash As Short = 12

[Pascal]
    TSBLookupCriterion = (lcIssuer, lcSubject, lcValidity, lcPublicKeyAlgorithm, lcSignatureAlgorithm, lcPublicKeySize, lcAuthorityKeyIdentifier, lcSubjectKeyIdentifier, lcKeyUsage, lcEmail, lcSerialNumber, lcPublicKeyHash, lcCertificateHash);

[C++]
    typedef uint8_t TSBLookupCriterionRaw;
    typedef enum { lcIssuer = 0, lcSubject = 1, lcValidity = 2, lcPublicKeyAlgorithm = 3, lcSignatureAlgorithm = 4, lcPublicKeySize = 5, lcAuthorityKeyIdentifier = 6, lcSubjectKeyIdentifier = 7, lcKeyUsage = 8, lcEmail = 9, lcSerialNumber = 10, lcPublicKeyHash = 11, lcCertificateHash = 12 } TSBLookupCriterion;
    
    typedef uint32_t TSBLookupCriteriaRaw;
    typedef enum { f_lcIssuer = 1, f_lcSubject = 2, f_lcValidity = 4, f_lcPublicKeyAlgorithm = 8, f_lcSignatureAlgorithm = 16, f_lcPublicKeySize = 32, f_lcAuthorityKeyIdentifier = 64, f_lcSubjectKeyIdentifier = 128, f_lcKeyUsage = 256, f_lcEmail = 512, f_lcSerialNumber = 1024, f_lcPublicKeyHash = 2048, f_lcCertificateHash = 4096 } TSBLookupCriteria;

[PHP]
    class TSBLookupCriterion extends TSBBaseEnum {
        const lcIssuer = 0;
        const lcSubject = 1;
        const lcValidity = 2;
        const lcPublicKeyAlgorithm = 3;
        const lcSignatureAlgorithm = 4;
        const lcPublicKeySize = 5;
        const lcAuthorityKeyIdentifier = 6;
        const lcSubjectKeyIdentifier = 7;
        const lcKeyUsage = 8;
        const lcEmail = 9;
        const lcSerialNumber = 10;
        const lcPublicKeyHash = 11;
        const lcCertificateHash = 12;
    }

Possible values


Declared in

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

See also:     Criteria    

Discuss this help topic in SecureBlackbox Forum