|
#define | DBXKEYID_SIZE 16 /* Full keyID = 128 bits */ |
|
#define | ENCODED_DBXKEYID_SIZE 22 /* base64-encoded key ID */ |
|
#define | TEXT_DBXKEYID_SIZE "22" |
|
#define | MAX_SQL_QUERY_SIZE 256 |
|
#define | MAX_QUERY_RESULT_SIZE MAX_ENCODED_CERT_SIZE |
|
#define | DBMS_FLAG_NONE 0x00 /* No DBMS flag */ |
|
#define | DBMS_FLAG_BINARYBLOBS 0x01 /* DBMS supports blobs */ |
|
#define | DBMS_FLAG_UPDATEACTIVE 0x02 /* Ongoing update in progress */ |
|
#define | DBMS_FLAG_QUERYACTIVE 0x04 /* Ongoing query in progress */ |
|
#define | DBMS_FLAG_CERTSTORE 0x08 /* Full certificate store */ |
|
#define | DBMS_FLAG_CERTSTORE_FIELDS 0x10 /* Certificate store fields */ |
|
#define | DBMS_FLAG_MAX 0x1F /* Maximum possible flag value */ |
|
#define | DBMS_FEATURE_FLAG_NONE 0x00 /* No DBMS features */ |
|
#define | DBMS_FEATURE_FLAG_BINARYBLOBS 0x01 /* DBMS supports binary blobs */ |
|
#define | DBMS_FEATURE_FLAG_READONLY 0x02 /* DBMS doesn't allow write access */ |
|
#define | DBMS_FEATURE_FLAG_PRIVILEGES 0x04 /* DBMS supports GRANT/REVOKE */ |
|
#define | DBMS_FEATURE_FLAG_MAX 0x07 /* Maximum possible flag value */ |
|
#define | hasBinaryBlobs(dbmsInfo) ( ( dbmsInfo )->flags & DBMS_FLAG_BINARYBLOBS ) |
|
#define | isCertStore(dbmsInfo) ( ( dbmsInfo )->flags & DBMS_FLAG_CERTSTORE ) |
|
#define | TEXT_CERTTYPE_REQUEST_CERT "5" |
|
#define | TEXT_CERTTYPE_REQUEST_REVOCATION "6" |
|
#define | TEXT_CERTACTION_CREATE "1" |
|
#define | TEXTCH_CERTACTION_ADDUSER '5' |
|
#define | TEXT_CERTACTION_REQUEST_CERT "7" |
|
#define | TEXTCH_CERTACTION_REQUEST_CERT '7' |
|
#define | TEXT_CERTACTION_REQUEST_RENEWAL "8" |
|
#define | TEXTCH_CERTACTION_REQUEST_RENEWAL '8' |
|
#define | TEXT_CERTACTION_CERT_CREATION "10" |
|
#define | KEYID_ESC1 "--" |
|
#define | KEYID_ESC2 "##" |
|
#define | KEYID_ESC_SIZE 2 |
|
#define | CAMGMT_ARGERROR_CAKEY CRYPT_ARGERROR_NUM1 |
|
#define | CAMGMT_ARGERROR_REQUEST CRYPT_ARGERROR_NUM2 |
|
#define | CAMGMT_ARGERROR_ACTION CRYPT_ARGERROR_VALUE |
|
#define | BOUND_DATA_MAXITEMS 16 |
|
#define | initBoundData(boundData) memset( ( boundData ), 0, sizeof( BOUND_DATA ) * BOUND_DATA_MAXITEMS ) |
|
#define | setBoundData(bdStorage, bdIndex, bdValue, bdValueLen) |
|
#define | setBoundDataBlob(bdStorage, bdIndex, bdValue, bdValueLen) |
|
#define | setBoundDataDate(bdStorage, bdIndex, bdValue) |
|
#define | dbmsOpen(name, nameLen, options, featureFlags) dbmsInfo->openDatabaseFunction( dbmsInfo, name, nameLen, options, featureFlags ) |
|
#define | dbmsClose() dbmsInfo->closeDatabaseFunction( dbmsInfo ) |
|
#define | dbmsStaticUpdate(command) dbmsInfo->performStaticUpdateFunction( dbmsInfo, command ) |
|
#define | dbmsUpdate(command, updateBoundData, updateType) |
|
#define | dbmsStaticQuery(command, queryEntry, queryType) |
|
#define | dbmsQuery(command, data, dataMaxLength, dataLength, queryBoundData, queryEntry, queryType) |
|
#define | getDbmsErrorInfo(dbmsInfo) ( &( ( ( DBMS_STATE_INFO * ) ( dbmsInfo )->stateInfo )->errorInfo ) ) |
|
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 3, 4)) int dbmsFormatQuery(OUT_BUFFER(outMaxLength |
|
CHECK_RETVAL *outLength char
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int | IN_BUFFER (inputLength) const char *input |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2)) int dbmsParseName(INOUT DBMS_NAME_INFO *nameInfo |
|
CHECK_RETVAL | IN_BUFFER (nameLen) const char *name |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1)) int initDbxSession(INOUT KEYSET_INFO *keysetInfoPtr |
|
CHECK_RETVAL | IN_ENUM (CRYPT_KEYSET) const CRYPT_KEYSET_TYPE type) |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2, 9)) int getItemData(INOUT DBMS_INFO *dbmsInfo |
|
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE OUT_OPT int | IN_ENUM_OPT (KEYMGMT_ITEM) const KEYMGMT_ITEM_TYPE itemType |
|
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE OUT_OPT int | IN_ENUM_OPT (CRYPT_KEYID) const CRYPT_KEYID_TYPE keyIDtype |
|
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE OUT_OPT int | IN_BUFFER_OPT (keyValueLength) const char *keyValue |
|
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE OUT_OPT int
IN_LENGTH_KEYID_Z const int | IN_FLAGS_Z (KEYMGMT) const int options |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 6)) int addCert(INOUT DBMS_INFO *dbmsInfo |
|
CHECK_RETVAL IN_HANDLE const
CRYPT_HANDLE | IN_ENUM (CRYPT_CERTTYPE) const CRYPT_CERTTYPE_TYPE certType |
|
CHECK_RETVAL IN_HANDLE const
CRYPT_HANDLE | IN_ENUM (CERTADD) const CERTADD_TYPE addType |
|
CHECK_RETVAL IN_HANDLE const
CRYPT_HANDLE | IN_ENUM (DBMS_UPDATE) const DBMS_UPDATE_TYPE updateType |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 5)) int addCRL(INOUT DBMS_INFO *dbmsInfo |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 3, 5)) int makeKeyID(OUT_BUFFER(keyIdMaxLen |
|
CHECK_RETVAL *keyIdLen char | IN_LENGTH_SHORT_MIN (16) const int keyIdMaxLen |
|
CHECK_RETVAL *keyIdLen char
OUT_LENGTH_SHORT_Z int
IN_KEYID const
CRYPT_KEYID_TYPE | IN_BUFFER (idValueLength) const void *idValue |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 3)) int getKeyID(OUT_BUFFER(keyIdMaxLen |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((3, 5)) int extractCertData(IN_HANDLE const CRYPT_CERTIFICATE iCryptCert |
|
CHECK_RETVAL IN_INT const int | OUT_BUFFER (certDataMaxLength,*certDataLength) void *certDataBuffer |
|
CHECK_RETVAL IN_INT const int | IN_LENGTH_SHORT_MIN (MIN_CRYPT_OBJECTSIZE) const int certDataMaxLength |
|
CHECK_RETVAL_PTR char * | getKeyName (IN_ENUM(CRYPT_KEYID) const CRYPT_KEYID_TYPE keyIDtype) |
|
CHECK_RETVAL_BOOL BOOLEAN | checkRequest (IN_HANDLE const CRYPT_CERTIFICATE iCertRequest, IN_ENUM(CRYPT_CERTACTION) const CRYPT_CERTACTION_TYPE action) |
|
CHECK_RETVAL | IN_ENUM (CRYPT_KEYID) const CRYPT_KEYID_TYPE keyIDtype |
|
CHECK_RETVAL | IN_BUFFER (keyIDlength) const void *keyID |
|
CHECK_RETVAL | IN_ENUM (CRYPT_CERTACTION) const CRYPT_CERTACTION_TYPE action |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 4)) int caIssueCertComplete(INOUT DBMS_INFO *dbmsInfo |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2, 4)) int caIssueCRL(INOUT DBMS_INFO *dbmsInfo |
|
RETVAL | IN_BUFFER_OPT (certIDlength) const char *certID |
|
RETVAL IN_LENGTH_SHORT_Z const int | IN_BUFFER_OPT (reqCertIDlength) const char *reqCertID |
|
RETVAL IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int | IN_BUFFER_OPT (subjCertIDlength) const char *subjCertID |
|
RETVAL IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int | IN_BUFFER_OPT (dataLength) const void *data |
|
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2, 3, 5)) int caGetIssuingUser(INOUT DBMS_INFO *dbmsInfo |
|
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE | IN_BUFFER (initialCertIDlength) const char *initialCertID |
|
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE | IN_LENGTH_FIXED (ENCODED_DBXKEYID_SIZE) const int initialCertIDlength |
|