Discuss this help topic in SecureBlackbox Forum
Defines possible search criteria.
Declaration
[C#/Java]
TSBLookupCriterion = int;
const short lcIssuer = 1;
const short lcSubject = 2;
const short lcValidity = 4;
const short lcPublicKeyAlgorithm = 8;
const short lcSignatureAlgorithm = 16;
const short lcPublicKeySize = 32;
const short lcAuthorityKeyIdentifier = 64;
const short lcSubjectKeyIdentifier = 128;
const short lcKeyUsage = 256;
const short lcEmail = 512;
const short lcSerialNumber = 1024;
const short lcPublicKeyHash = 2048;
const short lcCertificateHash = 4096;
[VB.NET]
TSBLookupCriterion As Integer
Const lcIssuer As SmallInt = 1
Const lcSubject As SmallInt = 2
Const lcValidity As SmallInt = 4
Const lcPublicKeyAlgorithm As SmallInt = 8
Const lcSignatureAlgorithm As SmallInt = 16
Const lcPublicKeySize As SmallInt = 32
Const lcAuthorityKeyIdentifier As SmallInt = 64
Const lcSubjectKeyIdentifier As SmallInt = 128
Const lcKeyUsage As SmallInt = 256
Const lcEmail As SmallInt = 512;
Const lcSerialNumber As SmallInt = 1024;
Const lcPublicKeyHash As SmallInt = 2048;
Const lcCertificateHash As SmallInt = 4096;
[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;
Description
Possible values:
Declared in
.NET:
- Namespace: SBCustomCertStorage
- Assembly: SecureBlackbox
VCL:
- Unit: SBCustomCertStorage
Java:
- Package: SecureBlackbox.Base.jar
C++:
Discuss this help topic in SecureBlackbox Forum