v
June 2004 Copyright © 2004 RSA Security Inc.
♦
C_SignEncryptUpdate........................................................................................................... 169
♦
C_DecryptVerifyUpdate........................................................................................................ 171
11.14 KEY MANAGEMENT FUNCTIONS ............................................................................................. 174
♦
C_GenerateKey ..................................................................................................................... 175
♦
C_GenerateKeyPair .............................................................................................................. 176
♦
C_WrapKey ........................................................................................................................... 178
♦
C_UnwrapKey....................................................................................................................... 180
♦
C_DeriveKey ......................................................................................................................... 182
11.15 RANDOM NUMBER GENERATION FUNCTIONS .......................................................................... 184
♦
C_SeedRandom ..................................................................................................................... 184
♦
C_GenerateRandom .............................................................................................................. 184
11.16 PARALLEL FUNCTION MANAGEMENT FUNCTIONS ................................................................... 185
♦
C_GetFunctionStatus ............................................................................................................ 185
♦
C_CancelFunction ................................................................................................................ 186
11.17 CALLBACK FUNCTIONS........................................................................................................... 186
11.17.1 Surrender callbacks ..................................................................................................... 186
11.17.2 Vendor-defined callbacks ............................................................................................ 187
12 MECHANISMS ............................................................................................................................ 188
12.1 RSA ....................................................................................................................................... 193
12.1.1 Definitions.................................................................................................................... 193
12.1.2 RSA public key objects................................................................................................. 193
12.1.3 RSA private key objects................................................................................................ 194
12.1.4 PKCS #1 RSA key pair generation .............................................................................. 196
12.1.5 X9.31 RSA key pair generation.................................................................................... 197
12.1.6 PKCS #1 v1.5 RSA....................................................................................................... 197
12.1.7 PKCS #1 RSA OAEP mechanism parameters ............................................................. 198
♦
CK_RSA_PKCS_MGF_TYPE; CK_RSA_PKCS_MGF_TYPE_PTR.................................... 198
♦
CK_RSA_PKCS_OAEP_SOURCE_TYPE; CK_RSA_PKCS_OAEP_SOURCE_TYPE_PTR199
♦
CK_RSA_PKCS_OAEP_PARAMS; CK_RSA_PKCS_OAEP_PARAMS_PTR ..................... 200
12.1.8 PKCS #1 RSA OAEP ................................................................................................... 200
12.1.9 PKCS #1 RSA PSS mechanism parameters ................................................................. 201
♦
CK_RSA_PKCS_PSS_PARAMS; CK_RSA_PKCS_PSS_PARAMS_PTR............................. 201
12.1.10 PKCS #1 RSA PSS ....................................................................................................... 202
12.1.11 ISO/IEC 9796 RSA....................................................................................................... 203
12.1.12 X.509 (raw) RSA .......................................................................................................... 203
12.1.13 ANSI X9.31 RSA........................................................................................................... 205
12.1.14 PKCS #1 v1.5 RSA signature with MD2, MD5, SHA-1, SHA-256, SHA-384, SHA-512,
RIPE-MD 128 or RIPE-MD 160 .................................................................................................... 206
12.1.15 PKCS #1 RSA PSS signature with SHA-1, SHA-256, SHA-384 or SHA-512 .............. 207
12.1.16 ANSI X9.31 RSA signature with SHA-1 ....................................................................... 208
12.2 DSA....................................................................................................................................... 209
12.2.1 Definitions.................................................................................................................... 209
12.2.2 DSA public key objects ................................................................................................ 209
12.2.3 DSA private key objects ............................................................................................... 210
12.2.4 DSA domain parameter objects ................................................................................... 211
12.2.5 DSA key pair generation.............................................................................................. 212
12.2.6 DSA domain parameter generation ............................................................................. 212
12.2.7 DSA without hashing ................................................................................................... 213
12.2.8 DSA with SHA-1 .......................................................................................................... 213
12.2.9 FORTEZZA timestamp................................................................................................. 214
12.3 ELLIPTIC CURVE..................................................................................................................... 214
12.3.1 EC Signatures .............................................................................................................. 216
12.3.2 Definitions.................................................................................................................... 216