cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Classes | Macros | Enumerations | Functions | Variables
dbms.h File Reference
#include <stdarg.h>
#include "crypt.h"
#include "keyset/keyset.h"

Go to the source code of this file.

Classes

struct  DBMS_NAME_INFO
 
struct  BOUND_DATA
 

Macros

#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 ) )
 

Enumerations

enum  CERTADD_TYPE {
  CERTADD_NONE, CERTADD_NORMAL, CERTADD_PARTIAL, CERTADD_PARTIAL_RENEWAL,
  CERTADD_RENEWAL_COMPLETE, CERTADD_LAST, CERTADD_NONE, CERTADD_UPDATE_EXISTING,
  CERTADD_NORMAL, CERTADD_STANDALONE_CERT, CERTADD_LAST
}
 
enum  BOUND_DATA_TYPE {
  BOUND_DATA_NONE, BOUND_DATA_STRING, BOUND_DATA_BLOB, BOUND_DATA_TIME,
  BOUND_DATA_LAST
}
 

Functions

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
 

Variables

CHECK_RETVAL *outLength char * output
 
CHECK_RETVAL *outLength char
IN_LENGTH_SHORT const int 
outMaxLength
 
CHECK_RETVAL *outLength char
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int * 
outLength
 
CHECK_RETVAL *outLength char
IN_LENGTH_SHORT const int
OUT_LENGTH_SHORT_Z int
IN_LENGTH_SHORT const int 
inputLength
 
CHECK_RETVAL IN_LENGTH_NAME
const int 
nameLen
 
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE
iCertificate
 
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE OUT_OPT int * 
stateInfo
 
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE OUT_OPT int
IN_LENGTH_KEYID_Z const int 
keyValueLength
 
CHECK_RETVAL OUT_HANDLE_OPT
CRYPT_CERTIFICATE OUT_OPT int
IN_LENGTH_KEYID_Z const int
INOUT ERROR_INFO
errorInfo
 
CHECK_RETVAL IN_HANDLE const
CRYPT_HANDLE 
iCryptHandle
 
CHECK_RETVAL IN_HANDLE const
CRYPT_CERTIFICATE 
iCryptCRL
 
CHECK_RETVAL IN_HANDLE const
CRYPT_CERTIFICATE
IN_HANDLE_OPT const
CRYPT_CERTIFICATE 
iCryptRevokeCert
 
CHECK_RETVAL *keyIdLen char * keyID
 
CHECK_RETVAL *keyIdLen char
OUT_LENGTH_SHORT_Z int * 
keyIdLen
 
CHECK_RETVAL *keyIdLen char
OUT_LENGTH_SHORT_Z int
IN_KEYID const
CRYPT_KEYID_TYPE 
iDtype
 
CHECK_RETVAL *keyIdLen char
OUT_LENGTH_SHORT_Z int
IN_KEYID const
CRYPT_KEYID_TYPE
IN_LENGTH_SHORT const int 
idValueLength
 
CHECK_RETVAL *keyIdLen char
OUT_LENGTH_SHORT_Z int
IN_HANDLE const CRYPT_HANDLE 
cryptHandle
 
CHECK_RETVAL *keyIdLen char
OUT_LENGTH_SHORT_Z int
IN_HANDLE const CRYPT_HANDLE
IN_ATTRIBUTE const
CRYPT_ATTRIBUTE_TYPE 
keyIDtype
 
CHECK_RETVAL *keyIdLen char
OUT_LENGTH_SHORT_Z int
IN_HANDLE const
CRYPT_CERTIFICATE 
iCryptCert
 
CHECK_RETVAL IN_INT const int formatType
 
CHECK_RETVAL IN_INT const int
OUT_LENGTH_SHORT_Z int * 
certDataLength
 
CHECK_RETVAL IN_HANDLE const
CRYPT_CERTIFICATE 
iCertRequest
 
CHECK_RETVAL IN_HANDLE const
CRYPT_CERTIFICATE const
BOOLEAN 
isRenewal
 
CHECK_RETVAL IN_HANDLE const
CRYPT_CERTIFICATE const
BOOLEAN const BOOLEAN 
isInitialOp
 
CHECK_RETVAL IN_HANDLE const
CRYPT_CERTIFICATE 
iPkiUser
 
CHECK_RETVAL IN_LENGTH_KEYID
const int 
keyIDlength
 
CHECK_RETVAL IN_HANDLE const
CRYPT_CERTIFICATE 
iReplaceCertificate
 
CHECK_RETVAL
OUT_OPT_HANDLE_OPT
CRYPT_CERTIFICATE IN_HANDLE
const CRYPT_CERTIFICATE 
caKey
 
RETVAL IN_LENGTH_SHORT_Z const int certIDlength
 
RETVAL IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int 
reqCertIDlength
 
RETVAL IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int 
subjCertIDlength
 
RETVAL IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int IN_LENGTH_SHORT_Z const
int 
dataLength
 
RETVAL IN_ERROR const int errorStatus
 
RETVAL IN_ERROR const int
IN_STRING const char * 
errorString
 

Macro Definition Documentation

#define BOUND_DATA_MAXITEMS   16

Definition at line 187 of file dbms.h.

#define CAMGMT_ARGERROR_ACTION   CRYPT_ARGERROR_VALUE

Definition at line 143 of file dbms.h.

#define CAMGMT_ARGERROR_CAKEY   CRYPT_ARGERROR_NUM1

Definition at line 141 of file dbms.h.

#define CAMGMT_ARGERROR_REQUEST   CRYPT_ARGERROR_NUM2

Definition at line 142 of file dbms.h.

#define DBMS_FEATURE_FLAG_BINARYBLOBS   0x01 /* DBMS supports binary blobs */

Definition at line 75 of file dbms.h.

#define DBMS_FEATURE_FLAG_MAX   0x07 /* Maximum possible flag value */

Definition at line 78 of file dbms.h.

#define DBMS_FEATURE_FLAG_NONE   0x00 /* No DBMS features */

Definition at line 74 of file dbms.h.

#define DBMS_FEATURE_FLAG_PRIVILEGES   0x04 /* DBMS supports GRANT/REVOKE */

Definition at line 77 of file dbms.h.

#define DBMS_FEATURE_FLAG_READONLY   0x02 /* DBMS doesn't allow write access */

Definition at line 76 of file dbms.h.

#define DBMS_FLAG_BINARYBLOBS   0x01 /* DBMS supports blobs */

Definition at line 65 of file dbms.h.

#define DBMS_FLAG_CERTSTORE   0x08 /* Full certificate store */

Definition at line 68 of file dbms.h.

#define DBMS_FLAG_CERTSTORE_FIELDS   0x10 /* Certificate store fields */

Definition at line 69 of file dbms.h.

#define DBMS_FLAG_MAX   0x1F /* Maximum possible flag value */

Definition at line 70 of file dbms.h.

#define DBMS_FLAG_NONE   0x00 /* No DBMS flag */

Definition at line 64 of file dbms.h.

#define DBMS_FLAG_QUERYACTIVE   0x04 /* Ongoing query in progress */

Definition at line 67 of file dbms.h.

#define DBMS_FLAG_UPDATEACTIVE   0x02 /* Ongoing update in progress */

Definition at line 66 of file dbms.h.

#define dbmsClose ( )    dbmsInfo->closeDatabaseFunction( dbmsInfo )

Definition at line 234 of file dbms.h.

#define dbmsOpen (   name,
  nameLen,
  options,
  featureFlags 
)    dbmsInfo->openDatabaseFunction( dbmsInfo, name, nameLen, options, featureFlags )

Definition at line 232 of file dbms.h.

#define dbmsQuery (   command,
  data,
  dataMaxLength,
  dataLength,
  queryBoundData,
  queryEntry,
  queryType 
)
Value:
dbmsInfo->performQueryFunction( dbmsInfo, command, data, dataMaxLength, \
dataLength, queryBoundData, queryEntry, \
queryType )

Definition at line 244 of file dbms.h.

#define dbmsStaticQuery (   command,
  queryEntry,
  queryType 
)
Value:
dbmsInfo->performStaticQueryFunction( dbmsInfo, command, queryEntry, \
queryType )

Definition at line 241 of file dbms.h.

#define dbmsStaticUpdate (   command)    dbmsInfo->performStaticUpdateFunction( dbmsInfo, command )

Definition at line 236 of file dbms.h.

#define dbmsUpdate (   command,
  updateBoundData,
  updateType 
)
Value:
dbmsInfo->performUpdateFunction( dbmsInfo, command, updateBoundData, \
updateType )

Definition at line 238 of file dbms.h.

#define DBXKEYID_SIZE   16 /* Full keyID = 128 bits */

Definition at line 21 of file dbms.h.

#define ENCODED_DBXKEYID_SIZE   22 /* base64-encoded key ID */

Definition at line 22 of file dbms.h.

#define getDbmsErrorInfo (   dbmsInfo)    ( &( ( ( DBMS_STATE_INFO * ) ( dbmsInfo )->stateInfo )->errorInfo ) )

Definition at line 261 of file dbms.h.

#define hasBinaryBlobs (   dbmsInfo)    ( ( dbmsInfo )->flags & DBMS_FLAG_BINARYBLOBS )

Definition at line 83 of file dbms.h.

#define initBoundData (   boundData)    memset( ( boundData ), 0, sizeof( BOUND_DATA ) * BOUND_DATA_MAXITEMS )

Definition at line 195 of file dbms.h.

#define isCertStore (   dbmsInfo)    ( ( dbmsInfo )->flags & DBMS_FLAG_CERTSTORE )

Definition at line 85 of file dbms.h.

#define KEYID_ESC1   "--"

Definition at line 112 of file dbms.h.

#define KEYID_ESC2   "##"

Definition at line 113 of file dbms.h.

#define KEYID_ESC_SIZE   2

Definition at line 114 of file dbms.h.

#define MAX_QUERY_RESULT_SIZE   MAX_ENCODED_CERT_SIZE

Definition at line 33 of file dbms.h.

#define MAX_SQL_QUERY_SIZE   256

Definition at line 27 of file dbms.h.

#define setBoundData (   bdStorage,
  bdIndex,
  bdValue,
  bdValueLen 
)
Value:
{ \
const int bdLocalIndex = ( bdIndex ); \
\
( bdStorage )[ bdLocalIndex ].type = BOUND_DATA_STRING; \
( bdStorage )[ bdLocalIndex ].data = ( bdValueLen > 0 ) ? bdValue : NULL; \
( bdStorage )[ bdLocalIndex ].dataLength = bdValueLen; \
}

Definition at line 197 of file dbms.h.

#define setBoundDataBlob (   bdStorage,
  bdIndex,
  bdValue,
  bdValueLen 
)
Value:
{ \
const int bdLocalIndex = ( bdIndex ); \
\
( bdStorage )[ bdLocalIndex ].type = BOUND_DATA_BLOB; \
( bdStorage )[ bdLocalIndex ].data = bdValue; \
( bdStorage )[ bdLocalIndex ].dataLength = bdValueLen; \
}

Definition at line 205 of file dbms.h.

#define setBoundDataDate (   bdStorage,
  bdIndex,
  bdValue 
)
Value:
{ \
const int bdLocalIndex = ( bdIndex ); \
\
( bdStorage )[ bdLocalIndex ].type = BOUND_DATA_TIME; \
( bdStorage )[ bdLocalIndex ].data = bdValue; \
( bdStorage )[ bdLocalIndex ].dataLength = sizeof( time_t ); \
}

Definition at line 213 of file dbms.h.

#define TEXT_CERTACTION_CERT_CREATION   "10"

Definition at line 104 of file dbms.h.

#define TEXT_CERTACTION_CREATE   "1"

Definition at line 98 of file dbms.h.

#define TEXT_CERTACTION_REQUEST_CERT   "7"

Definition at line 100 of file dbms.h.

#define TEXT_CERTACTION_REQUEST_RENEWAL   "8"

Definition at line 102 of file dbms.h.

#define TEXT_CERTTYPE_REQUEST_CERT   "5"

Definition at line 95 of file dbms.h.

#define TEXT_CERTTYPE_REQUEST_REVOCATION   "6"

Definition at line 96 of file dbms.h.

#define TEXT_DBXKEYID_SIZE   "22"

Definition at line 23 of file dbms.h.

#define TEXTCH_CERTACTION_ADDUSER   '5'

Definition at line 99 of file dbms.h.

#define TEXTCH_CERTACTION_REQUEST_CERT   '7'

Definition at line 101 of file dbms.h.

#define TEXTCH_CERTACTION_REQUEST_RENEWAL   '8'

Definition at line 103 of file dbms.h.

Enumeration Type Documentation

Enumerator:
BOUND_DATA_NONE 
BOUND_DATA_STRING 
BOUND_DATA_BLOB 
BOUND_DATA_TIME 
BOUND_DATA_LAST 

Definition at line 172 of file dbms.h.

Enumerator:
CERTADD_NONE 
CERTADD_NORMAL 
CERTADD_PARTIAL 
CERTADD_PARTIAL_RENEWAL 
CERTADD_RENEWAL_COMPLETE 
CERTADD_LAST 
CERTADD_NONE 
CERTADD_UPDATE_EXISTING 
CERTADD_NORMAL 
CERTADD_STANDALONE_CERT 
CERTADD_LAST 

Definition at line 127 of file dbms.h.

Function Documentation

CHECK_RETVAL_BOOL BOOLEAN checkRequest ( IN_HANDLE const CRYPT_CERTIFICATE  iCertRequest,
IN_ENUM(CRYPT_CERTACTION) const CRYPT_CERTACTION_TYPE  action 
)
CHECK_RETVAL_PTR char* getKeyName ( IN_ENUM(CRYPT_KEYID) const CRYPT_KEYID_TYPE  keyIDtype)
CHECK_RETVAL IN_BUFFER ( nameLen  ) const
CHECK_RETVAL IN_BUFFER ( keyIDlength  ) const
CHECK_RETVAL OUT_HANDLE_OPT CRYPT_CERTIFICATE IN_BUFFER ( initialCertIDlength  ) const
RETVAL IN_BUFFER_OPT ( certIDlength  ) const
RETVAL IN_LENGTH_SHORT_Z const int IN_BUFFER_OPT ( reqCertIDlength  ) const
CHECK_RETVAL IN_ENUM ( CRYPT_KEYSET  ) const
CHECK_RETVAL IN_HANDLE const CRYPT_HANDLE IN_ENUM ( CRYPT_CERTTYPE  ) const
CHECK_RETVAL IN_HANDLE const CRYPT_HANDLE IN_ENUM ( CERTADD  ) const
CHECK_RETVAL IN_HANDLE const CRYPT_HANDLE IN_ENUM ( DBMS_UPDATE  ) const
CHECK_RETVAL IN_ENUM ( CRYPT_KEYID  ) const
CHECK_RETVAL IN_ENUM ( CRYPT_CERTACTION  ) const
CHECK_RETVAL OUT_HANDLE_OPT CRYPT_CERTIFICATE OUT_OPT int IN_ENUM_OPT ( KEYMGMT_ITEM  ) const
CHECK_RETVAL OUT_HANDLE_OPT CRYPT_CERTIFICATE OUT_OPT int IN_ENUM_OPT ( CRYPT_KEYID  ) const
CHECK_RETVAL * keyIdLen char IN_LENGTH_SHORT_MIN ( 16  ) const
CHECK_RETVAL IN_INT const int IN_LENGTH_SHORT_MIN ( MIN_CRYPT_OBJECTSIZE  ) const
CHECK_RETVAL IN_INT const int OUT_BUFFER ( certDataMaxLength  ,
certDataLength 
)
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 3, 4)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1)  )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 26 of file ctx_attr.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2, 9)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 6)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 5)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 3, 5)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 3)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (3, 5)  ) const
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 4)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2, 4)  )
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2, 3, 5)  )

Variable Documentation

Definition at line 393 of file dbms.h.

CHECK_RETVAL IN_INT const int OUT_LENGTH_SHORT_Z int* certDataLength

Definition at line 348 of file dbms.h.

Definition at line 431 of file dbms.h.

Definition at line 333 of file dbms.h.

Definition at line 437 of file dbms.h.

Definition at line 302 of file dbms.h.

RETVAL IN_ERROR const int errorStatus

Definition at line 441 of file dbms.h.

RETVAL IN_ERROR const int IN_STRING const char * errorString

Definition at line 441 of file dbms.h.

CHECK_RETVAL IN_INT const int formatType

Definition at line 343 of file dbms.h.

Definition at line 295 of file dbms.h.

Definition at line 362 of file dbms.h.

Definition at line 339 of file dbms.h.

Definition at line 312 of file dbms.h.

Definition at line 305 of file dbms.h.

Definition at line 312 of file dbms.h.

Definition at line 326 of file dbms.h.

Definition at line 329 of file dbms.h.

Definition at line 271 of file dbms.h.

Definition at line 369 of file dbms.h.

Definition at line 389 of file dbms.h.

Definition at line 365 of file dbms.h.

Definition at line 365 of file dbms.h.

CHECK_RETVAL * keyIdLen char* keyID

Definition at line 324 of file dbms.h.

CHECK_RETVAL *keyIdLen char OUT_LENGTH_SHORT_Z int * keyIdLen

Definition at line 326 of file dbms.h.

Definition at line 375 of file dbms.h.

Definition at line 333 of file dbms.h.

Definition at line 300 of file dbms.h.

Definition at line 275 of file dbms.h.

CHECK_RETVAL * outLength char IN_LENGTH_SHORT const int OUT_LENGTH_SHORT_Z int* outLength

Definition at line 267 of file dbms.h.

CHECK_RETVAL * outLength char IN_LENGTH_SHORT const int outMaxLength

Definition at line 267 of file dbms.h.

CHECK_RETVAL * outLength char* output

Definition at line 267 of file dbms.h.

Definition at line 433 of file dbms.h.

Definition at line 295 of file dbms.h.

Definition at line 435 of file dbms.h.