cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Classes | Macros | Typedefs | Enumerations | Functions | Variables
cmp.h File Reference

Go to the source code of this file.

Classes

struct  CMP_PROTOCOL_INFO
 

Macros

#define CMP_VERSION   2 /* CMP version */
 
#define CMP_NONCE_SIZE   16 /* Size of nonces */
 
#define CMP_PW_ITERATIONS_CLIB   500 /* PW hashing iter.for clib pws */
 
#define CMP_PW_ITERATIONS_OTHER   2000 /* PW hashing iter.for non-clib pws */
 
#define CMP_MAX_PW_ITERATIONS   10000 /* Max allowable iterations */
 
#define CMP_CONTENT_TYPE   "application/pkixcmp"
 
#define CMP_CONTENT_TYPE_LEN   19
 
#define CMP_HMAC_KEYSIZE   20
 
#define CMP_PFLAG_NONE   0x00 /* No protocol-specific flags */
 
#define CMP_PFLAG_RETAINCONNECTION   0x01 /* Leave conn.open for further trans.*/
 
#define CMP_PFLAG_CLIBIDSENT   0x02 /* cryptlib ID sent */
 
#define CMP_PFLAG_USERIDSENT   0x04 /* User ID sent */
 
#define CMP_PFLAG_CERTIDSENT   0x08 /* Certificate ID sent */
 
#define CMP_PFLAG_MACINFOSENT   0x10 /* MAC parameters sent */
 
#define CMP_PFLAG_PNPPKI   0x20 /* Session is PnP PKI-capable */
 
#define CMPFAILINFO_NONE   0x00000000L
 
#define CMPFAILINFO_OK   0x00000000L
 
#define CMPFAILINFO_BADALG   0x00000001L
 
#define CMPFAILINFO_BADMESSAGECHECK   0x00000002L
 
#define CMPFAILINFO_BADREQUEST   0x00000004L
 
#define CMPFAILINFO_BADTIME   0x00000008L
 
#define CMPFAILINFO_BADCERTID   0x00000010L
 
#define CMPFAILINFO_BADDATAFORMAT   0x00000020L
 
#define CMPFAILINFO_WRONGAUTHORITY   0x00000040L
 
#define CMPFAILINFO_INCORRECTDATA   0x00000080L
 
#define CMPFAILINFO_MISSINGTIMESTAMP   0x00000100L
 
#define CMPFAILINFO_BADPOP   0x00000200L
 
#define CMPFAILINFO_CERTREVOKED   0x00000400L
 
#define CMPFAILINFO_CERTCONFIRMED   0x00000800L
 
#define CMPFAILINFO_WRONGINTEGRITY   0x00001000L
 
#define CMPFAILINFO_BADRECIPIENTNONCE   0x00002000L
 
#define CMPFAILINFO_TIMENOTAVAILABLE   0x00004000L
 
#define CMPFAILINFO_UNACCEPTEDPOLICY   0x00008000L
 
#define CMPFAILINFO_UNACCEPTEDEXTENSION   0x00010000L
 
#define CMPFAILINFO_ADDINFONOTAVAILABLE   0x00020000L
 
#define CMPFAILINFO_BADSENDERNONCE   0x00040000L
 
#define CMPFAILINFO_BADCERTTEMPLATE   0x00080000L
 
#define CMPFAILINFO_SIGNERNOTTRUSTED   0x00100000L
 
#define CMPFAILINFO_TRANSACTIONIDINUSE   0x00200000L
 
#define CMPFAILINFO_UNSUPPORTEDVERSION   0x00400000L
 
#define CMPFAILINFO_NOTAUTHORIZED   0x00800000L
 
#define CMPFAILINFO_SYSTEMUNAVAIL   0x01000000L
 
#define CMPFAILINFO_SYSTEMFAILURE   0x02000000L
 
#define CMPFAILINFO_DUPLICATECERTREQ   0x04000000L
 
#define CMPFAILINFO_LAST   0x08000000L
 
#define CMP_INIT_FLAG_NONE   0x00
 
#define CMP_INIT_FLAG_USERID   0x01
 
#define CMP_INIT_FLAG_TRANSID   0x02
 
#define CMP_INIT_FLAG_MACINFO   0x04
 
#define CMP_INIT_FLAG_MACCTX   0x08
 
#define CMP_INIT_FLAG_ALL
 
#define CMP_INIT_FLAG_MAX   0x0F
 
#define OID_ENTRUST_MAC   MKOID( "\x06\x09\x2A\x86\x48\x86\xF6\x7D\x07\x42\x0D" )
 
#define objSize(length)   ( ( int ) sizeofObject( length ) )
 
#define DEBUG_DUMP_CMP(type, level, sessionInfo)
 

Typedefs

typedef CHECK_RETVAL_FNPTR STDC_NONNULL_ARG ((1, 2, 3)) int(*READMESSAGE_FUNCTION)(INOUT STREAM *stream
 
typedef CHECK_RETVAL_FNPTR
INOUT SESSION_INFO
sessionInfoPtr
 
typedef CHECK_RETVAL_FNPTR
INOUT SESSION_INFO INOUT
CMP_PROTOCOL_INFO
protocolInfo
 
typedef CHECK_RETVAL_FNPTR
INOUT SESSION_INFO INOUT
CMP_PROTOCOL_INFO 
IN_ENUM_OPT (CMP_MESSAGE) const CMP_MESSAGE_TYPE messageType
 
typedef CHECK_RETVAL_FNPTR
INOUT SESSION_INFO INOUT
CMP_PROTOCOL_INFO
IN_LENGTH_SHORT const int 
messageLength
 

Enumerations

enum  {
  CTAG_PH_MESSAGETIME, CTAG_PH_PROTECTIONALGO, CTAG_PH_SENDERKID, CTAG_PH_RECIPKID,
  CTAG_PH_TRANSACTIONID, CTAG_PH_SENDERNONCE, CTAG_PH_RECIPNONCE, CTAG_PH_FREETEXT,
  CTAG_PH_GENERALINFO
}
 
enum  CMP_MESSAGE_TYPE {
  CTAG_PB_IR, CTAG_PB_NONE = CTAG_PB_IR, CTAG_PB_IP, CTAG_PB_CR,
  CTAG_PB_CP, CTAG_PB_P10CR, CTAG_PB_POPDECC, CTAG_PB_POPDECR,
  CTAG_PB_KUR, CTAG_PB_KUP, CTAG_PB_KRR, CTAG_PB_KRP,
  CTAG_PB_RR, CTAG_PB_RP, CTAG_PB_CCR, CTAG_PB_CCP,
  CTAG_PB_CKUANN, CTAG_PB_CANN, CTAG_PB_RANN, CTAG_PB_CRLANN,
  CTAG_PB_PKICONF, CTAG_PB_NESTED, CTAG_PB_GENM, CTAG_PB_GENP,
  CTAG_PB_ERROR, CTAG_PB_CERTCONF, CTAG_PB_LAST, CTAG_PB_READ_ANY
}
 
enum  { CTAG_PM_PROTECTION, CTAG_PM_EXTRACERTS }
 
enum  { CTAG_CK_CERT, CTAG_CK_ENCRYPTEDCERT, CTAG_CK_NEWENCRYPTEDCERT }
 
enum  {
  CTAG_EV_DUMMY1, CTAG_EV_CEKALGO, CTAG_EV_ENCCEK, CTAG_EV_DUMMY2,
  CTAG_EV_DUMMY3
}
 
enum  {
  PKISTATUS_OK, PKISTATUS_OK_WITHINFO, PKISTATUS_REJECTED, PKISTATUS_WAITING,
  PKISTATUS_REVOCATIONIMMINENT, PKISTATUS_REVOCATION, PKISTATUS_KEYUPDATE
}
 
enum  CMPBODY_TYPE {
  CMPBODY_NONE, CMPBODY_NORMAL, CMPBODY_CONFIRMATION, CMPBODY_ACK,
  CMPBODY_GENMSG, CMPBODY_ERROR, CMPBODY_LAST
}
 

Functions

CHECK_RETVAL_PTR
READMESSAGE_FUNCTION 
getMessageReadFunction (IN_ENUM_OPT(CMP_MESSAGE) const CMP_MESSAGE_TYPE messageType)
 
CHECK_RETVAL_PTR
WRITEMESSAGE_FUNCTION 
getMessageWriteFunction (IN_ENUM(CMPBODY) const CMPBODY_TYPE bodyType, const BOOLEAN isServer)
 
 CHECK_RETVAL_RANGE (MAX_ERROR, CTAG_PB_LAST) int reqToResp(IN_ENUM_OPT(CTAG_PB) const CMP_MESSAGE_TYPE reqType)
 
CHECK_RETVAL STDC_NONNULL_ARG ((1)) int setCMPprotocolInfo(INOUT CMP_PROTOCOL_INFO *protocolInfo
 
CHECK_RETVAL IN_BUFFER_OPT (userIDlength) const void *userID
 
CHECK_RETVAL IN_LENGTH_SHORT_Z
const int 
IN_FLAGS_Z (CMP_INIT) const int flags
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2)) int initServerAuthentMAC(INOUT SESSION_INFO *sessionInfoPtr
 
CHECK_RETVAL STDC_NONNULL_ARG ((2)) int hashMessageContents(IN_HANDLE const CRYPT_CONTEXT iHashContext
 
CHECK_RETVAL IN_BUFFER (length) const void *data
 
CHECK_RETVAL STDC_NONNULL_ARG ((2, 4)) int initMacInfo(IN_HANDLE const CRYPT_CONTEXT iMacContext
 
CHECK_RETVAL IN_BUFFER (passwordLength) const void *password
 
CHECK_RETVAL IN_LENGTH_SHORT
const int 
IN_BUFFER (saltLength) const void *salt
 
CHECK_RETVAL IN_LENGTH_SHORT
const int IN_LENGTH_SHORT
const int 
IN_RANGE (1, CMP_MAX_PASSWORD_ITERATIONS) const int iterations)
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2, 3, 5)) int readMacInfo(INOUT STREAM *stream
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2, 3)) int checkMessageMAC(INOUT STREAM *stream
 
CHECK_RETVAL INOUT
CMP_PROTOCOL_INFO 
IN_BUFFER (messageLength) const void *message
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2, 4)) int checkMessageSignature(INOUT CMP_PROTOCOL_INFO *protocolInfo
 
CHECK_RETVAL IN_LENGTH const int IN_BUFFER (signatureLength) const void *signature
 
CHECK_RETVAL STDC_NONNULL_ARG ((2, 4, 6)) int writeMacProtinfo(IN_HANDLE const CRYPT_CONTEXT iMacContext
 
CHECK_RETVAL IN_LENGTH_SHORT
const int 
OUT_BUFFER (protInfoMaxLength,*protInfoLength) void *protInfo
 
CHECK_RETVAL IN_LENGTH_SHORT
const int 
IN_LENGTH_SHORT_MIN (16) const int protInfoMaxLength
 
CHECK_RETVAL STDC_NONNULL_ARG ((4, 6, 8)) int writeSignedProtinfo(IN_HANDLE const CRYPT_CONTEXT iSignContext
 
CHECK_RETVAL IN_ALGO const
CRYPT_ALGO_TYPE 
IN_RANGE (0, 999) const int hashParam
 
CHECK_RETVAL IN_ALGO const
CRYPT_ALGO_TYPE
IN_LENGTH_SHORT const int 
IN_LENGTH_SHORT_MIN (32) const int protInfoMaxLength
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 3)) int readPkiStatusInfo(INOUT STREAM *stream
 
CHECK_RETVAL int sizeofPkiStatusInfo (IN_STATUS const int pkiStatus, IN_ENUM_OPT(CMPFAILINFO) const long pkiFailureInfo)
 
CHECK_RETVAL IN_STATUS const int IN_ENUM_OPT (CMPFAILINFO) const long pkiFailureInfo)
 
CHECK_RETVAL INOUT
CMP_PROTOCOL_INFO 
IN_ENUM_OPT (CTAG_PB) CMP_MESSAGE_TYPE messageType)
 
CHECK_RETVAL_BOOL INOUT
CMP_PROTOCOL_INFO 
IN_ENUM (CMPBODY) const CMPBODY_TYPE bodyType)
 

Variables

CHECK_RETVAL IN_LENGTH_SHORT_Z
const int 
userIDlength
 
CHECK_RETVAL IN_LENGTH_SHORT_Z
const int const BOOLEAN 
isCryptlib
 
const BOOLEAN const BOOLEAN isServer
 
CHECK_RETVAL IN_LENGTH_SHORT
const int 
length
 
CHECK_RETVAL IN_LENGTH_SHORT
const int 
passwordLength
 
CHECK_RETVAL IN_LENGTH_SHORT
const int IN_LENGTH_SHORT
const int 
saltLength
 
CHECK_RETVAL INOUT
CMP_PROTOCOL_INFO
IN_LENGTH_SHORT const int
INOUT ERROR_INFO
errorInfo
 
CHECK_RETVAL const
CMP_PROTOCOL_INFO const
BOOLEAN 
sendFullInfo
 
CHECK_RETVAL IN_LENGTH const
int IN_LENGTH_SHORT const int 
signatureLength
 
CHECK_RETVAL IN_LENGTH const
int IN_LENGTH_SHORT const int
IN_HANDLE const CRYPT_HANDLE 
iAuthContext
 
CHECK_RETVAL IN_LENGTH_SHORT
const int OUT_LENGTH_SHORT_Z
int * 
protInfoLength
 
CHECK_RETVAL IN_ALGO const
CRYPT_ALGO_TYPE 
hashAlgo
 
CHECK_RETVAL IN_STATUS const int pkiStatus
 

Macro Definition Documentation

#define CMP_CONTENT_TYPE   "application/pkixcmp"

Definition at line 160 of file cmp.h.

#define CMP_CONTENT_TYPE_LEN   19

Definition at line 161 of file cmp.h.

#define CMP_HMAC_KEYSIZE   20

Definition at line 166 of file cmp.h.

#define CMP_INIT_FLAG_ALL
Value:
CMP_INIT_FLAG_TRANSID | \
CMP_INIT_FLAG_MACINFO | \
CMP_INIT_FLAG_MACCTX )

Definition at line 267 of file cmp.h.

#define CMP_INIT_FLAG_MACCTX   0x08

Definition at line 266 of file cmp.h.

#define CMP_INIT_FLAG_MACINFO   0x04

Definition at line 265 of file cmp.h.

#define CMP_INIT_FLAG_MAX   0x0F

Definition at line 271 of file cmp.h.

#define CMP_INIT_FLAG_NONE   0x00

Definition at line 262 of file cmp.h.

#define CMP_INIT_FLAG_TRANSID   0x02

Definition at line 264 of file cmp.h.

#define CMP_INIT_FLAG_USERID   0x01

Definition at line 263 of file cmp.h.

#define CMP_MAX_PW_ITERATIONS   10000 /* Max allowable iterations */

Definition at line 156 of file cmp.h.

#define CMP_NONCE_SIZE   16 /* Size of nonces */

Definition at line 153 of file cmp.h.

#define CMP_PFLAG_CERTIDSENT   0x08 /* Certificate ID sent */

Definition at line 179 of file cmp.h.

#define CMP_PFLAG_CLIBIDSENT   0x02 /* cryptlib ID sent */

Definition at line 177 of file cmp.h.

#define CMP_PFLAG_MACINFOSENT   0x10 /* MAC parameters sent */

Definition at line 180 of file cmp.h.

#define CMP_PFLAG_NONE   0x00 /* No protocol-specific flags */

Definition at line 175 of file cmp.h.

#define CMP_PFLAG_PNPPKI   0x20 /* Session is PnP PKI-capable */

Definition at line 181 of file cmp.h.

#define CMP_PFLAG_RETAINCONNECTION   0x01 /* Leave conn.open for further trans.*/

Definition at line 176 of file cmp.h.

#define CMP_PFLAG_USERIDSENT   0x04 /* User ID sent */

Definition at line 178 of file cmp.h.

#define CMP_PW_ITERATIONS_CLIB   500 /* PW hashing iter.for clib pws */

Definition at line 154 of file cmp.h.

#define CMP_PW_ITERATIONS_OTHER   2000 /* PW hashing iter.for non-clib pws */

Definition at line 155 of file cmp.h.

#define CMP_VERSION   2 /* CMP version */

Definition at line 143 of file cmp.h.

#define CMPFAILINFO_ADDINFONOTAVAILABLE   0x00020000L

Definition at line 248 of file cmp.h.

#define CMPFAILINFO_BADALG   0x00000001L

Definition at line 231 of file cmp.h.

#define CMPFAILINFO_BADCERTID   0x00000010L

Definition at line 235 of file cmp.h.

#define CMPFAILINFO_BADCERTTEMPLATE   0x00080000L

Definition at line 250 of file cmp.h.

#define CMPFAILINFO_BADDATAFORMAT   0x00000020L

Definition at line 236 of file cmp.h.

#define CMPFAILINFO_BADMESSAGECHECK   0x00000002L

Definition at line 232 of file cmp.h.

#define CMPFAILINFO_BADPOP   0x00000200L

Definition at line 240 of file cmp.h.

#define CMPFAILINFO_BADRECIPIENTNONCE   0x00002000L

Definition at line 244 of file cmp.h.

#define CMPFAILINFO_BADREQUEST   0x00000004L

Definition at line 233 of file cmp.h.

#define CMPFAILINFO_BADSENDERNONCE   0x00040000L

Definition at line 249 of file cmp.h.

#define CMPFAILINFO_BADTIME   0x00000008L

Definition at line 234 of file cmp.h.

#define CMPFAILINFO_CERTCONFIRMED   0x00000800L

Definition at line 242 of file cmp.h.

#define CMPFAILINFO_CERTREVOKED   0x00000400L

Definition at line 241 of file cmp.h.

#define CMPFAILINFO_DUPLICATECERTREQ   0x04000000L

Definition at line 257 of file cmp.h.

#define CMPFAILINFO_INCORRECTDATA   0x00000080L

Definition at line 238 of file cmp.h.

#define CMPFAILINFO_LAST   0x08000000L

Definition at line 258 of file cmp.h.

#define CMPFAILINFO_MISSINGTIMESTAMP   0x00000100L

Definition at line 239 of file cmp.h.

#define CMPFAILINFO_NONE   0x00000000L

Definition at line 229 of file cmp.h.

#define CMPFAILINFO_NOTAUTHORIZED   0x00800000L

Definition at line 254 of file cmp.h.

#define CMPFAILINFO_OK   0x00000000L

Definition at line 230 of file cmp.h.

#define CMPFAILINFO_SIGNERNOTTRUSTED   0x00100000L

Definition at line 251 of file cmp.h.

#define CMPFAILINFO_SYSTEMFAILURE   0x02000000L

Definition at line 256 of file cmp.h.

#define CMPFAILINFO_SYSTEMUNAVAIL   0x01000000L

Definition at line 255 of file cmp.h.

#define CMPFAILINFO_TIMENOTAVAILABLE   0x00004000L

Definition at line 245 of file cmp.h.

#define CMPFAILINFO_TRANSACTIONIDINUSE   0x00200000L

Definition at line 252 of file cmp.h.

#define CMPFAILINFO_UNACCEPTEDEXTENSION   0x00010000L

Definition at line 247 of file cmp.h.

#define CMPFAILINFO_UNACCEPTEDPOLICY   0x00008000L

Definition at line 246 of file cmp.h.

#define CMPFAILINFO_UNSUPPORTEDVERSION   0x00400000L

Definition at line 253 of file cmp.h.

#define CMPFAILINFO_WRONGAUTHORITY   0x00000040L

Definition at line 237 of file cmp.h.

#define CMPFAILINFO_WRONGINTEGRITY   0x00001000L

Definition at line 243 of file cmp.h.

#define DEBUG_DUMP_CMP (   type,
  level,
  sessionInfo 
)

Definition at line 306 of file cmp.h.

#define objSize (   length)    ( ( int ) sizeofObject( length ) )

Definition at line 291 of file cmp.h.

#define OID_ENTRUST_MAC   MKOID( "\x06\x09\x2A\x86\x48\x86\xF6\x7D\x07\x42\x0D" )

Definition at line 275 of file cmp.h.

Typedef Documentation

typedef CHECK_RETVAL_FNPTR INOUT SESSION_INFO INOUT CMP_PROTOCOL_INFO IN_ENUM_OPT(CMP_MESSAGE) const CMP_MESSAGE_TYPE messageType

Definition at line 441 of file cmp.h.

Definition at line 443 of file cmp.h.

Definition at line 439 of file cmp.h.

Definition at line 439 of file cmp.h.

typedef CHECK_RETVAL_FNPTR STDC_NONNULL_ARG((1, 2, 3)) int(*WRITEMESSAGE_FUNCTION)(INOUT STREAM *stream

Definition at line 437 of file cmp.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
CTAG_PH_MESSAGETIME 
CTAG_PH_PROTECTIONALGO 
CTAG_PH_SENDERKID 
CTAG_PH_RECIPKID 
CTAG_PH_TRANSACTIONID 
CTAG_PH_SENDERNONCE 
CTAG_PH_RECIPNONCE 
CTAG_PH_FREETEXT 
CTAG_PH_GENERALINFO 

Definition at line 185 of file cmp.h.

anonymous enum
Enumerator:
CTAG_PM_PROTECTION 
CTAG_PM_EXTRACERTS 

Definition at line 210 of file cmp.h.

anonymous enum
Enumerator:
CTAG_CK_CERT 
CTAG_CK_ENCRYPTEDCERT 
CTAG_CK_NEWENCRYPTEDCERT 

Definition at line 214 of file cmp.h.

anonymous enum
Enumerator:
CTAG_EV_DUMMY1 
CTAG_EV_CEKALGO 
CTAG_EV_ENCCEK 
CTAG_EV_DUMMY2 
CTAG_EV_DUMMY3 

Definition at line 218 of file cmp.h.

anonymous enum
Enumerator:
PKISTATUS_OK 
PKISTATUS_OK_WITHINFO 
PKISTATUS_REJECTED 
PKISTATUS_WAITING 
PKISTATUS_REVOCATIONIMMINENT 
PKISTATUS_REVOCATION 
PKISTATUS_KEYUPDATE 

Definition at line 223 of file cmp.h.

Enumerator:
CTAG_PB_IR 
CTAG_PB_NONE 
CTAG_PB_IP 
CTAG_PB_CR 
CTAG_PB_CP 
CTAG_PB_P10CR 
CTAG_PB_POPDECC 
CTAG_PB_POPDECR 
CTAG_PB_KUR 
CTAG_PB_KUP 
CTAG_PB_KRR 
CTAG_PB_KRP 
CTAG_PB_RR 
CTAG_PB_RP 
CTAG_PB_CCR 
CTAG_PB_CCP 
CTAG_PB_CKUANN 
CTAG_PB_CANN 
CTAG_PB_RANN 
CTAG_PB_CRLANN 
CTAG_PB_PKICONF 
CTAG_PB_NESTED 
CTAG_PB_GENM 
CTAG_PB_GENP 
CTAG_PB_ERROR 
CTAG_PB_CERTCONF 
CTAG_PB_LAST 
CTAG_PB_READ_ANY 

Definition at line 196 of file cmp.h.

Enumerator:
CMPBODY_NONE 
CMPBODY_NORMAL 
CMPBODY_CONFIRMATION 
CMPBODY_ACK 
CMPBODY_GENMSG 
CMPBODY_ERROR 
CMPBODY_LAST 

Definition at line 282 of file cmp.h.

Function Documentation

CHECK_RETVAL_RANGE ( MAX_ERROR  ,
CTAG_PB_LAST   
) const
CHECK_RETVAL_PTR READMESSAGE_FUNCTION getMessageReadFunction ( IN_ENUM_OPT(CMP_MESSAGE) const CMP_MESSAGE_TYPE  messageType)
CHECK_RETVAL_PTR WRITEMESSAGE_FUNCTION getMessageWriteFunction ( IN_ENUM(CMPBODY) const CMPBODY_TYPE  bodyType,
const BOOLEAN  isServer 
)
CHECK_RETVAL IN_BUFFER ( length  ) const
CHECK_RETVAL IN_BUFFER ( passwordLength  ) const
CHECK_RETVAL IN_LENGTH_SHORT const int IN_BUFFER ( saltLength  ) const
CHECK_RETVAL IN_LENGTH const int IN_BUFFER ( signatureLength  ) const
CHECK_RETVAL IN_BUFFER_OPT ( userIDlength  ) const
CHECK_RETVAL_BOOL INOUT CMP_PROTOCOL_INFO IN_ENUM ( CMPBODY  ) const
CHECK_RETVAL IN_STATUS const int IN_ENUM_OPT ( CMPFAILINFO  ) const
CHECK_RETVAL INOUT CMP_PROTOCOL_INFO IN_ENUM_OPT ( CTAG_PB  )
CHECK_RETVAL IN_LENGTH_SHORT_Z const int IN_FLAGS_Z ( CMP_INIT  ) const
CHECK_RETVAL IN_LENGTH_SHORT const int IN_LENGTH_SHORT_MIN ( 16  ) const
new
CHECK_RETVAL IN_ALGO const CRYPT_ALGO_TYPE IN_LENGTH_SHORT const int IN_LENGTH_SHORT_MIN ( 32  ) const
CHECK_RETVAL IN_LENGTH_SHORT const int IN_LENGTH_SHORT const int IN_RANGE ( ,
CMP_MAX_PASSWORD_ITERATIONS   
) const
CHECK_RETVAL IN_ALGO const CRYPT_ALGO_TYPE IN_RANGE ( ,
999   
) const
CHECK_RETVAL IN_ALGO const CRYPT_ALGO_TYPE IN_LENGTH_SHORT const int OUT_BUFFER ( protInfoMaxLength  ,
protInfoLength 
)
CHECK_RETVAL int sizeofPkiStatusInfo ( IN_STATUS const int  pkiStatus,
IN_ENUM_OPT(CMPFAILINFO) const long  pkiFailureInfo 
)
CHECK_RETVAL STDC_NONNULL_ARG ( (1)  )

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

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

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

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

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

Definition at line 26 of file ctx_attr.c.

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

Variable Documentation

Definition at line 504 of file cmp.h.

Definition at line 532 of file cmp.h.

Definition at line 520 of file cmp.h.

const BOOLEAN isCryptlib

Definition at line 466 of file cmp.h.

Definition at line 469 of file cmp.h.

Definition at line 492 of file cmp.h.

Definition at line 496 of file cmp.h.

CHECK_RETVAL IN_STATUS const int pkiStatus

Definition at line 552 of file cmp.h.

Definition at line 529 of file cmp.h.

Definition at line 498 of file cmp.h.

Definition at line 508 of file cmp.h.

Definition at line 520 of file cmp.h.

Definition at line 464 of file cmp.h.