1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pam_pkcs11: pkcs11t.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="dir_55f9682142a78e45196901be32452b47.html">src</a> » <a class="el" href="dir_782c1fcd7529e1a05f3f2af490691324.html">common</a> » <a class="el" href="dir_d7a1e1289fa34b6242c3a4ee6b47b28d.html">rsaref</a>
</div>
</div>
<div class="contents">
<h1>pkcs11t.h</h1><a href="pkcs11t_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* pkcs11t.h include file for PKCS #11. */</span>
<a name="l00002"></a>00002 <span class="comment">/* $Revision: 1.4 $ */</span>
<a name="l00003"></a>00003
<a name="l00004"></a>00004 <span class="comment">/* License to copy and use this software is granted provided that it is</span>
<a name="l00005"></a>00005 <span class="comment"> * identified as "RSA Security Inc. PKCS #11 Cryptographic Token Interface</span>
<a name="l00006"></a>00006 <span class="comment"> * (Cryptoki)" in all material mentioning or referencing this software.</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment"> * License is also granted to make and use derivative works provided that</span>
<a name="l00009"></a>00009 <span class="comment"> * such works are identified as "derived from the RSA Security Inc. PKCS #11</span>
<a name="l00010"></a>00010 <span class="comment"> * Cryptographic Token Interface (Cryptoki)" in all material mentioning or</span>
<a name="l00011"></a>00011 <span class="comment"> * referencing the derived work.</span>
<a name="l00012"></a>00012 <span class="comment"></span>
<a name="l00013"></a>00013 <span class="comment"> * RSA Security Inc. makes no representations concerning either the</span>
<a name="l00014"></a>00014 <span class="comment"> * merchantability of this software or the suitability of this software for</span>
<a name="l00015"></a>00015 <span class="comment"> * any particular purpose. It is provided "as is" without express or implied</span>
<a name="l00016"></a>00016 <span class="comment"> * warranty of any kind.</span>
<a name="l00017"></a>00017 <span class="comment"> */</span>
<a name="l00018"></a>00018
<a name="l00019"></a>00019 <span class="comment">/* See top of pkcs11.h for information about the macros that</span>
<a name="l00020"></a>00020 <span class="comment"> * must be defined and the structure-packing conventions that</span>
<a name="l00021"></a>00021 <span class="comment"> * must be set before including this file. */</span>
<a name="l00022"></a>00022
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef _PKCS11T_H_</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define _PKCS11T_H_ 1</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="preprocessor">#ifndef CK_DISABLE_TRUE_FALSE</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#ifndef FALSE</span>
<a name="l00028"></a><a class="code" href="pkcs11t_8h.html#aa93f0eb578d23995850d61f7d61c55c1">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define FALSE 0</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#ifndef TRUE</span>
<a name="l00032"></a><a class="code" href="pkcs11t_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define TRUE !(FALSE)</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a><a class="code" href="pkcs11t_8h.html#a76edf786ed8cccb1b3d2cf9e9f0800cd">00036</a> <span class="preprocessor">#define CK_TRUE 1</span>
<a name="l00037"></a><a class="code" href="pkcs11t_8h.html#a1df8841072c48f0b511ccad3bbb25812">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define CK_FALSE 0</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="comment">/* an unsigned 8-bit value */</span>
<a name="l00040"></a><a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">00040</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a>;
<a name="l00041"></a>00041
<a name="l00042"></a>00042 <span class="comment">/* an unsigned 8-bit character */</span>
<a name="l00043"></a><a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">00043</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">CK_CHAR</a>;
<a name="l00044"></a>00044
<a name="l00045"></a>00045 <span class="comment">/* an 8-bit UTF-8 character */</span>
<a name="l00046"></a><a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">00046</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a>;
<a name="l00047"></a>00047
<a name="l00048"></a>00048 <span class="comment">/* a BYTE-sized Boolean flag */</span>
<a name="l00049"></a><a class="code" href="pkcs11t_8h.html#abd07a1bba363f8083080b9328e67b491">00049</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="pkcs11t_8h.html#abd07a1bba363f8083080b9328e67b491">CK_BBOOL</a>;
<a name="l00050"></a>00050
<a name="l00051"></a>00051 <span class="comment">/* an unsigned value, at least 32 bits long */</span>
<a name="l00052"></a><a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">00052</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a>;
<a name="l00053"></a>00053
<a name="l00054"></a>00054 <span class="comment">/* a signed value, the same size as a CK_ULONG */</span>
<a name="l00055"></a>00055 <span class="comment">/* CK_LONG is new for v2.0 */</span>
<a name="l00056"></a><a class="code" href="pkcs11t_8h.html#ad1988321060bd5f6561b6be6e0b47074">00056</a> <span class="keyword">typedef</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="pkcs11t_8h.html#ad1988321060bd5f6561b6be6e0b47074">CK_LONG</a>;
<a name="l00057"></a>00057
<a name="l00058"></a>00058 <span class="comment">/* at least 32 bits; each bit is a Boolean flag */</span>
<a name="l00059"></a><a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">00059</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">CK_FLAGS</a>;
<a name="l00060"></a>00060
<a name="l00061"></a>00061
<a name="l00062"></a>00062 <span class="comment">/* some special values for certain CK_ULONG variables */</span>
<a name="l00063"></a><a class="code" href="pkcs11t_8h.html#a76782288a47c99c6e6ff3dc667f0e3ef">00063</a> <span class="preprocessor">#define CK_UNAVAILABLE_INFORMATION (~0UL)</span>
<a name="l00064"></a><a class="code" href="pkcs11t_8h.html#a9a4dabf704815bc749ca705e42240dec">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define CK_EFFECTIVELY_INFINITE 0</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span>
<a name="l00066"></a>00066
<a name="l00067"></a><a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">00067</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a>;
<a name="l00068"></a><a class="code" href="pkcs11t_8h.html#aadba328e5d4c5fbfac397beb7211d8bd">00068</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">CK_CHAR</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#aadba328e5d4c5fbfac397beb7211d8bd">CK_CHAR_PTR</a>;
<a name="l00069"></a><a class="code" href="pkcs11t_8h.html#af25c3841a3f605e6414f4c9ef5592ed9">00069</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#af25c3841a3f605e6414f4c9ef5592ed9">CK_UTF8CHAR_PTR</a>;
<a name="l00070"></a><a class="code" href="pkcs11t_8h.html#af18ced3aa6adcd9f76ae8c132ed2eeb9">00070</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#af18ced3aa6adcd9f76ae8c132ed2eeb9">CK_ULONG_PTR</a>;
<a name="l00071"></a><a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">00071</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a>;
<a name="l00072"></a>00072
<a name="l00073"></a>00073 <span class="comment">/* Pointer to a CK_VOID_PTR-- i.e., pointer to pointer to void */</span>
<a name="l00074"></a><a class="code" href="pkcs11t_8h.html#ae0b1b81b8173ec1695352ff3c44f1254">00074</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#ae0b1b81b8173ec1695352ff3c44f1254">CK_VOID_PTR_PTR</a>;
<a name="l00075"></a>00075
<a name="l00076"></a>00076
<a name="l00077"></a>00077 <span class="comment">/* The following value is always invalid if used as a session */</span>
<a name="l00078"></a>00078 <span class="comment">/* handle or object handle */</span>
<a name="l00079"></a><a class="code" href="pkcs11t_8h.html#a2af6d186fdf0c77cc349021570c5ba56">00079</a> <span class="preprocessor">#define CK_INVALID_HANDLE 0</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>
<a name="l00081"></a>00081
<a name="l00082"></a><a class="code" href="structCK__VERSION.html">00082</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__VERSION.html">CK_VERSION</a> {
<a name="l00083"></a><a class="code" href="structCK__VERSION.html#a96b314f49be835333e693c17b0a40f06">00083</a> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="structCK__VERSION.html#a96b314f49be835333e693c17b0a40f06">major</a>; <span class="comment">/* integer portion of version number */</span>
<a name="l00084"></a><a class="code" href="structCK__VERSION.html#afec7f286f6d9e98425bff2fdd6443372">00084</a> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="structCK__VERSION.html#afec7f286f6d9e98425bff2fdd6443372">minor</a>; <span class="comment">/* 1/100ths portion of version number */</span>
<a name="l00085"></a>00085 } <a class="code" href="structCK__VERSION.html">CK_VERSION</a>;
<a name="l00086"></a>00086
<a name="l00087"></a><a class="code" href="pkcs11t_8h.html#af01b8ea83d8028eac3e8a106e92ddbd0">00087</a> <span class="keyword">typedef</span> <a class="code" href="structCK__VERSION.html">CK_VERSION</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#af01b8ea83d8028eac3e8a106e92ddbd0">CK_VERSION_PTR</a>;
<a name="l00088"></a>00088
<a name="l00089"></a>00089
<a name="l00090"></a><a class="code" href="structCK__INFO.html">00090</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__INFO.html">CK_INFO</a> {
<a name="l00091"></a>00091 <span class="comment">/* manufacturerID and libraryDecription have been changed from</span>
<a name="l00092"></a>00092 <span class="comment"> * CK_CHAR to CK_UTF8CHAR for v2.10 */</span>
<a name="l00093"></a><a class="code" href="structCK__INFO.html#a8c135f83d41b378762e0f8d4c0c3dd22">00093</a> <a class="code" href="structCK__VERSION.html">CK_VERSION</a> <a class="code" href="structCK__INFO.html#a8c135f83d41b378762e0f8d4c0c3dd22">cryptokiVersion</a>; <span class="comment">/* Cryptoki interface ver */</span>
<a name="l00094"></a><a class="code" href="structCK__INFO.html#a734f9aeeb46b5b72f35f7624900a7efe">00094</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="structCK__INFO.html#a734f9aeeb46b5b72f35f7624900a7efe">manufacturerID</a>[32]; <span class="comment">/* blank padded */</span>
<a name="l00095"></a><a class="code" href="structCK__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">00095</a> <a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">CK_FLAGS</a> <a class="code" href="structCK__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">flags</a>; <span class="comment">/* must be zero */</span>
<a name="l00096"></a>00096
<a name="l00097"></a>00097 <span class="comment">/* libraryDescription and libraryVersion are new for v2.0 */</span>
<a name="l00098"></a><a class="code" href="structCK__INFO.html#a0b17d88b8ad1d503e4897da501c38f02">00098</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="structCK__INFO.html#a0b17d88b8ad1d503e4897da501c38f02">libraryDescription</a>[32]; <span class="comment">/* blank padded */</span>
<a name="l00099"></a><a class="code" href="structCK__INFO.html#a291242e173ab56616e7f122434a779b0">00099</a> <a class="code" href="structCK__VERSION.html">CK_VERSION</a> <a class="code" href="structCK__INFO.html#a291242e173ab56616e7f122434a779b0">libraryVersion</a>; <span class="comment">/* version of library */</span>
<a name="l00100"></a>00100 } <a class="code" href="structCK__INFO.html">CK_INFO</a>;
<a name="l00101"></a>00101
<a name="l00102"></a><a class="code" href="pkcs11t_8h.html#a2d8a8dcb105d17ae3a86aced319789fd">00102</a> <span class="keyword">typedef</span> <a class="code" href="structCK__INFO.html">CK_INFO</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a2d8a8dcb105d17ae3a86aced319789fd">CK_INFO_PTR</a>;
<a name="l00103"></a>00103
<a name="l00104"></a>00104
<a name="l00105"></a>00105 <span class="comment">/* CK_NOTIFICATION enumerates the types of notifications that</span>
<a name="l00106"></a>00106 <span class="comment"> * Cryptoki provides to an application */</span>
<a name="l00107"></a>00107 <span class="comment">/* CK_NOTIFICATION has been changed from an enum to a CK_ULONG</span>
<a name="l00108"></a>00108 <span class="comment"> * for v2.0 */</span>
<a name="l00109"></a><a class="code" href="pkcs11t_8h.html#a468971392c5970e96adc63a9e69ecb23">00109</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a468971392c5970e96adc63a9e69ecb23">CK_NOTIFICATION</a>;
<a name="l00110"></a><a class="code" href="pkcs11t_8h.html#a306c776b624162bed077cc095b95cdf1">00110</a> <span class="preprocessor">#define CKN_SURRENDER 0</span>
<a name="l00111"></a>00111 <span class="preprocessor"></span>
<a name="l00112"></a>00112
<a name="l00113"></a><a class="code" href="pkcs11t_8h.html#a53398953158f3b452e0513a0b78a0c5a">00113</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a53398953158f3b452e0513a0b78a0c5a">CK_SLOT_ID</a>;
<a name="l00114"></a>00114
<a name="l00115"></a><a class="code" href="pkcs11t_8h.html#acfc64439d8d8e40db6e3be1ebbbc78bc">00115</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a53398953158f3b452e0513a0b78a0c5a">CK_SLOT_ID</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#acfc64439d8d8e40db6e3be1ebbbc78bc">CK_SLOT_ID_PTR</a>;
<a name="l00116"></a>00116
<a name="l00117"></a>00117
<a name="l00118"></a>00118 <span class="comment">/* CK_SLOT_INFO provides information about a slot */</span>
<a name="l00119"></a><a class="code" href="structCK__SLOT__INFO.html">00119</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SLOT__INFO.html">CK_SLOT_INFO</a> {
<a name="l00120"></a>00120 <span class="comment">/* slotDescription and manufacturerID have been changed from</span>
<a name="l00121"></a>00121 <span class="comment"> * CK_CHAR to CK_UTF8CHAR for v2.10 */</span>
<a name="l00122"></a><a class="code" href="structCK__SLOT__INFO.html#a97ee7d9024c62ceb7a06ff010dd153bb">00122</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="structCK__SLOT__INFO.html#a97ee7d9024c62ceb7a06ff010dd153bb">slotDescription</a>[64]; <span class="comment">/* blank padded */</span>
<a name="l00123"></a><a class="code" href="structCK__SLOT__INFO.html#a734f9aeeb46b5b72f35f7624900a7efe">00123</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="structCK__SLOT__INFO.html#a734f9aeeb46b5b72f35f7624900a7efe">manufacturerID</a>[32]; <span class="comment">/* blank padded */</span>
<a name="l00124"></a><a class="code" href="structCK__SLOT__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">00124</a> <a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">CK_FLAGS</a> <a class="code" href="structCK__SLOT__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">flags</a>;
<a name="l00125"></a>00125
<a name="l00126"></a>00126 <span class="comment">/* hardwareVersion and firmwareVersion are new for v2.0 */</span>
<a name="l00127"></a><a class="code" href="structCK__SLOT__INFO.html#a13aace04822afda5af556b8eccfc447d">00127</a> <a class="code" href="structCK__VERSION.html">CK_VERSION</a> <a class="code" href="structCK__SLOT__INFO.html#a13aace04822afda5af556b8eccfc447d">hardwareVersion</a>; <span class="comment">/* version of hardware */</span>
<a name="l00128"></a><a class="code" href="structCK__SLOT__INFO.html#a60a4109f4e2c04a2cd38f2b2b32c86f7">00128</a> <a class="code" href="structCK__VERSION.html">CK_VERSION</a> <a class="code" href="structCK__SLOT__INFO.html#a60a4109f4e2c04a2cd38f2b2b32c86f7">firmwareVersion</a>; <span class="comment">/* version of firmware */</span>
<a name="l00129"></a>00129 } <a class="code" href="structCK__SLOT__INFO.html">CK_SLOT_INFO</a>;
<a name="l00130"></a>00130
<a name="l00131"></a>00131 <span class="comment">/* flags: bit flags that provide capabilities of the slot</span>
<a name="l00132"></a>00132 <span class="comment"> * Bit Flag Mask Meaning</span>
<a name="l00133"></a>00133 <span class="comment"> */</span>
<a name="l00134"></a><a class="code" href="pkcs11t_8h.html#ae3feb76e24f914d123190ebb61f1b814">00134</a> <span class="preprocessor">#define CKF_TOKEN_PRESENT 0x00000001 </span><span class="comment">/* a token is there */</span>
<a name="l00135"></a><a class="code" href="pkcs11t_8h.html#a68e8ae1552f039a762396589c78065d0">00135</a> <span class="preprocessor">#define CKF_REMOVABLE_DEVICE 0x00000002 </span><span class="comment">/* removable devices */</span>
<a name="l00136"></a><a class="code" href="pkcs11t_8h.html#a1015f151cf80b957cac697b5282b5552">00136</a> <span class="preprocessor">#define CKF_HW_SLOT 0x00000004 </span><span class="comment">/* hardware slot */</span>
<a name="l00137"></a>00137
<a name="l00138"></a><a class="code" href="pkcs11t_8h.html#a35c78d4deb2c2c75cd2d9ea40de6c57e">00138</a> <span class="keyword">typedef</span> <a class="code" href="structCK__SLOT__INFO.html">CK_SLOT_INFO</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a35c78d4deb2c2c75cd2d9ea40de6c57e">CK_SLOT_INFO_PTR</a>;
<a name="l00139"></a>00139
<a name="l00140"></a>00140
<a name="l00141"></a>00141 <span class="comment">/* CK_TOKEN_INFO provides information about a token */</span>
<a name="l00142"></a><a class="code" href="structCK__TOKEN__INFO.html">00142</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__TOKEN__INFO.html">CK_TOKEN_INFO</a> {
<a name="l00143"></a>00143 <span class="comment">/* label, manufacturerID, and model have been changed from</span>
<a name="l00144"></a>00144 <span class="comment"> * CK_CHAR to CK_UTF8CHAR for v2.10 */</span>
<a name="l00145"></a><a class="code" href="structCK__TOKEN__INFO.html#afcbb066289e9ac53e4fa2f716928285b">00145</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="structCK__TOKEN__INFO.html#afcbb066289e9ac53e4fa2f716928285b">label</a>[32]; <span class="comment">/* blank padded */</span>
<a name="l00146"></a><a class="code" href="structCK__TOKEN__INFO.html#a734f9aeeb46b5b72f35f7624900a7efe">00146</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="structCK__TOKEN__INFO.html#a734f9aeeb46b5b72f35f7624900a7efe">manufacturerID</a>[32]; <span class="comment">/* blank padded */</span>
<a name="l00147"></a><a class="code" href="structCK__TOKEN__INFO.html#ad4eef90d5ee128bd3a5d85e7f583c633">00147</a> <a class="code" href="pkcs11t_8h.html#a0b0f8118c33f8a96a6af834bbab1df0c">CK_UTF8CHAR</a> <a class="code" href="structCK__TOKEN__INFO.html#ad4eef90d5ee128bd3a5d85e7f583c633">model</a>[16]; <span class="comment">/* blank padded */</span>
<a name="l00148"></a><a class="code" href="structCK__TOKEN__INFO.html#aa6bebb747d5f21cab37536f826d60c8b">00148</a> <a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">CK_CHAR</a> <a class="code" href="structCK__TOKEN__INFO.html#aa6bebb747d5f21cab37536f826d60c8b">serialNumber</a>[16]; <span class="comment">/* blank padded */</span>
<a name="l00149"></a><a class="code" href="structCK__TOKEN__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">00149</a> <a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">CK_FLAGS</a> <a class="code" href="structCK__TOKEN__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">flags</a>; <span class="comment">/* see below */</span>
<a name="l00150"></a>00150
<a name="l00151"></a>00151 <span class="comment">/* ulMaxSessionCount, ulSessionCount, ulMaxRwSessionCount,</span>
<a name="l00152"></a>00152 <span class="comment"> * ulRwSessionCount, ulMaxPinLen, and ulMinPinLen have all been</span>
<a name="l00153"></a>00153 <span class="comment"> * changed from CK_USHORT to CK_ULONG for v2.0 */</span>
<a name="l00154"></a><a class="code" href="structCK__TOKEN__INFO.html#a394870908a45cd7d77e9782bf8bc6084">00154</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a394870908a45cd7d77e9782bf8bc6084">ulMaxSessionCount</a>; <span class="comment">/* max open sessions */</span>
<a name="l00155"></a><a class="code" href="structCK__TOKEN__INFO.html#a2cb6413a03ac0656763d4f8a224c1dbf">00155</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a2cb6413a03ac0656763d4f8a224c1dbf">ulSessionCount</a>; <span class="comment">/* sess. now open */</span>
<a name="l00156"></a><a class="code" href="structCK__TOKEN__INFO.html#a9fd4e8ef694bceb1e6f770f8fd2e4433">00156</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a9fd4e8ef694bceb1e6f770f8fd2e4433">ulMaxRwSessionCount</a>; <span class="comment">/* max R/W sessions */</span>
<a name="l00157"></a><a class="code" href="structCK__TOKEN__INFO.html#a39de3a16823c0b86ad1c7eb3bdc96dee">00157</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a39de3a16823c0b86ad1c7eb3bdc96dee">ulRwSessionCount</a>; <span class="comment">/* R/W sess. now open */</span>
<a name="l00158"></a><a class="code" href="structCK__TOKEN__INFO.html#a4c60397f414863f328338adf72b5981d">00158</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a4c60397f414863f328338adf72b5981d">ulMaxPinLen</a>; <span class="comment">/* in bytes */</span>
<a name="l00159"></a><a class="code" href="structCK__TOKEN__INFO.html#a3b072cc87216ed127c027c402593844a">00159</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a3b072cc87216ed127c027c402593844a">ulMinPinLen</a>; <span class="comment">/* in bytes */</span>
<a name="l00160"></a><a class="code" href="structCK__TOKEN__INFO.html#a16e1947af9da868c8624d4628b6c8487">00160</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a16e1947af9da868c8624d4628b6c8487">ulTotalPublicMemory</a>; <span class="comment">/* in bytes */</span>
<a name="l00161"></a><a class="code" href="structCK__TOKEN__INFO.html#a6c13a6a0eb580001cb0d0a21f977e75b">00161</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a6c13a6a0eb580001cb0d0a21f977e75b">ulFreePublicMemory</a>; <span class="comment">/* in bytes */</span>
<a name="l00162"></a><a class="code" href="structCK__TOKEN__INFO.html#af980569d979ee7f3e94424c58594607f">00162</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#af980569d979ee7f3e94424c58594607f">ulTotalPrivateMemory</a>; <span class="comment">/* in bytes */</span>
<a name="l00163"></a><a class="code" href="structCK__TOKEN__INFO.html#a039dbab2d84c79f65abf8b78d0f74ef4">00163</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__TOKEN__INFO.html#a039dbab2d84c79f65abf8b78d0f74ef4">ulFreePrivateMemory</a>; <span class="comment">/* in bytes */</span>
<a name="l00164"></a>00164
<a name="l00165"></a>00165 <span class="comment">/* hardwareVersion, firmwareVersion, and time are new for</span>
<a name="l00166"></a>00166 <span class="comment"> * v2.0 */</span>
<a name="l00167"></a><a class="code" href="structCK__TOKEN__INFO.html#a13aace04822afda5af556b8eccfc447d">00167</a> <a class="code" href="structCK__VERSION.html">CK_VERSION</a> <a class="code" href="structCK__TOKEN__INFO.html#a13aace04822afda5af556b8eccfc447d">hardwareVersion</a>; <span class="comment">/* version of hardware */</span>
<a name="l00168"></a><a class="code" href="structCK__TOKEN__INFO.html#a60a4109f4e2c04a2cd38f2b2b32c86f7">00168</a> <a class="code" href="structCK__VERSION.html">CK_VERSION</a> <a class="code" href="structCK__TOKEN__INFO.html#a60a4109f4e2c04a2cd38f2b2b32c86f7">firmwareVersion</a>; <span class="comment">/* version of firmware */</span>
<a name="l00169"></a><a class="code" href="structCK__TOKEN__INFO.html#ae44f05ac955ad6b395ed5b11f9546b37">00169</a> <a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">CK_CHAR</a> <a class="code" href="structCK__TOKEN__INFO.html#ae44f05ac955ad6b395ed5b11f9546b37">utcTime</a>[16]; <span class="comment">/* time */</span>
<a name="l00170"></a>00170 } <a class="code" href="structCK__TOKEN__INFO.html">CK_TOKEN_INFO</a>;
<a name="l00171"></a>00171
<a name="l00172"></a>00172 <span class="comment">/* The flags parameter is defined as follows:</span>
<a name="l00173"></a>00173 <span class="comment"> * Bit Flag Mask Meaning</span>
<a name="l00174"></a>00174 <span class="comment"> */</span>
<a name="l00175"></a><a class="code" href="pkcs11t_8h.html#aaa67adc085a801c92cd1588099c8eb35">00175</a> <span class="preprocessor">#define CKF_RNG 0x00000001 </span><span class="comment">/* has random #</span>
<a name="l00176"></a>00176 <span class="comment"> * generator */</span>
<a name="l00177"></a><a class="code" href="pkcs11t_8h.html#af4bf8d3491f7a56e9766cd2a7c15d844">00177</a> <span class="preprocessor">#define CKF_WRITE_PROTECTED 0x00000002 </span><span class="comment">/* token is</span>
<a name="l00178"></a>00178 <span class="comment"> * write-</span>
<a name="l00179"></a>00179 <span class="comment"> * protected */</span>
<a name="l00180"></a><a class="code" href="pkcs11t_8h.html#a0fbceff3a65cca3090ebe8b1e66e0cb5">00180</a> <span class="preprocessor">#define CKF_LOGIN_REQUIRED 0x00000004 </span><span class="comment">/* user must</span>
<a name="l00181"></a>00181 <span class="comment"> * login */</span>
<a name="l00182"></a><a class="code" href="pkcs11t_8h.html#a4642ee82315ffef28c2d2245fa30ba78">00182</a> <span class="preprocessor">#define CKF_USER_PIN_INITIALIZED 0x00000008 </span><span class="comment">/* normal user's</span>
<a name="l00183"></a>00183 <span class="comment"> * PIN is set */</span>
<a name="l00184"></a>00184
<a name="l00185"></a>00185 <span class="comment">/* CKF_RESTORE_KEY_NOT_NEEDED is new for v2.0. If it is set,</span>
<a name="l00186"></a>00186 <span class="comment"> * that means that *every* time the state of cryptographic</span>
<a name="l00187"></a>00187 <span class="comment"> * operations of a session is successfully saved, all keys</span>
<a name="l00188"></a>00188 <span class="comment"> * needed to continue those operations are stored in the state */</span>
<a name="l00189"></a><a class="code" href="pkcs11t_8h.html#abd923d58521290e696ba00c43c485761">00189</a> <span class="preprocessor">#define CKF_RESTORE_KEY_NOT_NEEDED 0x00000020</span>
<a name="l00190"></a>00190 <span class="preprocessor"></span>
<a name="l00191"></a>00191 <span class="comment">/* CKF_CLOCK_ON_TOKEN is new for v2.0. If it is set, that means</span>
<a name="l00192"></a>00192 <span class="comment"> * that the token has some sort of clock. The time on that</span>
<a name="l00193"></a>00193 <span class="comment"> * clock is returned in the token info structure */</span>
<a name="l00194"></a><a class="code" href="pkcs11t_8h.html#aee2ad3a03371cf5409f9aed260048fba">00194</a> <span class="preprocessor">#define CKF_CLOCK_ON_TOKEN 0x00000040</span>
<a name="l00195"></a>00195 <span class="preprocessor"></span>
<a name="l00196"></a>00196 <span class="comment">/* CKF_PROTECTED_AUTHENTICATION_PATH is new for v2.0. If it is</span>
<a name="l00197"></a>00197 <span class="comment"> * set, that means that there is some way for the user to login</span>
<a name="l00198"></a>00198 <span class="comment"> * without sending a PIN through the Cryptoki library itself */</span>
<a name="l00199"></a><a class="code" href="pkcs11t_8h.html#a11cf3f03454b4a3bf4e541891f225628">00199</a> <span class="preprocessor">#define CKF_PROTECTED_AUTHENTICATION_PATH 0x00000100</span>
<a name="l00200"></a>00200 <span class="preprocessor"></span>
<a name="l00201"></a>00201 <span class="comment">/* CKF_DUAL_CRYPTO_OPERATIONS is new for v2.0. If it is true,</span>
<a name="l00202"></a>00202 <span class="comment"> * that means that a single session with the token can perform</span>
<a name="l00203"></a>00203 <span class="comment"> * dual simultaneous cryptographic operations (digest and</span>
<a name="l00204"></a>00204 <span class="comment"> * encrypt; decrypt and digest; sign and encrypt; and decrypt</span>
<a name="l00205"></a>00205 <span class="comment"> * and sign) */</span>
<a name="l00206"></a><a class="code" href="pkcs11t_8h.html#a938d3ebc9bace3a9da81abf33c16a932">00206</a> <span class="preprocessor">#define CKF_DUAL_CRYPTO_OPERATIONS 0x00000200</span>
<a name="l00207"></a>00207 <span class="preprocessor"></span>
<a name="l00208"></a>00208 <span class="comment">/* CKF_TOKEN_INITIALIZED if new for v2.10. If it is true, the</span>
<a name="l00209"></a>00209 <span class="comment"> * token has been initialized using C_InitializeToken or an</span>
<a name="l00210"></a>00210 <span class="comment"> * equivalent mechanism outside the scope of PKCS #11.</span>
<a name="l00211"></a>00211 <span class="comment"> * Calling C_InitializeToken when this flag is set will cause</span>
<a name="l00212"></a>00212 <span class="comment"> * the token to be reinitialized. */</span>
<a name="l00213"></a><a class="code" href="pkcs11t_8h.html#a1b7d32772ca8e20793b3f45c8ac0879f">00213</a> <span class="preprocessor">#define CKF_TOKEN_INITIALIZED 0x00000400</span>
<a name="l00214"></a>00214 <span class="preprocessor"></span>
<a name="l00215"></a>00215 <span class="comment">/* CKF_SECONDARY_AUTHENTICATION if new for v2.10. If it is</span>
<a name="l00216"></a>00216 <span class="comment"> * true, the token supports secondary authentication for</span>
<a name="l00217"></a>00217 <span class="comment"> * private key objects. */</span>
<a name="l00218"></a><a class="code" href="pkcs11t_8h.html#a6ac1229d7289805efba8b6b4543f6be7">00218</a> <span class="preprocessor">#define CKF_SECONDARY_AUTHENTICATION 0x00000800</span>
<a name="l00219"></a>00219 <span class="preprocessor"></span>
<a name="l00220"></a>00220 <span class="comment">/* CKF_USER_PIN_COUNT_LOW if new for v2.10. If it is true, an</span>
<a name="l00221"></a>00221 <span class="comment"> * incorrect user login PIN has been entered at least once</span>
<a name="l00222"></a>00222 <span class="comment"> * since the last successful authentication. */</span>
<a name="l00223"></a><a class="code" href="pkcs11t_8h.html#a73c36bc866d6d9d78f1cdd3546e143ee">00223</a> <span class="preprocessor">#define CKF_USER_PIN_COUNT_LOW 0x00010000</span>
<a name="l00224"></a>00224 <span class="preprocessor"></span>
<a name="l00225"></a>00225 <span class="comment">/* CKF_USER_PIN_FINAL_TRY if new for v2.10. If it is true,</span>
<a name="l00226"></a>00226 <span class="comment"> * supplying an incorrect user PIN will it to become locked. */</span>
<a name="l00227"></a><a class="code" href="pkcs11t_8h.html#a23a21cef1d0f5ddf0f02b40f94bbeafd">00227</a> <span class="preprocessor">#define CKF_USER_PIN_FINAL_TRY 0x00020000</span>
<a name="l00228"></a>00228 <span class="preprocessor"></span>
<a name="l00229"></a>00229 <span class="comment">/* CKF_USER_PIN_LOCKED if new for v2.10. If it is true, the</span>
<a name="l00230"></a>00230 <span class="comment"> * user PIN has been locked. User login to the token is not</span>
<a name="l00231"></a>00231 <span class="comment"> * possible. */</span>
<a name="l00232"></a><a class="code" href="pkcs11t_8h.html#ae00467977f3a8c69d7961323e0ea73ed">00232</a> <span class="preprocessor">#define CKF_USER_PIN_LOCKED 0x00040000</span>
<a name="l00233"></a>00233 <span class="preprocessor"></span>
<a name="l00234"></a>00234 <span class="comment">/* CKF_USER_PIN_TO_BE_CHANGED if new for v2.10. If it is true,</span>
<a name="l00235"></a>00235 <span class="comment"> * the user PIN value is the default value set by token</span>
<a name="l00236"></a>00236 <span class="comment"> * initialization or manufacturing, or the PIN has been</span>
<a name="l00237"></a>00237 <span class="comment"> * expired by the card. */</span>
<a name="l00238"></a><a class="code" href="pkcs11t_8h.html#ac62a838c17530bf0c462ef4c23ed8745">00238</a> <span class="preprocessor">#define CKF_USER_PIN_TO_BE_CHANGED 0x00080000</span>
<a name="l00239"></a>00239 <span class="preprocessor"></span>
<a name="l00240"></a>00240 <span class="comment">/* CKF_SO_PIN_COUNT_LOW if new for v2.10. If it is true, an</span>
<a name="l00241"></a>00241 <span class="comment"> * incorrect SO login PIN has been entered at least once since</span>
<a name="l00242"></a>00242 <span class="comment"> * the last successful authentication. */</span>
<a name="l00243"></a><a class="code" href="pkcs11t_8h.html#ad19cba85a3f310f4f169c32b147a39f4">00243</a> <span class="preprocessor">#define CKF_SO_PIN_COUNT_LOW 0x00100000</span>
<a name="l00244"></a>00244 <span class="preprocessor"></span>
<a name="l00245"></a>00245 <span class="comment">/* CKF_SO_PIN_FINAL_TRY if new for v2.10. If it is true,</span>
<a name="l00246"></a>00246 <span class="comment"> * supplying an incorrect SO PIN will it to become locked. */</span>
<a name="l00247"></a><a class="code" href="pkcs11t_8h.html#ab12b4a5d339bd229d29050c6fcb88975">00247</a> <span class="preprocessor">#define CKF_SO_PIN_FINAL_TRY 0x00200000</span>
<a name="l00248"></a>00248 <span class="preprocessor"></span>
<a name="l00249"></a>00249 <span class="comment">/* CKF_SO_PIN_LOCKED if new for v2.10. If it is true, the SO</span>
<a name="l00250"></a>00250 <span class="comment"> * PIN has been locked. SO login to the token is not possible.</span>
<a name="l00251"></a>00251 <span class="comment"> */</span>
<a name="l00252"></a><a class="code" href="pkcs11t_8h.html#ac97260c6a113312faba7177f8c113730">00252</a> <span class="preprocessor">#define CKF_SO_PIN_LOCKED 0x00400000</span>
<a name="l00253"></a>00253 <span class="preprocessor"></span>
<a name="l00254"></a>00254 <span class="comment">/* CKF_SO_PIN_TO_BE_CHANGED if new for v2.10. If it is true,</span>
<a name="l00255"></a>00255 <span class="comment"> * the SO PIN value is the default value set by token</span>
<a name="l00256"></a>00256 <span class="comment"> * initialization or manufacturing, or the PIN has been</span>
<a name="l00257"></a>00257 <span class="comment"> * expired by the card. */</span>
<a name="l00258"></a><a class="code" href="pkcs11t_8h.html#a94404ad67f9e2a68ba429b503ff47485">00258</a> <span class="preprocessor">#define CKF_SO_PIN_TO_BE_CHANGED 0x00800000</span>
<a name="l00259"></a>00259 <span class="preprocessor"></span>
<a name="l00260"></a><a class="code" href="pkcs11t_8h.html#a3fc3ab2029b24a1f5dfc59f7bad056b4">00260</a> <span class="keyword">typedef</span> <a class="code" href="structCK__TOKEN__INFO.html">CK_TOKEN_INFO</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a3fc3ab2029b24a1f5dfc59f7bad056b4">CK_TOKEN_INFO_PTR</a>;
<a name="l00261"></a>00261
<a name="l00262"></a>00262
<a name="l00263"></a>00263 <span class="comment">/* CK_SESSION_HANDLE is a Cryptoki-assigned value that</span>
<a name="l00264"></a>00264 <span class="comment"> * identifies a session */</span>
<a name="l00265"></a><a class="code" href="pkcs11t_8h.html#a5a263e303e42c8b2f3bc08315e34fc4f">00265</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a5a263e303e42c8b2f3bc08315e34fc4f">CK_SESSION_HANDLE</a>;
<a name="l00266"></a>00266
<a name="l00267"></a><a class="code" href="pkcs11t_8h.html#aef4990311e533d6c22fad877d4c42c03">00267</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a5a263e303e42c8b2f3bc08315e34fc4f">CK_SESSION_HANDLE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#aef4990311e533d6c22fad877d4c42c03">CK_SESSION_HANDLE_PTR</a>;
<a name="l00268"></a>00268
<a name="l00269"></a>00269
<a name="l00270"></a>00270 <span class="comment">/* CK_USER_TYPE enumerates the types of Cryptoki users */</span>
<a name="l00271"></a>00271 <span class="comment">/* CK_USER_TYPE has been changed from an enum to a CK_ULONG for</span>
<a name="l00272"></a>00272 <span class="comment"> * v2.0 */</span>
<a name="l00273"></a><a class="code" href="pkcs11t_8h.html#a727c371da3a59aba32fc006d408f80d3">00273</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a727c371da3a59aba32fc006d408f80d3">CK_USER_TYPE</a>;
<a name="l00274"></a>00274 <span class="comment">/* Security Officer */</span>
<a name="l00275"></a><a class="code" href="pkcs11t_8h.html#aa04c956ab5629adf3a4e3c217c3a7fa3">00275</a> <span class="preprocessor">#define CKU_SO 0</span>
<a name="l00276"></a>00276 <span class="preprocessor"></span><span class="comment">/* Normal user */</span>
<a name="l00277"></a><a class="code" href="pkcs11t_8h.html#a500f51010fbd16496f3e62add2aff700">00277</a> <span class="preprocessor">#define CKU_USER 1</span>
<a name="l00278"></a>00278 <span class="preprocessor"></span>
<a name="l00279"></a>00279
<a name="l00280"></a>00280 <span class="comment">/* CK_STATE enumerates the session states */</span>
<a name="l00281"></a>00281 <span class="comment">/* CK_STATE has been changed from an enum to a CK_ULONG for</span>
<a name="l00282"></a>00282 <span class="comment"> * v2.0 */</span>
<a name="l00283"></a><a class="code" href="pkcs11t_8h.html#aed206032672e4a4edcce33a364ff0445">00283</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#aed206032672e4a4edcce33a364ff0445">CK_STATE</a>;
<a name="l00284"></a><a class="code" href="pkcs11t_8h.html#aa0f0c9d38d8fe10a1d287bd8706823c8">00284</a> <span class="preprocessor">#define CKS_RO_PUBLIC_SESSION 0</span>
<a name="l00285"></a><a class="code" href="pkcs11t_8h.html#a4a7db0752e13ffc652e1ca40bfd9855b">00285</a> <span class="preprocessor"></span><span class="preprocessor">#define CKS_RO_USER_FUNCTIONS 1</span>
<a name="l00286"></a><a class="code" href="pkcs11t_8h.html#a1af2c4e2430a8fc6c7c93604d8b3a7ba">00286</a> <span class="preprocessor"></span><span class="preprocessor">#define CKS_RW_PUBLIC_SESSION 2</span>
<a name="l00287"></a><a class="code" href="pkcs11t_8h.html#aa0a31009308771ffaf42e04ffb84068b">00287</a> <span class="preprocessor"></span><span class="preprocessor">#define CKS_RW_USER_FUNCTIONS 3</span>
<a name="l00288"></a><a class="code" href="pkcs11t_8h.html#aee75753005d31d596362c5547d566eb5">00288</a> <span class="preprocessor"></span><span class="preprocessor">#define CKS_RW_SO_FUNCTIONS 4</span>
<a name="l00289"></a>00289 <span class="preprocessor"></span>
<a name="l00290"></a>00290
<a name="l00291"></a>00291 <span class="comment">/* CK_SESSION_INFO provides information about a session */</span>
<a name="l00292"></a><a class="code" href="structCK__SESSION__INFO.html">00292</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SESSION__INFO.html">CK_SESSION_INFO</a> {
<a name="l00293"></a><a class="code" href="structCK__SESSION__INFO.html#ab4c6d0426f7dede81bd82715f74c2cbb">00293</a> <a class="code" href="pkcs11t_8h.html#a53398953158f3b452e0513a0b78a0c5a">CK_SLOT_ID</a> <a class="code" href="structCK__SESSION__INFO.html#ab4c6d0426f7dede81bd82715f74c2cbb">slotID</a>;
<a name="l00294"></a><a class="code" href="structCK__SESSION__INFO.html#a1940765200d80bc2f37ec2335d2ac185">00294</a> <a class="code" href="pkcs11t_8h.html#aed206032672e4a4edcce33a364ff0445">CK_STATE</a> <a class="code" href="structCK__SESSION__INFO.html#a1940765200d80bc2f37ec2335d2ac185">state</a>;
<a name="l00295"></a><a class="code" href="structCK__SESSION__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">00295</a> <a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">CK_FLAGS</a> <a class="code" href="structCK__SESSION__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">flags</a>; <span class="comment">/* see below */</span>
<a name="l00296"></a>00296
<a name="l00297"></a>00297 <span class="comment">/* ulDeviceError was changed from CK_USHORT to CK_ULONG for</span>
<a name="l00298"></a>00298 <span class="comment"> * v2.0 */</span>
<a name="l00299"></a><a class="code" href="structCK__SESSION__INFO.html#a68db637bb951d29e21f2e44639ce5017">00299</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SESSION__INFO.html#a68db637bb951d29e21f2e44639ce5017">ulDeviceError</a>; <span class="comment">/* device-dependent error code */</span>
<a name="l00300"></a>00300 } <a class="code" href="structCK__SESSION__INFO.html">CK_SESSION_INFO</a>;
<a name="l00301"></a>00301
<a name="l00302"></a>00302 <span class="comment">/* The flags are defined in the following table:</span>
<a name="l00303"></a>00303 <span class="comment"> * Bit Flag Mask Meaning</span>
<a name="l00304"></a>00304 <span class="comment"> */</span>
<a name="l00305"></a><a class="code" href="pkcs11t_8h.html#a49615820fe3b72c616fb71cfbe6957a4">00305</a> <span class="preprocessor">#define CKF_RW_SESSION 0x00000002 </span><span class="comment">/* session is r/w */</span>
<a name="l00306"></a><a class="code" href="pkcs11t_8h.html#a910c33108d07cc3aee7c22d65b83d2ee">00306</a> <span class="preprocessor">#define CKF_SERIAL_SESSION 0x00000004 </span><span class="comment">/* no parallel */</span>
<a name="l00307"></a>00307
<a name="l00308"></a><a class="code" href="pkcs11t_8h.html#a1e6e862fe5939066510cdf361fb59f8c">00308</a> <span class="keyword">typedef</span> <a class="code" href="structCK__SESSION__INFO.html">CK_SESSION_INFO</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a1e6e862fe5939066510cdf361fb59f8c">CK_SESSION_INFO_PTR</a>;
<a name="l00309"></a>00309
<a name="l00310"></a>00310
<a name="l00311"></a>00311 <span class="comment">/* CK_OBJECT_HANDLE is a token-specific identifier for an</span>
<a name="l00312"></a>00312 <span class="comment"> * object */</span>
<a name="l00313"></a><a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">00313</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a>;
<a name="l00314"></a>00314
<a name="l00315"></a><a class="code" href="pkcs11t_8h.html#a42a298b2f343261d27b87140090106d4">00315</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a42a298b2f343261d27b87140090106d4">CK_OBJECT_HANDLE_PTR</a>;
<a name="l00316"></a>00316
<a name="l00317"></a>00317
<a name="l00318"></a>00318 <span class="comment">/* CK_OBJECT_CLASS is a value that identifies the classes (or</span>
<a name="l00319"></a>00319 <span class="comment"> * types) of objects that Cryptoki recognizes. It is defined</span>
<a name="l00320"></a>00320 <span class="comment"> * as follows: */</span>
<a name="l00321"></a>00321 <span class="comment">/* CK_OBJECT_CLASS was changed from CK_USHORT to CK_ULONG for</span>
<a name="l00322"></a>00322 <span class="comment"> * v2.0 */</span>
<a name="l00323"></a><a class="code" href="pkcs11t_8h.html#a553d5a17ce37aaca1c4033c71404bc7d">00323</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a553d5a17ce37aaca1c4033c71404bc7d">CK_OBJECT_CLASS</a>;
<a name="l00324"></a>00324
<a name="l00325"></a>00325 <span class="comment">/* The following classes of objects are defined: */</span>
<a name="l00326"></a>00326 <span class="comment">/* CKO_HW_FEATURE is new for v2.10 */</span>
<a name="l00327"></a>00327 <span class="comment">/* CKO_DOMAIN_PARAMETERS is new for v2.11 */</span>
<a name="l00328"></a><a class="code" href="pkcs11t_8h.html#a89ba66a1939998c058c049964ac0a24a">00328</a> <span class="preprocessor">#define CKO_DATA 0x00000000</span>
<a name="l00329"></a><a class="code" href="pkcs11t_8h.html#a457c8513d35d53d7a2abe79f28c17a92">00329</a> <span class="preprocessor"></span><span class="preprocessor">#define CKO_CERTIFICATE 0x00000001</span>
<a name="l00330"></a><a class="code" href="pkcs11t_8h.html#a105a73f3224e9745296afdf322c0d3d1">00330</a> <span class="preprocessor"></span><span class="preprocessor">#define CKO_PUBLIC_KEY 0x00000002</span>
<a name="l00331"></a><a class="code" href="pkcs11t_8h.html#a8aa610efb7f7dd562bce4576250753a8">00331</a> <span class="preprocessor"></span><span class="preprocessor">#define CKO_PRIVATE_KEY 0x00000003</span>
<a name="l00332"></a><a class="code" href="pkcs11t_8h.html#a35306ac9f52ce0f9f45ac66b8bc4dcc7">00332</a> <span class="preprocessor"></span><span class="preprocessor">#define CKO_SECRET_KEY 0x00000004</span>
<a name="l00333"></a><a class="code" href="pkcs11t_8h.html#aa1a7f92f4c7963562c49821745c1983c">00333</a> <span class="preprocessor"></span><span class="preprocessor">#define CKO_HW_FEATURE 0x00000005</span>
<a name="l00334"></a><a class="code" href="pkcs11t_8h.html#aded4fa7cb3cf018238530e2228db747e">00334</a> <span class="preprocessor"></span><span class="preprocessor">#define CKO_DOMAIN_PARAMETERS 0x00000006</span>
<a name="l00335"></a><a class="code" href="pkcs11t_8h.html#aa3b803f7d8895c31f026e38c8d44aa41">00335</a> <span class="preprocessor"></span><span class="preprocessor">#define CKO_VENDOR_DEFINED 0x80000000</span>
<a name="l00336"></a>00336 <span class="preprocessor"></span>
<a name="l00337"></a><a class="code" href="pkcs11t_8h.html#ae9e5176705adad6c773f7a03f85c5198">00337</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a553d5a17ce37aaca1c4033c71404bc7d">CK_OBJECT_CLASS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#ae9e5176705adad6c773f7a03f85c5198">CK_OBJECT_CLASS_PTR</a>;
<a name="l00338"></a>00338
<a name="l00339"></a>00339 <span class="comment">/* CK_HW_FEATURE_TYPE is new for v2.10. CK_HW_FEATURE_TYPE is a</span>
<a name="l00340"></a>00340 <span class="comment"> * value that identifies the hardware feature type of an object</span>
<a name="l00341"></a>00341 <span class="comment"> * with CK_OBJECT_CLASS equal to CKO_HW_FEATURE. */</span>
<a name="l00342"></a><a class="code" href="pkcs11t_8h.html#ad2483f566f9b0e36f53f7a7676359af6">00342</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#ad2483f566f9b0e36f53f7a7676359af6">CK_HW_FEATURE_TYPE</a>;
<a name="l00343"></a>00343
<a name="l00344"></a>00344 <span class="comment">/* The following hardware feature types are defined */</span>
<a name="l00345"></a><a class="code" href="pkcs11t_8h.html#a7d3e0e8c5eb6b8aa66f2ef8485995d1c">00345</a> <span class="preprocessor">#define CKH_MONOTONIC_COUNTER 0x00000001</span>
<a name="l00346"></a><a class="code" href="pkcs11t_8h.html#a91d9674a3c36ace63467b9816cde6c3a">00346</a> <span class="preprocessor"></span><span class="preprocessor">#define CKH_CLOCK 0x00000002</span>
<a name="l00347"></a><a class="code" href="pkcs11t_8h.html#acd76bdd674a6827383676dcaaa4e39bc">00347</a> <span class="preprocessor"></span><span class="preprocessor">#define CKH_VENDOR_DEFINED 0x80000000</span>
<a name="l00348"></a>00348 <span class="preprocessor"></span>
<a name="l00349"></a>00349 <span class="comment">/* CK_KEY_TYPE is a value that identifies a key type */</span>
<a name="l00350"></a>00350 <span class="comment">/* CK_KEY_TYPE was changed from CK_USHORT to CK_ULONG for v2.0 */</span>
<a name="l00351"></a><a class="code" href="pkcs11t_8h.html#a9c23b2668a44bd4d61e4d61d00fefa8a">00351</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a9c23b2668a44bd4d61e4d61d00fefa8a">CK_KEY_TYPE</a>;
<a name="l00352"></a>00352
<a name="l00353"></a>00353 <span class="comment">/* the following key types are defined: */</span>
<a name="l00354"></a><a class="code" href="pkcs11t_8h.html#a354731675f1ecc116e220b58b32636a1">00354</a> <span class="preprocessor">#define CKK_RSA 0x00000000</span>
<a name="l00355"></a><a class="code" href="pkcs11t_8h.html#a963772b0c7282ced4aef2efd1d2f7cfd">00355</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_DSA 0x00000001</span>
<a name="l00356"></a><a class="code" href="pkcs11t_8h.html#a0a5f9edda6a0ec27c17088c7cd630fce">00356</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_DH 0x00000002</span>
<a name="l00357"></a>00357 <span class="preprocessor"></span>
<a name="l00358"></a>00358 <span class="comment">/* CKK_ECDSA and CKK_KEA are new for v2.0 */</span>
<a name="l00359"></a>00359 <span class="comment">/* CKK_ECDSA is deprecated in v2.11, CKK_EC is preferred. */</span>
<a name="l00360"></a><a class="code" href="pkcs11t_8h.html#ad6845ed4aefbb685a022ac2d95faab7f">00360</a> <span class="preprocessor">#define CKK_ECDSA 0x00000003</span>
<a name="l00361"></a><a class="code" href="pkcs11t_8h.html#ae95493c017b9901d9d1c96354119eadb">00361</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_EC 0x00000003</span>
<a name="l00362"></a><a class="code" href="pkcs11t_8h.html#af3ffddacc92d239dc3803e0617b229d2">00362</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_X9_42_DH 0x00000004</span>
<a name="l00363"></a><a class="code" href="pkcs11t_8h.html#a3be1629592cb4eb1b6311723731faf9f">00363</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_KEA 0x00000005</span>
<a name="l00364"></a>00364 <span class="preprocessor"></span>
<a name="l00365"></a><a class="code" href="pkcs11t_8h.html#aaf8c226acc7ea8b6b9e021465b1ae65b">00365</a> <span class="preprocessor">#define CKK_GENERIC_SECRET 0x00000010</span>
<a name="l00366"></a><a class="code" href="pkcs11t_8h.html#aa900c92c7b28711c683885578242ca04">00366</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_RC2 0x00000011</span>
<a name="l00367"></a><a class="code" href="pkcs11t_8h.html#a05b0d1cd76c999b62145e355b1a51fed">00367</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_RC4 0x00000012</span>
<a name="l00368"></a><a class="code" href="pkcs11t_8h.html#a59c75476ff3fb5a0f079a118d7c69cec">00368</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_DES 0x00000013</span>
<a name="l00369"></a><a class="code" href="pkcs11t_8h.html#a0f3f5dddc18138fef771f1069eadca4f">00369</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_DES2 0x00000014</span>
<a name="l00370"></a><a class="code" href="pkcs11t_8h.html#a036547cde09821530b57c5698d2e6696">00370</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_DES3 0x00000015</span>
<a name="l00371"></a>00371 <span class="preprocessor"></span>
<a name="l00372"></a>00372 <span class="comment">/* all these key types are new for v2.0 */</span>
<a name="l00373"></a><a class="code" href="pkcs11t_8h.html#aa56a297cd0330f84405e4074f675b206">00373</a> <span class="preprocessor">#define CKK_CAST 0x00000016</span>
<a name="l00374"></a><a class="code" href="pkcs11t_8h.html#ab60cf37a1ae21f81e990f05d32a9b888">00374</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_CAST3 0x00000017</span>
<a name="l00375"></a>00375 <span class="preprocessor"></span><span class="comment">/* CKK_CAST5 is deprecated in v2.11, CKK_CAST128 is preferred. */</span>
<a name="l00376"></a><a class="code" href="pkcs11t_8h.html#a3258ab2076d778e611511ea612842c41">00376</a> <span class="preprocessor">#define CKK_CAST5 0x00000018</span>
<a name="l00377"></a><a class="code" href="pkcs11t_8h.html#a30f9a4628f263b0eae3b4531dca5649b">00377</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_CAST128 0x00000018</span>
<a name="l00378"></a><a class="code" href="pkcs11t_8h.html#a0acd796483444c4f7a9838cc73d6474f">00378</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_RC5 0x00000019</span>
<a name="l00379"></a><a class="code" href="pkcs11t_8h.html#a8b2e365ce506f2163db80b7fa5fb925a">00379</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_IDEA 0x0000001A</span>
<a name="l00380"></a><a class="code" href="pkcs11t_8h.html#ab728d975721fe807f45fb3c1acbac56e">00380</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_SKIPJACK 0x0000001B</span>
<a name="l00381"></a><a class="code" href="pkcs11t_8h.html#a96bee3b10b53c34f6d8a1e75e216a7e3">00381</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_BATON 0x0000001C</span>
<a name="l00382"></a><a class="code" href="pkcs11t_8h.html#a7cc235f40c7dc0d5d12ffd4d11fa85dc">00382</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_JUNIPER 0x0000001D</span>
<a name="l00383"></a><a class="code" href="pkcs11t_8h.html#ace22dfb73d4b16f6f4fde39675eca332">00383</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_CDMF 0x0000001E</span>
<a name="l00384"></a><a class="code" href="pkcs11t_8h.html#aed4be5ddb31d8886cc171f177a1ba0fd">00384</a> <span class="preprocessor"></span><span class="preprocessor">#define CKK_AES 0x0000001F</span>
<a name="l00385"></a>00385 <span class="preprocessor"></span>
<a name="l00386"></a><a class="code" href="pkcs11t_8h.html#abc34496c5c030272f7403efa2026247f">00386</a> <span class="preprocessor">#define CKK_VENDOR_DEFINED 0x80000000</span>
<a name="l00387"></a>00387 <span class="preprocessor"></span>
<a name="l00388"></a>00388
<a name="l00389"></a>00389 <span class="comment">/* CK_CERTIFICATE_TYPE is a value that identifies a certificate</span>
<a name="l00390"></a>00390 <span class="comment"> * type */</span>
<a name="l00391"></a>00391 <span class="comment">/* CK_CERTIFICATE_TYPE was changed from CK_USHORT to CK_ULONG</span>
<a name="l00392"></a>00392 <span class="comment"> * for v2.0 */</span>
<a name="l00393"></a><a class="code" href="pkcs11t_8h.html#aca0d8caef5c175605967b2048f26cce2">00393</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#aca0d8caef5c175605967b2048f26cce2">CK_CERTIFICATE_TYPE</a>;
<a name="l00394"></a>00394
<a name="l00395"></a>00395 <span class="comment">/* The following certificate types are defined: */</span>
<a name="l00396"></a>00396 <span class="comment">/* CKC_X_509_ATTR_CERT is new for v2.10 */</span>
<a name="l00397"></a><a class="code" href="pkcs11t_8h.html#a224cf68f2f62fbf662f5f04bd8e1fcf8">00397</a> <span class="preprocessor">#define CKC_X_509 0x00000000</span>
<a name="l00398"></a><a class="code" href="pkcs11t_8h.html#a3d8d9e12233a14395fc035e90189691f">00398</a> <span class="preprocessor"></span><span class="preprocessor">#define CKC_X_509_ATTR_CERT 0x00000001</span>
<a name="l00399"></a><a class="code" href="pkcs11t_8h.html#a079a1431a964177202e9788c0d93dfaf">00399</a> <span class="preprocessor"></span><span class="preprocessor">#define CKC_VENDOR_DEFINED 0x80000000</span>
<a name="l00400"></a>00400 <span class="preprocessor"></span>
<a name="l00401"></a>00401
<a name="l00402"></a>00402 <span class="comment">/* CK_ATTRIBUTE_TYPE is a value that identifies an attribute</span>
<a name="l00403"></a>00403 <span class="comment"> * type */</span>
<a name="l00404"></a>00404 <span class="comment">/* CK_ATTRIBUTE_TYPE was changed from CK_USHORT to CK_ULONG for</span>
<a name="l00405"></a>00405 <span class="comment"> * v2.0 */</span>
<a name="l00406"></a><a class="code" href="pkcs11t_8h.html#ad95456bab28dc2208c2d0e1d01f8ae8a">00406</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#ad95456bab28dc2208c2d0e1d01f8ae8a">CK_ATTRIBUTE_TYPE</a>;
<a name="l00407"></a>00407
<a name="l00408"></a>00408 <span class="comment">/* The following attribute types are defined: */</span>
<a name="l00409"></a><a class="code" href="pkcs11t_8h.html#af867d3ae9286fe0f8cab4995bb6af337">00409</a> <span class="preprocessor">#define CKA_CLASS 0x00000000</span>
<a name="l00410"></a><a class="code" href="pkcs11t_8h.html#a05c1c460160443a739c6e0ce47ae3fc8">00410</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_TOKEN 0x00000001</span>
<a name="l00411"></a><a class="code" href="pkcs11t_8h.html#a5244a0b0719c79614044460bdcf34d11">00411</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_PRIVATE 0x00000002</span>
<a name="l00412"></a><a class="code" href="pkcs11t_8h.html#acf009a991c04b5c4305cc76356225aa7">00412</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_LABEL 0x00000003</span>
<a name="l00413"></a><a class="code" href="pkcs11t_8h.html#a29e92bc0d0386eb4f8c0130a052c7b0e">00413</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_APPLICATION 0x00000010</span>
<a name="l00414"></a><a class="code" href="pkcs11t_8h.html#a799f3b28e5c856ef4229d12257818841">00414</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_VALUE 0x00000011</span>
<a name="l00415"></a>00415 <span class="preprocessor"></span>
<a name="l00416"></a>00416 <span class="comment">/* CKA_OBJECT_ID is new for v2.10 */</span>
<a name="l00417"></a><a class="code" href="pkcs11t_8h.html#a285c534cf9095b68290026e903977a61">00417</a> <span class="preprocessor">#define CKA_OBJECT_ID 0x00000012</span>
<a name="l00418"></a>00418 <span class="preprocessor"></span>
<a name="l00419"></a><a class="code" href="pkcs11t_8h.html#ac7d2a83448425bf632b01520ab49ef38">00419</a> <span class="preprocessor">#define CKA_CERTIFICATE_TYPE 0x00000080</span>
<a name="l00420"></a><a class="code" href="pkcs11t_8h.html#a12da4ca58c753fe7c8f36511ce6efac3">00420</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_ISSUER 0x00000081</span>
<a name="l00421"></a><a class="code" href="pkcs11t_8h.html#a0ef811f6a416074b477197156bd1c6cb">00421</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SERIAL_NUMBER 0x00000082</span>
<a name="l00422"></a>00422 <span class="preprocessor"></span>
<a name="l00423"></a>00423 <span class="comment">/* CKA_AC_ISSUER, CKA_OWNER, and CKA_ATTR_TYPES are new</span>
<a name="l00424"></a>00424 <span class="comment"> * for v2.10 */</span>
<a name="l00425"></a><a class="code" href="pkcs11t_8h.html#a40a6b2ccedcb6ff3ed2fc1b53c3d6e9e">00425</a> <span class="preprocessor">#define CKA_AC_ISSUER 0x00000083</span>
<a name="l00426"></a><a class="code" href="pkcs11t_8h.html#ab38f321846273b06d7993998be8925f0">00426</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_OWNER 0x00000084</span>
<a name="l00427"></a><a class="code" href="pkcs11t_8h.html#ac610ff7bc9747ed07a9ac7bfccebccd5">00427</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_ATTR_TYPES 0x00000085</span>
<a name="l00428"></a>00428 <span class="preprocessor"></span>
<a name="l00429"></a>00429 <span class="comment">/* CKA_TRUSTED is new for v2.11 */</span>
<a name="l00430"></a><a class="code" href="pkcs11t_8h.html#a9d0f1ca5ca7760567d120ebead491c2d">00430</a> <span class="preprocessor">#define CKA_TRUSTED 0x00000086</span>
<a name="l00431"></a>00431 <span class="preprocessor"></span>
<a name="l00432"></a><a class="code" href="pkcs11t_8h.html#aa438b88cbcb8a921288eeefba5613274">00432</a> <span class="preprocessor">#define CKA_KEY_TYPE 0x00000100</span>
<a name="l00433"></a><a class="code" href="pkcs11t_8h.html#afef7cb3cf999a4ea9962e780c3e6e1cf">00433</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SUBJECT 0x00000101</span>
<a name="l00434"></a><a class="code" href="pkcs11t_8h.html#a2846a5a41835defa47716ccc3bcc4913">00434</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_ID 0x00000102</span>
<a name="l00435"></a><a class="code" href="pkcs11t_8h.html#a5fe5fb4a38ca6781c50e4cba8a2af0d6">00435</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SENSITIVE 0x00000103</span>
<a name="l00436"></a><a class="code" href="pkcs11t_8h.html#ad427016a08d7b8f0d8fe910b907e9b44">00436</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_ENCRYPT 0x00000104</span>
<a name="l00437"></a><a class="code" href="pkcs11t_8h.html#aa26224c75961163975e3de4347940401">00437</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_DECRYPT 0x00000105</span>
<a name="l00438"></a><a class="code" href="pkcs11t_8h.html#af7a34bb656aa7e2b7e813dab0a6ac7b7">00438</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_WRAP 0x00000106</span>
<a name="l00439"></a><a class="code" href="pkcs11t_8h.html#a9a9a988131e4e93d0758e43c555bdc97">00439</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_UNWRAP 0x00000107</span>
<a name="l00440"></a><a class="code" href="pkcs11t_8h.html#a6ffd14ad7386d9aa7178e841a964a87e">00440</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SIGN 0x00000108</span>
<a name="l00441"></a><a class="code" href="pkcs11t_8h.html#a66386b8788c722385f26c73832bdab54">00441</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SIGN_RECOVER 0x00000109</span>
<a name="l00442"></a><a class="code" href="pkcs11t_8h.html#a84c89cd9def639cb4a58145063b7bd42">00442</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_VERIFY 0x0000010A</span>
<a name="l00443"></a><a class="code" href="pkcs11t_8h.html#a314039afde7f5e665c5552fe6e4720cd">00443</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_VERIFY_RECOVER 0x0000010B</span>
<a name="l00444"></a><a class="code" href="pkcs11t_8h.html#ab65b14615d388fc862c82a8d1e163f84">00444</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_DERIVE 0x0000010C</span>
<a name="l00445"></a><a class="code" href="pkcs11t_8h.html#a0a0d32db5990a5d6ec059e11b3bd9343">00445</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_START_DATE 0x00000110</span>
<a name="l00446"></a><a class="code" href="pkcs11t_8h.html#ac4674ddebd046d0ae3c2eb5f9b281569">00446</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_END_DATE 0x00000111</span>
<a name="l00447"></a><a class="code" href="pkcs11t_8h.html#a505044b8a4656ed27cf95f5f43c2c0c0">00447</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_MODULUS 0x00000120</span>
<a name="l00448"></a><a class="code" href="pkcs11t_8h.html#ace277af7e7da877d65a25411a22a6b39">00448</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_MODULUS_BITS 0x00000121</span>
<a name="l00449"></a><a class="code" href="pkcs11t_8h.html#a3560a0897e67ea3584c5e5d6b49997a9">00449</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_PUBLIC_EXPONENT 0x00000122</span>
<a name="l00450"></a><a class="code" href="pkcs11t_8h.html#a24dbc6c47c74f94256e9a86b047a44c8">00450</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_PRIVATE_EXPONENT 0x00000123</span>
<a name="l00451"></a><a class="code" href="pkcs11t_8h.html#a56db29b456158a6805ee49051715ceca">00451</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_PRIME_1 0x00000124</span>
<a name="l00452"></a><a class="code" href="pkcs11t_8h.html#a93ab45da1c5f54840b624cccb5cde45a">00452</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_PRIME_2 0x00000125</span>
<a name="l00453"></a><a class="code" href="pkcs11t_8h.html#a6c8501b0588f7ce31f993d75928b8f79">00453</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_EXPONENT_1 0x00000126</span>
<a name="l00454"></a><a class="code" href="pkcs11t_8h.html#a750faa17ba348fd5f5a8594b849eaaa5">00454</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_EXPONENT_2 0x00000127</span>
<a name="l00455"></a><a class="code" href="pkcs11t_8h.html#ab17da8a57cccda55b7f6b8be7b8d5aca">00455</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_COEFFICIENT 0x00000128</span>
<a name="l00456"></a><a class="code" href="pkcs11t_8h.html#a4bd8c09683d9e136f2fe116f5e214bce">00456</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_PRIME 0x00000130</span>
<a name="l00457"></a><a class="code" href="pkcs11t_8h.html#ab61023b2ced7c24fc9320164b21a538f">00457</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SUBPRIME 0x00000131</span>
<a name="l00458"></a><a class="code" href="pkcs11t_8h.html#aeda4d5c81c3ebd7dd189a2d7cdee60f3">00458</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_BASE 0x00000132</span>
<a name="l00459"></a>00459 <span class="preprocessor"></span>
<a name="l00460"></a>00460 <span class="comment">/* CKA_PRIME_BITS and CKA_SUB_PRIME_BITS are new for v2.11 */</span>
<a name="l00461"></a><a class="code" href="pkcs11t_8h.html#aeaf95f112773fcb7e4e2fec46058918b">00461</a> <span class="preprocessor">#define CKA_PRIME_BITS 0x00000133</span>
<a name="l00462"></a><a class="code" href="pkcs11t_8h.html#ad4b69bf2f389038383ee83cc772736ee">00462</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SUBPRIME_BITS 0x00000134</span>
<a name="l00463"></a><a class="code" href="pkcs11t_8h.html#a109a89b1da3c434a95453e09378e80d8">00463</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_SUB_PRIME_BITS CKA_SUBPRIME_BITS</span>
<a name="l00464"></a>00464 <span class="preprocessor"></span><span class="comment">/* (To retain backwards-compatibility) */</span>
<a name="l00465"></a>00465
<a name="l00466"></a><a class="code" href="pkcs11t_8h.html#ab06b6f8f1e323866c5dd3d9721e653be">00466</a> <span class="preprocessor">#define CKA_VALUE_BITS 0x00000160</span>
<a name="l00467"></a><a class="code" href="pkcs11t_8h.html#aa5e6a55211664aa7d23cd91b6356d78a">00467</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_VALUE_LEN 0x00000161</span>
<a name="l00468"></a>00468 <span class="preprocessor"></span>
<a name="l00469"></a>00469 <span class="comment">/* CKA_EXTRACTABLE, CKA_LOCAL, CKA_NEVER_EXTRACTABLE,</span>
<a name="l00470"></a>00470 <span class="comment"> * CKA_ALWAYS_SENSITIVE, CKA_MODIFIABLE, CKA_ECDSA_PARAMS,</span>
<a name="l00471"></a>00471 <span class="comment"> * and CKA_EC_POINT are new for v2.0 */</span>
<a name="l00472"></a><a class="code" href="pkcs11t_8h.html#acf37955a2a229d208289962c6f1183b8">00472</a> <span class="preprocessor">#define CKA_EXTRACTABLE 0x00000162</span>
<a name="l00473"></a><a class="code" href="pkcs11t_8h.html#a7f7089933d976e82f882eda6efcf7e66">00473</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_LOCAL 0x00000163</span>
<a name="l00474"></a><a class="code" href="pkcs11t_8h.html#a013b845980a36573e16b427bbf88117c">00474</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_NEVER_EXTRACTABLE 0x00000164</span>
<a name="l00475"></a><a class="code" href="pkcs11t_8h.html#ac103aa0452ee58ef0161eeab8283e419">00475</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_ALWAYS_SENSITIVE 0x00000165</span>
<a name="l00476"></a>00476 <span class="preprocessor"></span>
<a name="l00477"></a>00477 <span class="comment">/* CKA_KEY_GEN_MECHANISM is new for v2.11 */</span>
<a name="l00478"></a><a class="code" href="pkcs11t_8h.html#adb1d70a4e7af46e977ac3f6a265f1a45">00478</a> <span class="preprocessor">#define CKA_KEY_GEN_MECHANISM 0x00000166</span>
<a name="l00479"></a>00479 <span class="preprocessor"></span>
<a name="l00480"></a><a class="code" href="pkcs11t_8h.html#a39688e3f665848ca7868f2ca37aa1aed">00480</a> <span class="preprocessor">#define CKA_MODIFIABLE 0x00000170</span>
<a name="l00481"></a>00481 <span class="preprocessor"></span>
<a name="l00482"></a>00482 <span class="comment">/* CKA_ECDSA_PARAMS is deprecated in v2.11,</span>
<a name="l00483"></a>00483 <span class="comment"> * CKA_EC_PARAMS is preferred. */</span>
<a name="l00484"></a><a class="code" href="pkcs11t_8h.html#a82b8692bd7bed583aa815dc30803f991">00484</a> <span class="preprocessor">#define CKA_ECDSA_PARAMS 0x00000180</span>
<a name="l00485"></a><a class="code" href="pkcs11t_8h.html#af4e399d748bfe19cf956386179e0c3da">00485</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_EC_PARAMS 0x00000180</span>
<a name="l00486"></a>00486 <span class="preprocessor"></span>
<a name="l00487"></a><a class="code" href="pkcs11t_8h.html#a5e015ea623779449fa7ad11e26e2521f">00487</a> <span class="preprocessor">#define CKA_EC_POINT 0x00000181</span>
<a name="l00488"></a>00488 <span class="preprocessor"></span>
<a name="l00489"></a>00489 <span class="comment">/* CKA_SECONDARY_AUTH, CKA_AUTH_PIN_FLAGS,</span>
<a name="l00490"></a>00490 <span class="comment"> * CKA_HW_FEATURE_TYPE, CKA_RESET_ON_INIT, and CKA_HAS_RESET</span>
<a name="l00491"></a>00491 <span class="comment"> * are new for v2.10 */</span>
<a name="l00492"></a><a class="code" href="pkcs11t_8h.html#a060692597a10ca395559a8a23b0b4fb8">00492</a> <span class="preprocessor">#define CKA_SECONDARY_AUTH 0x00000200</span>
<a name="l00493"></a><a class="code" href="pkcs11t_8h.html#a0d8365f3bca2081047a91d798f266099">00493</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_AUTH_PIN_FLAGS 0x00000201</span>
<a name="l00494"></a><a class="code" href="pkcs11t_8h.html#a2f5ca7d591d8e2e25cba0410e548be31">00494</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_HW_FEATURE_TYPE 0x00000300</span>
<a name="l00495"></a><a class="code" href="pkcs11t_8h.html#a841d2fc038f26f2d1dabe7e5c919ce59">00495</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_RESET_ON_INIT 0x00000301</span>
<a name="l00496"></a><a class="code" href="pkcs11t_8h.html#afe0229411d6e0d79806aae009c87aa7f">00496</a> <span class="preprocessor"></span><span class="preprocessor">#define CKA_HAS_RESET 0x00000302</span>
<a name="l00497"></a>00497 <span class="preprocessor"></span>
<a name="l00498"></a><a class="code" href="pkcs11t_8h.html#ac295386494b0a422d0118b9bb79a4152">00498</a> <span class="preprocessor">#define CKA_VENDOR_DEFINED 0x80000000</span>
<a name="l00499"></a>00499 <span class="preprocessor"></span>
<a name="l00500"></a>00500
<a name="l00501"></a>00501 <span class="comment">/* CK_ATTRIBUTE is a structure that includes the type, length</span>
<a name="l00502"></a>00502 <span class="comment"> * and value of an attribute */</span>
<a name="l00503"></a><a class="code" href="structCK__ATTRIBUTE.html">00503</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__ATTRIBUTE.html">CK_ATTRIBUTE</a> {
<a name="l00504"></a><a class="code" href="structCK__ATTRIBUTE.html#a22d50daa724cbe1df81a33ab48ee6927">00504</a> <a class="code" href="pkcs11t_8h.html#ad95456bab28dc2208c2d0e1d01f8ae8a">CK_ATTRIBUTE_TYPE</a> <a class="code" href="structCK__ATTRIBUTE.html#a22d50daa724cbe1df81a33ab48ee6927">type</a>;
<a name="l00505"></a><a class="code" href="structCK__ATTRIBUTE.html#a0584f1322464eff525d957753fd09734">00505</a> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="structCK__ATTRIBUTE.html#a0584f1322464eff525d957753fd09734">pValue</a>;
<a name="l00506"></a>00506
<a name="l00507"></a>00507 <span class="comment">/* ulValueLen went from CK_USHORT to CK_ULONG for v2.0 */</span>
<a name="l00508"></a><a class="code" href="structCK__ATTRIBUTE.html#a5f80a21c442e2b07633dbac15714459b">00508</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__ATTRIBUTE.html#a5f80a21c442e2b07633dbac15714459b">ulValueLen</a>; <span class="comment">/* in bytes */</span>
<a name="l00509"></a>00509 } <a class="code" href="structCK__ATTRIBUTE.html">CK_ATTRIBUTE</a>;
<a name="l00510"></a>00510
<a name="l00511"></a><a class="code" href="pkcs11t_8h.html#a5e825285ada96a9920d361d33698ce04">00511</a> <span class="keyword">typedef</span> <a class="code" href="structCK__ATTRIBUTE.html">CK_ATTRIBUTE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a5e825285ada96a9920d361d33698ce04">CK_ATTRIBUTE_PTR</a>;
<a name="l00512"></a>00512
<a name="l00513"></a>00513
<a name="l00514"></a>00514 <span class="comment">/* CK_DATE is a structure that defines a date */</span>
<a name="l00515"></a><a class="code" href="structCK__DATE.html">00515</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__DATE.html">CK_DATE</a> {
<a name="l00516"></a><a class="code" href="structCK__DATE.html#a2741ea8c5dcaccccdf431005b457331a">00516</a> <a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">CK_CHAR</a> <a class="code" href="structCK__DATE.html#a2741ea8c5dcaccccdf431005b457331a">year</a>[4]; <span class="comment">/* the year ("1900" - "9999") */</span>
<a name="l00517"></a><a class="code" href="structCK__DATE.html#a1f8387dcc52026c2edcd616562053164">00517</a> <a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">CK_CHAR</a> <a class="code" href="structCK__DATE.html#a1f8387dcc52026c2edcd616562053164">month</a>[2]; <span class="comment">/* the month ("01" - "12") */</span>
<a name="l00518"></a><a class="code" href="structCK__DATE.html#ab39893eae400a1e130d7a275d033a5f2">00518</a> <a class="code" href="pkcs11t_8h.html#a0ed4ef152a55e26f435b876927145580">CK_CHAR</a> <a class="code" href="structCK__DATE.html#ab39893eae400a1e130d7a275d033a5f2">day</a>[2]; <span class="comment">/* the day ("01" - "31") */</span>
<a name="l00519"></a>00519 } <a class="code" href="structCK__DATE.html">CK_DATE</a>;
<a name="l00520"></a>00520
<a name="l00521"></a>00521
<a name="l00522"></a>00522 <span class="comment">/* CK_MECHANISM_TYPE is a value that identifies a mechanism</span>
<a name="l00523"></a>00523 <span class="comment"> * type */</span>
<a name="l00524"></a>00524 <span class="comment">/* CK_MECHANISM_TYPE was changed from CK_USHORT to CK_ULONG for</span>
<a name="l00525"></a>00525 <span class="comment"> * v2.0 */</span>
<a name="l00526"></a><a class="code" href="pkcs11t_8h.html#aaf1084907f5cc09a3e0b85ab022a240d">00526</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#aaf1084907f5cc09a3e0b85ab022a240d">CK_MECHANISM_TYPE</a>;
<a name="l00527"></a>00527
<a name="l00528"></a>00528 <span class="comment">/* the following mechanism types are defined: */</span>
<a name="l00529"></a><a class="code" href="pkcs11t_8h.html#a3afa7970e62cb983de2f2b46af9ac43f">00529</a> <span class="preprocessor">#define CKM_RSA_PKCS_KEY_PAIR_GEN 0x00000000</span>
<a name="l00530"></a><a class="code" href="pkcs11t_8h.html#a08a8e0f2109de3ff3bfe26f220447a2e">00530</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RSA_PKCS 0x00000001</span>
<a name="l00531"></a><a class="code" href="pkcs11t_8h.html#aa51b11ead699e17c0bf5ba101624fa9d">00531</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RSA_9796 0x00000002</span>
<a name="l00532"></a><a class="code" href="pkcs11t_8h.html#a109b86cf0259a95accbf5ef9437fce3b">00532</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RSA_X_509 0x00000003</span>
<a name="l00533"></a>00533 <span class="preprocessor"></span>
<a name="l00534"></a>00534 <span class="comment">/* CKM_MD2_RSA_PKCS, CKM_MD5_RSA_PKCS, and CKM_SHA1_RSA_PKCS</span>
<a name="l00535"></a>00535 <span class="comment"> * are new for v2.0. They are mechanisms which hash and sign */</span>
<a name="l00536"></a><a class="code" href="pkcs11t_8h.html#a3447475523ae360f59bb4a42531ff050">00536</a> <span class="preprocessor">#define CKM_MD2_RSA_PKCS 0x00000004</span>
<a name="l00537"></a><a class="code" href="pkcs11t_8h.html#a57dba472d5ed57972c06fe2a832e008c">00537</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_MD5_RSA_PKCS 0x00000005</span>
<a name="l00538"></a><a class="code" href="pkcs11t_8h.html#a9b5d495ac404ebbce07d1f58436ee31d">00538</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SHA1_RSA_PKCS 0x00000006</span>
<a name="l00539"></a>00539 <span class="preprocessor"></span>
<a name="l00540"></a>00540 <span class="comment">/* CKM_RIPEMD128_RSA_PKCS, CKM_RIPEMD160_RSA_PKCS, and</span>
<a name="l00541"></a>00541 <span class="comment"> * CKM_RSA_PKCS_OAEP are new for v2.10 */</span>
<a name="l00542"></a><a class="code" href="pkcs11t_8h.html#ac65e3ab0c2a9a5cff4c2c908dd9cbded">00542</a> <span class="preprocessor">#define CKM_RIPEMD128_RSA_PKCS 0x00000007</span>
<a name="l00543"></a><a class="code" href="pkcs11t_8h.html#aaa1b0033e9a10c3dcc64b2ca64dee3ec">00543</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RIPEMD160_RSA_PKCS 0x00000008</span>
<a name="l00544"></a><a class="code" href="pkcs11t_8h.html#a69da8859ad1e6b4f424d071b42ea4a0c">00544</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RSA_PKCS_OAEP 0x00000009</span>
<a name="l00545"></a>00545 <span class="preprocessor"></span>
<a name="l00546"></a>00546 <span class="comment">/* CKM_RSA_X9_31_KEY_PAIR_GEN, CKM_RSA_X9_31, CKM_SHA1_RSA_X9_31,</span>
<a name="l00547"></a>00547 <span class="comment"> * CKM_RSA_PKCS_PSS, and CKM_SHA1_RSA_PKCS_PSS are new for v2.11 */</span>
<a name="l00548"></a><a class="code" href="pkcs11t_8h.html#a1689d85d1bc858d6d5d6b2d5d562a45c">00548</a> <span class="preprocessor">#define CKM_RSA_X9_31_KEY_PAIR_GEN 0x0000000A</span>
<a name="l00549"></a><a class="code" href="pkcs11t_8h.html#ab4b9f602b4a7f651660ac0e6def9760f">00549</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RSA_X9_31 0x0000000B</span>
<a name="l00550"></a><a class="code" href="pkcs11t_8h.html#a79102e287443813e1dc4ce4660a16294">00550</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SHA1_RSA_X9_31 0x0000000C</span>
<a name="l00551"></a><a class="code" href="pkcs11t_8h.html#ad4f5697408b23623c904df2b1ca8a9f1">00551</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RSA_PKCS_PSS 0x0000000D</span>
<a name="l00552"></a><a class="code" href="pkcs11t_8h.html#ad5943f11b67c32a40d4d6687e9cbb64b">00552</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SHA1_RSA_PKCS_PSS 0x0000000E</span>
<a name="l00553"></a>00553 <span class="preprocessor"></span>
<a name="l00554"></a><a class="code" href="pkcs11t_8h.html#a76f9f1b5e347bba7dd6a5b1d1b158711">00554</a> <span class="preprocessor">#define CKM_DSA_KEY_PAIR_GEN 0x00000010</span>
<a name="l00555"></a><a class="code" href="pkcs11t_8h.html#a2833ca5a03a467796ea183983e64e1a0">00555</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DSA 0x00000011</span>
<a name="l00556"></a><a class="code" href="pkcs11t_8h.html#af1ce2ddcf85ad79ab20ef9e6e2d669e8">00556</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DSA_SHA1 0x00000012</span>
<a name="l00557"></a><a class="code" href="pkcs11t_8h.html#a8ed3d6299dadfc18e830c055d7f45169">00557</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DH_PKCS_KEY_PAIR_GEN 0x00000020</span>
<a name="l00558"></a><a class="code" href="pkcs11t_8h.html#a5f8757209cbafefbb88cf866c8c008a6">00558</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DH_PKCS_DERIVE 0x00000021</span>
<a name="l00559"></a>00559 <span class="preprocessor"></span>
<a name="l00560"></a>00560 <span class="comment">/* CKM_X9_42_DH_KEY_PAIR_GEN, CKM_X9_42_DH_DERIVE,</span>
<a name="l00561"></a>00561 <span class="comment"> * CKM_X9_42_DH_HYBRID_DERIVE, and CKM_X9_42_MQV_DERIVE are new for</span>
<a name="l00562"></a>00562 <span class="comment"> * v2.11 */</span>
<a name="l00563"></a><a class="code" href="pkcs11t_8h.html#a395608f731a1a8b95e0399d20da0d28d">00563</a> <span class="preprocessor">#define CKM_X9_42_DH_KEY_PAIR_GEN 0x00000030</span>
<a name="l00564"></a><a class="code" href="pkcs11t_8h.html#a656ef648531df20b4ba0f11cd34d5bae">00564</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_X9_42_DH_DERIVE 0x00000031</span>
<a name="l00565"></a><a class="code" href="pkcs11t_8h.html#aea826fdb3a6c57a77045dbfde52cc86a">00565</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_X9_42_DH_HYBRID_DERIVE 0x00000032</span>
<a name="l00566"></a><a class="code" href="pkcs11t_8h.html#a86eb1a9d5ad4681656a96fa6707cfdbb">00566</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_X9_42_MQV_DERIVE 0x00000033</span>
<a name="l00567"></a>00567 <span class="preprocessor"></span>
<a name="l00568"></a><a class="code" href="pkcs11t_8h.html#ae287acd4bb687ff5c9fd0c84b3390c7b">00568</a> <span class="preprocessor">#define CKM_RC2_KEY_GEN 0x00000100</span>
<a name="l00569"></a><a class="code" href="pkcs11t_8h.html#af72e4dcf72063fa7248e6519db101f94">00569</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC2_ECB 0x00000101</span>
<a name="l00570"></a><a class="code" href="pkcs11t_8h.html#a3c1b5d50e49f6ac39d2ffa288792e6ba">00570</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC2_CBC 0x00000102</span>
<a name="l00571"></a><a class="code" href="pkcs11t_8h.html#a0e74be75add75cd661f6027456751ee4">00571</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC2_MAC 0x00000103</span>
<a name="l00572"></a>00572 <span class="preprocessor"></span>
<a name="l00573"></a>00573 <span class="comment">/* CKM_RC2_MAC_GENERAL and CKM_RC2_CBC_PAD are new for v2.0 */</span>
<a name="l00574"></a><a class="code" href="pkcs11t_8h.html#ae27d6d0cc37081e67fb97dfcaa20ce16">00574</a> <span class="preprocessor">#define CKM_RC2_MAC_GENERAL 0x00000104</span>
<a name="l00575"></a><a class="code" href="pkcs11t_8h.html#a8d58c3fd3306bf788317d675372fc8a4">00575</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC2_CBC_PAD 0x00000105</span>
<a name="l00576"></a>00576 <span class="preprocessor"></span>
<a name="l00577"></a><a class="code" href="pkcs11t_8h.html#a78a6a6b3c2f4f02fee09bd0c51aa68c4">00577</a> <span class="preprocessor">#define CKM_RC4_KEY_GEN 0x00000110</span>
<a name="l00578"></a><a class="code" href="pkcs11t_8h.html#adf7d45ffd66c0027fa35f5693d779236">00578</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC4 0x00000111</span>
<a name="l00579"></a><a class="code" href="pkcs11t_8h.html#a52695e4abbb0ac8e5e15bd073ec8bbcd">00579</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES_KEY_GEN 0x00000120</span>
<a name="l00580"></a><a class="code" href="pkcs11t_8h.html#a36c4accae78d368d52749ecfc453e8f5">00580</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES_ECB 0x00000121</span>
<a name="l00581"></a><a class="code" href="pkcs11t_8h.html#a45c54d7d4050a547474bae35f64b67f9">00581</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES_CBC 0x00000122</span>
<a name="l00582"></a><a class="code" href="pkcs11t_8h.html#af6efd27eca13646d8bffab89a5447dae">00582</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES_MAC 0x00000123</span>
<a name="l00583"></a>00583 <span class="preprocessor"></span>
<a name="l00584"></a>00584 <span class="comment">/* CKM_DES_MAC_GENERAL and CKM_DES_CBC_PAD are new for v2.0 */</span>
<a name="l00585"></a><a class="code" href="pkcs11t_8h.html#ae8097ae8ae176474963b473cf6983866">00585</a> <span class="preprocessor">#define CKM_DES_MAC_GENERAL 0x00000124</span>
<a name="l00586"></a><a class="code" href="pkcs11t_8h.html#a5b6cddc0e3554ba7efe023bf3c2c8aa0">00586</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES_CBC_PAD 0x00000125</span>
<a name="l00587"></a>00587 <span class="preprocessor"></span>
<a name="l00588"></a><a class="code" href="pkcs11t_8h.html#ad7100507e7914491c33fe7ab38a0cfb0">00588</a> <span class="preprocessor">#define CKM_DES2_KEY_GEN 0x00000130</span>
<a name="l00589"></a><a class="code" href="pkcs11t_8h.html#ad0498f33ee8fc4c4dfb0b2f8f6078dad">00589</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES3_KEY_GEN 0x00000131</span>
<a name="l00590"></a><a class="code" href="pkcs11t_8h.html#ad278646196b1eb0a7763ae26f9bce96e">00590</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES3_ECB 0x00000132</span>
<a name="l00591"></a><a class="code" href="pkcs11t_8h.html#a15bbfa8338858fefac077d33dd051df0">00591</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES3_CBC 0x00000133</span>
<a name="l00592"></a><a class="code" href="pkcs11t_8h.html#aff4fd5ecdb43c09f4224a0fa2d90953b">00592</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES3_MAC 0x00000134</span>
<a name="l00593"></a>00593 <span class="preprocessor"></span>
<a name="l00594"></a>00594 <span class="comment">/* CKM_DES3_MAC_GENERAL, CKM_DES3_CBC_PAD, CKM_CDMF_KEY_GEN,</span>
<a name="l00595"></a>00595 <span class="comment"> * CKM_CDMF_ECB, CKM_CDMF_CBC, CKM_CDMF_MAC,</span>
<a name="l00596"></a>00596 <span class="comment"> * CKM_CDMF_MAC_GENERAL, and CKM_CDMF_CBC_PAD are new for v2.0 */</span>
<a name="l00597"></a><a class="code" href="pkcs11t_8h.html#a6cc50b9b418fe541a96f4e9964e76922">00597</a> <span class="preprocessor">#define CKM_DES3_MAC_GENERAL 0x00000135</span>
<a name="l00598"></a><a class="code" href="pkcs11t_8h.html#a5d0bfa465df778ed00d58e5211498759">00598</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DES3_CBC_PAD 0x00000136</span>
<a name="l00599"></a><a class="code" href="pkcs11t_8h.html#a82a2072dd332211751bb7f071e0c4602">00599</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CDMF_KEY_GEN 0x00000140</span>
<a name="l00600"></a><a class="code" href="pkcs11t_8h.html#a8873085502697f9958389519ba5720ef">00600</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CDMF_ECB 0x00000141</span>
<a name="l00601"></a><a class="code" href="pkcs11t_8h.html#a9903baac534dd02c6aa283e587e28e58">00601</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CDMF_CBC 0x00000142</span>
<a name="l00602"></a><a class="code" href="pkcs11t_8h.html#a6ba16571644189af24ac1bdd51691497">00602</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CDMF_MAC 0x00000143</span>
<a name="l00603"></a><a class="code" href="pkcs11t_8h.html#a9181d5c9198151622c80ca78a19ef102">00603</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CDMF_MAC_GENERAL 0x00000144</span>
<a name="l00604"></a><a class="code" href="pkcs11t_8h.html#a4e5fddc70cfe5956eddef10eca0e3690">00604</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CDMF_CBC_PAD 0x00000145</span>
<a name="l00605"></a>00605 <span class="preprocessor"></span>
<a name="l00606"></a><a class="code" href="pkcs11t_8h.html#a26fb5423ae36327fe54471dfaafe330a">00606</a> <span class="preprocessor">#define CKM_MD2 0x00000200</span>
<a name="l00607"></a>00607 <span class="preprocessor"></span>
<a name="l00608"></a>00608 <span class="comment">/* CKM_MD2_HMAC and CKM_MD2_HMAC_GENERAL are new for v2.0 */</span>
<a name="l00609"></a><a class="code" href="pkcs11t_8h.html#af930f494218245587cc3a8b4b3f2554a">00609</a> <span class="preprocessor">#define CKM_MD2_HMAC 0x00000201</span>
<a name="l00610"></a><a class="code" href="pkcs11t_8h.html#a603b208a8d3d6865783d78f2d5784e45">00610</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_MD2_HMAC_GENERAL 0x00000202</span>
<a name="l00611"></a>00611 <span class="preprocessor"></span>
<a name="l00612"></a><a class="code" href="pkcs11t_8h.html#a1c17b34fde4a4ef9c843a712640f1bb6">00612</a> <span class="preprocessor">#define CKM_MD5 0x00000210</span>
<a name="l00613"></a>00613 <span class="preprocessor"></span>
<a name="l00614"></a>00614 <span class="comment">/* CKM_MD5_HMAC and CKM_MD5_HMAC_GENERAL are new for v2.0 */</span>
<a name="l00615"></a><a class="code" href="pkcs11t_8h.html#ad18fedd74b99073b46312f15a043f64c">00615</a> <span class="preprocessor">#define CKM_MD5_HMAC 0x00000211</span>
<a name="l00616"></a><a class="code" href="pkcs11t_8h.html#a3410fa81c488cdfbb78f998b01127100">00616</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_MD5_HMAC_GENERAL 0x00000212</span>
<a name="l00617"></a>00617 <span class="preprocessor"></span>
<a name="l00618"></a><a class="code" href="pkcs11t_8h.html#af1818a1c453a84f01f2e868307ca8fed">00618</a> <span class="preprocessor">#define CKM_SHA_1 0x00000220</span>
<a name="l00619"></a>00619 <span class="preprocessor"></span>
<a name="l00620"></a>00620 <span class="comment">/* CKM_SHA_1_HMAC and CKM_SHA_1_HMAC_GENERAL are new for v2.0 */</span>
<a name="l00621"></a><a class="code" href="pkcs11t_8h.html#a1eb3f4cee46e624bfbbc6889e1e5bc06">00621</a> <span class="preprocessor">#define CKM_SHA_1_HMAC 0x00000221</span>
<a name="l00622"></a><a class="code" href="pkcs11t_8h.html#a348f4b1f1635d2af4dd8766f94361245">00622</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SHA_1_HMAC_GENERAL 0x00000222</span>
<a name="l00623"></a>00623 <span class="preprocessor"></span>
<a name="l00624"></a>00624 <span class="comment">/* CKM_RIPEMD128, CKM_RIPEMD128_HMAC,</span>
<a name="l00625"></a>00625 <span class="comment"> * CKM_RIPEMD128_HMAC_GENERAL, CKM_RIPEMD160, CKM_RIPEMD160_HMAC,</span>
<a name="l00626"></a>00626 <span class="comment"> * and CKM_RIPEMD160_HMAC_GENERAL are new for v2.10 */</span>
<a name="l00627"></a><a class="code" href="pkcs11t_8h.html#a2a3df078e9e5348727c6a4273e45d61c">00627</a> <span class="preprocessor">#define CKM_RIPEMD128 0x00000230</span>
<a name="l00628"></a><a class="code" href="pkcs11t_8h.html#acec7cdf78e0e806df21158557f6a7c27">00628</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RIPEMD128_HMAC 0x00000231</span>
<a name="l00629"></a><a class="code" href="pkcs11t_8h.html#a5907fed76e9c444b535249176eded40c">00629</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RIPEMD128_HMAC_GENERAL 0x00000232</span>
<a name="l00630"></a><a class="code" href="pkcs11t_8h.html#aa4e882e436e686a922f7cc87c16e64df">00630</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RIPEMD160 0x00000240</span>
<a name="l00631"></a><a class="code" href="pkcs11t_8h.html#aba31458bb144586e61e5f245fdaad454">00631</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RIPEMD160_HMAC 0x00000241</span>
<a name="l00632"></a><a class="code" href="pkcs11t_8h.html#ae1ca57c71cd0f82e335a769f6ca85449">00632</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RIPEMD160_HMAC_GENERAL 0x00000242</span>
<a name="l00633"></a>00633 <span class="preprocessor"></span>
<a name="l00634"></a>00634 <span class="comment">/* All of the following mechanisms are new for v2.0 */</span>
<a name="l00635"></a>00635 <span class="comment">/* Note that CAST128 and CAST5 are the same algorithm */</span>
<a name="l00636"></a><a class="code" href="pkcs11t_8h.html#acf72f592e779c3cfb882d3cc72366d94">00636</a> <span class="preprocessor">#define CKM_CAST_KEY_GEN 0x00000300</span>
<a name="l00637"></a><a class="code" href="pkcs11t_8h.html#aa6b4770603c34a1365e76e0bf2bb0714">00637</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST_ECB 0x00000301</span>
<a name="l00638"></a><a class="code" href="pkcs11t_8h.html#a37a136afc82c125ff0c2e80032ab75c4">00638</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST_CBC 0x00000302</span>
<a name="l00639"></a><a class="code" href="pkcs11t_8h.html#ae267194700d480cf871baf15acd8c8d6">00639</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST_MAC 0x00000303</span>
<a name="l00640"></a><a class="code" href="pkcs11t_8h.html#a72355184a211862de0cbbb018ba80004">00640</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST_MAC_GENERAL 0x00000304</span>
<a name="l00641"></a><a class="code" href="pkcs11t_8h.html#a6db93eb7eca8d6ef93ec4dd203530fbd">00641</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST_CBC_PAD 0x00000305</span>
<a name="l00642"></a><a class="code" href="pkcs11t_8h.html#aa8217fca7d7c4fa536955a21911b01d6">00642</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST3_KEY_GEN 0x00000310</span>
<a name="l00643"></a><a class="code" href="pkcs11t_8h.html#a1ce69befb1d5ca06887a7ce0b4d6c595">00643</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST3_ECB 0x00000311</span>
<a name="l00644"></a><a class="code" href="pkcs11t_8h.html#a2d1906d54660cea9ac4b1afb300d7b7a">00644</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST3_CBC 0x00000312</span>
<a name="l00645"></a><a class="code" href="pkcs11t_8h.html#a81f0edd716f583a44cb44031f8da7f7e">00645</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST3_MAC 0x00000313</span>
<a name="l00646"></a><a class="code" href="pkcs11t_8h.html#a55399060e27e8f6808b5088814a43ae8">00646</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST3_MAC_GENERAL 0x00000314</span>
<a name="l00647"></a><a class="code" href="pkcs11t_8h.html#abb6407fb7b5e1e7513e95c55a2f613e6">00647</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST3_CBC_PAD 0x00000315</span>
<a name="l00648"></a><a class="code" href="pkcs11t_8h.html#a686c3c80e8c23cba59fcae1cb6bc97bb">00648</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST5_KEY_GEN 0x00000320</span>
<a name="l00649"></a><a class="code" href="pkcs11t_8h.html#ae3d8e8709bd8b429f1a2fbb191a26a69">00649</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST128_KEY_GEN 0x00000320</span>
<a name="l00650"></a><a class="code" href="pkcs11t_8h.html#abe101bcead8a32109f3c054d8ec7c7c0">00650</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST5_ECB 0x00000321</span>
<a name="l00651"></a><a class="code" href="pkcs11t_8h.html#aeb9a410d2af71d91132bd0a6ccf0a8f4">00651</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST128_ECB 0x00000321</span>
<a name="l00652"></a><a class="code" href="pkcs11t_8h.html#a6eb33a8ab399f88a6f6efc74889e4577">00652</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST5_CBC 0x00000322</span>
<a name="l00653"></a><a class="code" href="pkcs11t_8h.html#ae8df053e9f84f0e24454c6c9eab05ce5">00653</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST128_CBC 0x00000322</span>
<a name="l00654"></a><a class="code" href="pkcs11t_8h.html#a476081dbb6ff841eab9113b0e3e4e066">00654</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST5_MAC 0x00000323</span>
<a name="l00655"></a><a class="code" href="pkcs11t_8h.html#ad12ea8307fd11b61ec9a757fb0ab32a1">00655</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST128_MAC 0x00000323</span>
<a name="l00656"></a><a class="code" href="pkcs11t_8h.html#a0f823ccbbcdf593d4dff3d5cde5a14af">00656</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST5_MAC_GENERAL 0x00000324</span>
<a name="l00657"></a><a class="code" href="pkcs11t_8h.html#a61d58dd1dbc32df7c5cd7e5e13f9d004">00657</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST128_MAC_GENERAL 0x00000324</span>
<a name="l00658"></a><a class="code" href="pkcs11t_8h.html#a5553fbe14f52313d14473c74cec2809b">00658</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST5_CBC_PAD 0x00000325</span>
<a name="l00659"></a><a class="code" href="pkcs11t_8h.html#a42e0e8bbb089007afa5971ab18be94c6">00659</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CAST128_CBC_PAD 0x00000325</span>
<a name="l00660"></a><a class="code" href="pkcs11t_8h.html#a9651ff5293aeaf58d4e5a298f49ecf1e">00660</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC5_KEY_GEN 0x00000330</span>
<a name="l00661"></a><a class="code" href="pkcs11t_8h.html#afc229891c6ff976c386941250fe6eae6">00661</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC5_ECB 0x00000331</span>
<a name="l00662"></a><a class="code" href="pkcs11t_8h.html#a3e92798df4d0d4e4fbecf33a3638eff1">00662</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC5_CBC 0x00000332</span>
<a name="l00663"></a><a class="code" href="pkcs11t_8h.html#a3a332ee61edb86dbd93cd87828850a4e">00663</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC5_MAC 0x00000333</span>
<a name="l00664"></a><a class="code" href="pkcs11t_8h.html#a8bad319c1b8807c0b7cf03b6652c668f">00664</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC5_MAC_GENERAL 0x00000334</span>
<a name="l00665"></a><a class="code" href="pkcs11t_8h.html#a99c0e97dda660973f579288d5272c0f5">00665</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_RC5_CBC_PAD 0x00000335</span>
<a name="l00666"></a><a class="code" href="pkcs11t_8h.html#a20520b2e6dd2a8d15b189ea82d2d109a">00666</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_IDEA_KEY_GEN 0x00000340</span>
<a name="l00667"></a><a class="code" href="pkcs11t_8h.html#a09f95ceb745ae8426ae80081be85090c">00667</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_IDEA_ECB 0x00000341</span>
<a name="l00668"></a><a class="code" href="pkcs11t_8h.html#a73d8cdece2c9311b2e3c7c589affa2b2">00668</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_IDEA_CBC 0x00000342</span>
<a name="l00669"></a><a class="code" href="pkcs11t_8h.html#a579f7b21b080892a8a42d1cca97e7e5c">00669</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_IDEA_MAC 0x00000343</span>
<a name="l00670"></a><a class="code" href="pkcs11t_8h.html#a4a3b9f957045f2e1edcfffc77fc7d224">00670</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_IDEA_MAC_GENERAL 0x00000344</span>
<a name="l00671"></a><a class="code" href="pkcs11t_8h.html#a4d92b62ac4f43304614677daa7b965c5">00671</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_IDEA_CBC_PAD 0x00000345</span>
<a name="l00672"></a><a class="code" href="pkcs11t_8h.html#a8eb5ca4355d60dcf974107f95e38784b">00672</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_GENERIC_SECRET_KEY_GEN 0x00000350</span>
<a name="l00673"></a><a class="code" href="pkcs11t_8h.html#a182ee4778edd8f7f07c64a7dc1777c50">00673</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CONCATENATE_BASE_AND_KEY 0x00000360</span>
<a name="l00674"></a><a class="code" href="pkcs11t_8h.html#a03fccefd033ee4cf71def43a4bb61ab9">00674</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CONCATENATE_BASE_AND_DATA 0x00000362</span>
<a name="l00675"></a><a class="code" href="pkcs11t_8h.html#ab33766ea305d995ad86c76cc14e6a919">00675</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_CONCATENATE_DATA_AND_BASE 0x00000363</span>
<a name="l00676"></a><a class="code" href="pkcs11t_8h.html#ab47ec4617ce32158806345edb74975d5">00676</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_XOR_BASE_AND_DATA 0x00000364</span>
<a name="l00677"></a><a class="code" href="pkcs11t_8h.html#a6f2d03028497948b8de1eaa3d52841d9">00677</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_EXTRACT_KEY_FROM_KEY 0x00000365</span>
<a name="l00678"></a><a class="code" href="pkcs11t_8h.html#a571876a5b316bd1b048ae7f61b252606">00678</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SSL3_PRE_MASTER_KEY_GEN 0x00000370</span>
<a name="l00679"></a><a class="code" href="pkcs11t_8h.html#a07fcd505758165843badd0b06988e60d">00679</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SSL3_MASTER_KEY_DERIVE 0x00000371</span>
<a name="l00680"></a><a class="code" href="pkcs11t_8h.html#ae77f03ea70287d6ef3101fd411c1d109">00680</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SSL3_KEY_AND_MAC_DERIVE 0x00000372</span>
<a name="l00681"></a>00681 <span class="preprocessor"></span>
<a name="l00682"></a>00682 <span class="comment">/* CKM_SSL3_MASTER_KEY_DERIVE_DH, CKM_TLS_PRE_MASTER_KEY_GEN,</span>
<a name="l00683"></a>00683 <span class="comment"> * CKM_TLS_MASTER_KEY_DERIVE, CKM_TLS_KEY_AND_MAC_DERIVE, and</span>
<a name="l00684"></a>00684 <span class="comment"> * CKM_TLS_MASTER_KEY_DERIVE_DH are new for v2.11 */</span>
<a name="l00685"></a><a class="code" href="pkcs11t_8h.html#a576b1dba5da858d5165f4d5f260ffe88">00685</a> <span class="preprocessor">#define CKM_SSL3_MASTER_KEY_DERIVE_DH 0x00000373</span>
<a name="l00686"></a><a class="code" href="pkcs11t_8h.html#a954b1d9908fa9a4996ba2cd5d76a34ee">00686</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_TLS_PRE_MASTER_KEY_GEN 0x00000374</span>
<a name="l00687"></a><a class="code" href="pkcs11t_8h.html#a01c2dcc4a05adc8b6c6aaf331e9f2231">00687</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_TLS_MASTER_KEY_DERIVE 0x00000375</span>
<a name="l00688"></a><a class="code" href="pkcs11t_8h.html#a4b882fb355dc87626a60b96f5b27c8e9">00688</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_TLS_KEY_AND_MAC_DERIVE 0x00000376</span>
<a name="l00689"></a><a class="code" href="pkcs11t_8h.html#a523832ff97ce57b42b53105308db1a0a">00689</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_TLS_MASTER_KEY_DERIVE_DH 0x00000377</span>
<a name="l00690"></a>00690 <span class="preprocessor"></span>
<a name="l00691"></a><a class="code" href="pkcs11t_8h.html#a6ec1aa2cb0a6a3906f6a62add39d0778">00691</a> <span class="preprocessor">#define CKM_SSL3_MD5_MAC 0x00000380</span>
<a name="l00692"></a><a class="code" href="pkcs11t_8h.html#a057c46a8a2dabdd1df3c6e190050f47f">00692</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SSL3_SHA1_MAC 0x00000381</span>
<a name="l00693"></a><a class="code" href="pkcs11t_8h.html#a80abb350a91b4a9e4d943c2196c56844">00693</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_MD5_KEY_DERIVATION 0x00000390</span>
<a name="l00694"></a><a class="code" href="pkcs11t_8h.html#a9c0bd89c5537c949bcf340acbe075b31">00694</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_MD2_KEY_DERIVATION 0x00000391</span>
<a name="l00695"></a><a class="code" href="pkcs11t_8h.html#aa2c207b597457eebd83f16c39c77c1f8">00695</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SHA1_KEY_DERIVATION 0x00000392</span>
<a name="l00696"></a><a class="code" href="pkcs11t_8h.html#ab9e4dcd6ff4c1bab96881648d7ed6bf4">00696</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_MD2_DES_CBC 0x000003A0</span>
<a name="l00697"></a><a class="code" href="pkcs11t_8h.html#ae0f276a79b16ca1f15b7507900c81298">00697</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_MD5_DES_CBC 0x000003A1</span>
<a name="l00698"></a><a class="code" href="pkcs11t_8h.html#aa269af118d6155cbfa89132263d8298c">00698</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_MD5_CAST_CBC 0x000003A2</span>
<a name="l00699"></a><a class="code" href="pkcs11t_8h.html#adee98d4aad53c0dffd8ee9c729d25af7">00699</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_MD5_CAST3_CBC 0x000003A3</span>
<a name="l00700"></a><a class="code" href="pkcs11t_8h.html#a3c86a234ccbb25bb73551d2466cb3531">00700</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_MD5_CAST5_CBC 0x000003A4</span>
<a name="l00701"></a><a class="code" href="pkcs11t_8h.html#a97dc21e338480e438bfcc28aca0c5d4d">00701</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_MD5_CAST128_CBC 0x000003A4</span>
<a name="l00702"></a><a class="code" href="pkcs11t_8h.html#a6497999fc5dc6e3bb922bacf461da902">00702</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_CAST5_CBC 0x000003A5</span>
<a name="l00703"></a><a class="code" href="pkcs11t_8h.html#aafb9ea7f5996798f65c5823fa201f95f">00703</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_CAST128_CBC 0x000003A5</span>
<a name="l00704"></a><a class="code" href="pkcs11t_8h.html#a6b0fac555b9ac0b0e4e7738f1fe29e12">00704</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_RC4_128 0x000003A6</span>
<a name="l00705"></a><a class="code" href="pkcs11t_8h.html#a648309524343f372cc1c66b6302fc832">00705</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_RC4_40 0x000003A7</span>
<a name="l00706"></a><a class="code" href="pkcs11t_8h.html#aa98e9e24f12715a5ccb73d2ce2aae8ee">00706</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_DES3_EDE_CBC 0x000003A8</span>
<a name="l00707"></a><a class="code" href="pkcs11t_8h.html#a394bba0f8d646101d31a082fe8f964b3">00707</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_DES2_EDE_CBC 0x000003A9</span>
<a name="l00708"></a><a class="code" href="pkcs11t_8h.html#a558fcdec80f2b050564e7c74ed158dc4">00708</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_RC2_128_CBC 0x000003AA</span>
<a name="l00709"></a><a class="code" href="pkcs11t_8h.html#ac327b15f7c311c0e465c586645c2de4d">00709</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_PBE_SHA1_RC2_40_CBC 0x000003AB</span>
<a name="l00710"></a>00710 <span class="preprocessor"></span>
<a name="l00711"></a>00711 <span class="comment">/* CKM_PKCS5_PBKD2 is new for v2.10 */</span>
<a name="l00712"></a><a class="code" href="pkcs11t_8h.html#a041648e073826b963d506180d54934af">00712</a> <span class="preprocessor">#define CKM_PKCS5_PBKD2 0x000003B0</span>
<a name="l00713"></a>00713 <span class="preprocessor"></span>
<a name="l00714"></a><a class="code" href="pkcs11t_8h.html#a5a002074663ed9eb0cdaa0b52c849c18">00714</a> <span class="preprocessor">#define CKM_PBA_SHA1_WITH_SHA1_HMAC 0x000003C0</span>
<a name="l00715"></a><a class="code" href="pkcs11t_8h.html#a6654fa376999db490da995470a040479">00715</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_KEY_WRAP_LYNKS 0x00000400</span>
<a name="l00716"></a><a class="code" href="pkcs11t_8h.html#aba7a3fa6fd28e4d5c25612c53605ed13">00716</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_KEY_WRAP_SET_OAEP 0x00000401</span>
<a name="l00717"></a>00717 <span class="preprocessor"></span>
<a name="l00718"></a>00718 <span class="comment">/* Fortezza mechanisms */</span>
<a name="l00719"></a><a class="code" href="pkcs11t_8h.html#a7d26005dda056845c52a56f47663db54">00719</a> <span class="preprocessor">#define CKM_SKIPJACK_KEY_GEN 0x00001000</span>
<a name="l00720"></a><a class="code" href="pkcs11t_8h.html#ad3dbaf3e3cfee7c871e35257687e5ef9">00720</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_ECB64 0x00001001</span>
<a name="l00721"></a><a class="code" href="pkcs11t_8h.html#a356db457efb83c749747d962893e96ee">00721</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_CBC64 0x00001002</span>
<a name="l00722"></a><a class="code" href="pkcs11t_8h.html#ad5091da1c9b2424e054c0192067fbcb1">00722</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_OFB64 0x00001003</span>
<a name="l00723"></a><a class="code" href="pkcs11t_8h.html#a1d638002ef80bb821073c099bb08758f">00723</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_CFB64 0x00001004</span>
<a name="l00724"></a><a class="code" href="pkcs11t_8h.html#a6fe4c335dd275926c46940dc649245fc">00724</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_CFB32 0x00001005</span>
<a name="l00725"></a><a class="code" href="pkcs11t_8h.html#a7cb654fb1cbb84b7c7ecae6ecb37c580">00725</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_CFB16 0x00001006</span>
<a name="l00726"></a><a class="code" href="pkcs11t_8h.html#a166d869bfb2fabc605571fc6aa1fe0e2">00726</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_CFB8 0x00001007</span>
<a name="l00727"></a><a class="code" href="pkcs11t_8h.html#ad388c5f8f08e4002be7591e375aa418a">00727</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_WRAP 0x00001008</span>
<a name="l00728"></a><a class="code" href="pkcs11t_8h.html#a65e0a2f7e5a2af4febd24832cf9472e6">00728</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_PRIVATE_WRAP 0x00001009</span>
<a name="l00729"></a><a class="code" href="pkcs11t_8h.html#a337536b783ac45efa166c3f5803fd2b8">00729</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_SKIPJACK_RELAYX 0x0000100a</span>
<a name="l00730"></a><a class="code" href="pkcs11t_8h.html#a839153667558b56a7c212b3a20219736">00730</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_KEA_KEY_PAIR_GEN 0x00001010</span>
<a name="l00731"></a><a class="code" href="pkcs11t_8h.html#a3d0d2c816ebc85e2c39b00b0b5fbe4eb">00731</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_KEA_KEY_DERIVE 0x00001011</span>
<a name="l00732"></a><a class="code" href="pkcs11t_8h.html#a1aafa24b09778ff689f3320f39fb00af">00732</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_FORTEZZA_TIMESTAMP 0x00001020</span>
<a name="l00733"></a><a class="code" href="pkcs11t_8h.html#a23f3f2e49982fa724121cc75abb9813a">00733</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_BATON_KEY_GEN 0x00001030</span>
<a name="l00734"></a><a class="code" href="pkcs11t_8h.html#a42e132fe204528b782946c58b7f1bce0">00734</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_BATON_ECB128 0x00001031</span>
<a name="l00735"></a><a class="code" href="pkcs11t_8h.html#a80f0c57fb667ca1c0aaffd577dd9dccb">00735</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_BATON_ECB96 0x00001032</span>
<a name="l00736"></a><a class="code" href="pkcs11t_8h.html#a276a8235d5c85fad61997ee77f9d4719">00736</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_BATON_CBC128 0x00001033</span>
<a name="l00737"></a><a class="code" href="pkcs11t_8h.html#aa74ef9301418d73688f87ad5c083a740">00737</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_BATON_COUNTER 0x00001034</span>
<a name="l00738"></a><a class="code" href="pkcs11t_8h.html#a8a66e48cf81aa688f815b3081cc74f5f">00738</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_BATON_SHUFFLE 0x00001035</span>
<a name="l00739"></a><a class="code" href="pkcs11t_8h.html#ac8fd57f2e39ea5bd7ff6b0229122f779">00739</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_BATON_WRAP 0x00001036</span>
<a name="l00740"></a>00740 <span class="preprocessor"></span>
<a name="l00741"></a>00741 <span class="comment">/* CKM_ECDSA_KEY_PAIR_GEN is deprecated in v2.11,</span>
<a name="l00742"></a>00742 <span class="comment"> * CKM_EC_KEY_PAIR_GEN is preferred */</span>
<a name="l00743"></a><a class="code" href="pkcs11t_8h.html#af3af37eca1daaa7b85b0275fec4e734f">00743</a> <span class="preprocessor">#define CKM_ECDSA_KEY_PAIR_GEN 0x00001040</span>
<a name="l00744"></a><a class="code" href="pkcs11t_8h.html#a95733c79b5297ea9ac28476e680ad4fa">00744</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_EC_KEY_PAIR_GEN 0x00001040</span>
<a name="l00745"></a>00745 <span class="preprocessor"></span>
<a name="l00746"></a><a class="code" href="pkcs11t_8h.html#ab4a7299a144f0ef52cee06893cc60483">00746</a> <span class="preprocessor">#define CKM_ECDSA 0x00001041</span>
<a name="l00747"></a><a class="code" href="pkcs11t_8h.html#a0911727b2cd926b9209f24bf50bc555a">00747</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_ECDSA_SHA1 0x00001042</span>
<a name="l00748"></a>00748 <span class="preprocessor"></span>
<a name="l00749"></a>00749 <span class="comment">/* CKM_ECDH1_DERIVE, CKM_ECDH1_COFACTOR_DERIVE, and CKM_ECMQV_DERIVE</span>
<a name="l00750"></a>00750 <span class="comment"> * are new for v2.11 */</span>
<a name="l00751"></a><a class="code" href="pkcs11t_8h.html#a2d5867eec8e2621a31f108010f2dce97">00751</a> <span class="preprocessor">#define CKM_ECDH1_DERIVE 0x00001050</span>
<a name="l00752"></a><a class="code" href="pkcs11t_8h.html#a20c71045e1b6ee0b90f91b45e10109ad">00752</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_ECDH1_COFACTOR_DERIVE 0x00001051</span>
<a name="l00753"></a><a class="code" href="pkcs11t_8h.html#a6ffac30fb21731787a5acecd759ca889">00753</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_ECMQV_DERIVE 0x00001052</span>
<a name="l00754"></a>00754 <span class="preprocessor"></span>
<a name="l00755"></a><a class="code" href="pkcs11t_8h.html#a3e02bf459dbaa94c6c797d8570a69496">00755</a> <span class="preprocessor">#define CKM_JUNIPER_KEY_GEN 0x00001060</span>
<a name="l00756"></a><a class="code" href="pkcs11t_8h.html#a354893ad02fc70fc114d27dc4866b575">00756</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_JUNIPER_ECB128 0x00001061</span>
<a name="l00757"></a><a class="code" href="pkcs11t_8h.html#aa8f38e9d0ba4e13b41a025f7e308cdc8">00757</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_JUNIPER_CBC128 0x00001062</span>
<a name="l00758"></a><a class="code" href="pkcs11t_8h.html#aabcdb9ac052eb7e164b6585b4b10cef9">00758</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_JUNIPER_COUNTER 0x00001063</span>
<a name="l00759"></a><a class="code" href="pkcs11t_8h.html#adc73e1d8f0db7cce6ace08cd24a091e3">00759</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_JUNIPER_SHUFFLE 0x00001064</span>
<a name="l00760"></a><a class="code" href="pkcs11t_8h.html#aa5b859330fd33fa6e8db1199c2795eec">00760</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_JUNIPER_WRAP 0x00001065</span>
<a name="l00761"></a><a class="code" href="pkcs11t_8h.html#a4394883cc95c919b8abbec85ce994eb7">00761</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_FASTHASH 0x00001070</span>
<a name="l00762"></a>00762 <span class="preprocessor"></span>
<a name="l00763"></a>00763 <span class="comment">/* CKM_AES_KEY_GEN, CKM_AES_ECB, CKM_AES_CBC, CKM_AES_MAC,</span>
<a name="l00764"></a>00764 <span class="comment"> * CKM_AES_MAC_GENERAL, CKM_AES_CBC_PAD, CKM_DSA_PARAMETER_GEN,</span>
<a name="l00765"></a>00765 <span class="comment"> * CKM_DH_PKCS_PARAMETER_GEN, and CKM_X9_42_DH_PARAMETER_GEN are</span>
<a name="l00766"></a>00766 <span class="comment"> * new for v2.11 */</span>
<a name="l00767"></a><a class="code" href="pkcs11t_8h.html#a707ee7b68146241b71f85b7bba53ac52">00767</a> <span class="preprocessor">#define CKM_AES_KEY_GEN 0x00001080</span>
<a name="l00768"></a><a class="code" href="pkcs11t_8h.html#ae8f1c3669215309ca83921aff680af3c">00768</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_AES_ECB 0x00001081</span>
<a name="l00769"></a><a class="code" href="pkcs11t_8h.html#ad2885f9b1e6f13791d944865684c9f48">00769</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_AES_CBC 0x00001082</span>
<a name="l00770"></a><a class="code" href="pkcs11t_8h.html#ad32d0c6b1c5e91bfb4e203153608a86f">00770</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_AES_MAC 0x00001083</span>
<a name="l00771"></a><a class="code" href="pkcs11t_8h.html#a42c17af4ee0646a1552df1f192db1f3c">00771</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_AES_MAC_GENERAL 0x00001084</span>
<a name="l00772"></a><a class="code" href="pkcs11t_8h.html#a2acbf9d973b6c8a0ec71a9a03ddd45a6">00772</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_AES_CBC_PAD 0x00001085</span>
<a name="l00773"></a><a class="code" href="pkcs11t_8h.html#a038f62fd6fca48016f0aabe667f7798c">00773</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DSA_PARAMETER_GEN 0x00002000</span>
<a name="l00774"></a><a class="code" href="pkcs11t_8h.html#a97d6c26027890eb01c112e2f62303664">00774</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_DH_PKCS_PARAMETER_GEN 0x00002001</span>
<a name="l00775"></a><a class="code" href="pkcs11t_8h.html#aab086fcb03a359fa6b82eb5642cede85">00775</a> <span class="preprocessor"></span><span class="preprocessor">#define CKM_X9_42_DH_PARAMETER_GEN 0x00002002</span>
<a name="l00776"></a>00776 <span class="preprocessor"></span>
<a name="l00777"></a><a class="code" href="pkcs11t_8h.html#a2dc7d810b7e140bbd16a0264135722c7">00777</a> <span class="preprocessor">#define CKM_VENDOR_DEFINED 0x80000000</span>
<a name="l00778"></a>00778 <span class="preprocessor"></span>
<a name="l00779"></a><a class="code" href="pkcs11t_8h.html#a653265da2fe1c5336cadced022575156">00779</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#aaf1084907f5cc09a3e0b85ab022a240d">CK_MECHANISM_TYPE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a653265da2fe1c5336cadced022575156">CK_MECHANISM_TYPE_PTR</a>;
<a name="l00780"></a>00780
<a name="l00781"></a>00781
<a name="l00782"></a>00782 <span class="comment">/* CK_MECHANISM is a structure that specifies a particular</span>
<a name="l00783"></a>00783 <span class="comment"> * mechanism */</span>
<a name="l00784"></a><a class="code" href="structCK__MECHANISM.html">00784</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__MECHANISM.html">CK_MECHANISM</a> {
<a name="l00785"></a><a class="code" href="structCK__MECHANISM.html#a26092ac89d7f94e33a7d3c9b6abb3d6c">00785</a> <a class="code" href="pkcs11t_8h.html#aaf1084907f5cc09a3e0b85ab022a240d">CK_MECHANISM_TYPE</a> <a class="code" href="structCK__MECHANISM.html#a26092ac89d7f94e33a7d3c9b6abb3d6c">mechanism</a>;
<a name="l00786"></a><a class="code" href="structCK__MECHANISM.html#a672cc8332ea258e4538c1c41cefaaa65">00786</a> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="structCK__MECHANISM.html#a672cc8332ea258e4538c1c41cefaaa65">pParameter</a>;
<a name="l00787"></a>00787
<a name="l00788"></a>00788 <span class="comment">/* ulParameterLen was changed from CK_USHORT to CK_ULONG for</span>
<a name="l00789"></a>00789 <span class="comment"> * v2.0 */</span>
<a name="l00790"></a><a class="code" href="structCK__MECHANISM.html#afb65c49e615a80e97e35c4444bf4b054">00790</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__MECHANISM.html#afb65c49e615a80e97e35c4444bf4b054">ulParameterLen</a>; <span class="comment">/* in bytes */</span>
<a name="l00791"></a>00791 } <a class="code" href="structCK__MECHANISM.html">CK_MECHANISM</a>;
<a name="l00792"></a>00792
<a name="l00793"></a><a class="code" href="pkcs11t_8h.html#afa4c48ba8a588833ea04f0910583592e">00793</a> <span class="keyword">typedef</span> <a class="code" href="structCK__MECHANISM.html">CK_MECHANISM</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#afa4c48ba8a588833ea04f0910583592e">CK_MECHANISM_PTR</a>;
<a name="l00794"></a>00794
<a name="l00795"></a>00795
<a name="l00796"></a>00796 <span class="comment">/* CK_MECHANISM_INFO provides information about a particular</span>
<a name="l00797"></a>00797 <span class="comment"> * mechanism */</span>
<a name="l00798"></a><a class="code" href="structCK__MECHANISM__INFO.html">00798</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__MECHANISM__INFO.html">CK_MECHANISM_INFO</a> {
<a name="l00799"></a><a class="code" href="structCK__MECHANISM__INFO.html#af8c548a9b682f948b3c751cec8bb4968">00799</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__MECHANISM__INFO.html#af8c548a9b682f948b3c751cec8bb4968">ulMinKeySize</a>;
<a name="l00800"></a><a class="code" href="structCK__MECHANISM__INFO.html#a4e2b8a1f4f9d06088d311cbf92d551a9">00800</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__MECHANISM__INFO.html#a4e2b8a1f4f9d06088d311cbf92d551a9">ulMaxKeySize</a>;
<a name="l00801"></a><a class="code" href="structCK__MECHANISM__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">00801</a> <a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">CK_FLAGS</a> <a class="code" href="structCK__MECHANISM__INFO.html#aab168fc251b8b32a3bb0639f4986fce1">flags</a>;
<a name="l00802"></a>00802 } <a class="code" href="structCK__MECHANISM__INFO.html">CK_MECHANISM_INFO</a>;
<a name="l00803"></a>00803
<a name="l00804"></a>00804 <span class="comment">/* The flags are defined as follows:</span>
<a name="l00805"></a>00805 <span class="comment"> * Bit Flag Mask Meaning */</span>
<a name="l00806"></a><a class="code" href="pkcs11t_8h.html#aea7a734e6feea5f300b8c188807b6f76">00806</a> <span class="preprocessor">#define CKF_HW 0x00000001 </span><span class="comment">/* performed by HW */</span>
<a name="l00807"></a>00807
<a name="l00808"></a>00808 <span class="comment">/* The flags CKF_ENCRYPT, CKF_DECRYPT, CKF_DIGEST, CKF_SIGN,</span>
<a name="l00809"></a>00809 <span class="comment"> * CKG_SIGN_RECOVER, CKF_VERIFY, CKF_VERIFY_RECOVER,</span>
<a name="l00810"></a>00810 <span class="comment"> * CKF_GENERATE, CKF_GENERATE_KEY_PAIR, CKF_WRAP, CKF_UNWRAP,</span>
<a name="l00811"></a>00811 <span class="comment"> * and CKF_DERIVE are new for v2.0. They specify whether or not</span>
<a name="l00812"></a>00812 <span class="comment"> * a mechanism can be used for a particular task */</span>
<a name="l00813"></a><a class="code" href="pkcs11t_8h.html#a7dde8a50600132eb8094044d1f0998d2">00813</a> <span class="preprocessor">#define CKF_ENCRYPT 0x00000100</span>
<a name="l00814"></a><a class="code" href="pkcs11t_8h.html#acd1d6f14eb6ae040a3c7e015c7c1932a">00814</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_DECRYPT 0x00000200</span>
<a name="l00815"></a><a class="code" href="pkcs11t_8h.html#a229d4341889a170fb829e3a63736c202">00815</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_DIGEST 0x00000400</span>
<a name="l00816"></a><a class="code" href="pkcs11t_8h.html#aabafbd0a0b5159b08d81f4c63f8665e1">00816</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_SIGN 0x00000800</span>
<a name="l00817"></a><a class="code" href="pkcs11t_8h.html#a65f357bb55f473e917b694e246fd64a3">00817</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_SIGN_RECOVER 0x00001000</span>
<a name="l00818"></a><a class="code" href="pkcs11t_8h.html#a2abb8871b559a956beb841e811a0acf3">00818</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_VERIFY 0x00002000</span>
<a name="l00819"></a><a class="code" href="pkcs11t_8h.html#aecd1b1bb6c2623d30f17ad219907b132">00819</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_VERIFY_RECOVER 0x00004000</span>
<a name="l00820"></a><a class="code" href="pkcs11t_8h.html#aad6849aadd67cb59175fc72c854d033a">00820</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_GENERATE 0x00008000</span>
<a name="l00821"></a><a class="code" href="pkcs11t_8h.html#a65d664264811a9964c30b46967f471d3">00821</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_GENERATE_KEY_PAIR 0x00010000</span>
<a name="l00822"></a><a class="code" href="pkcs11t_8h.html#a59bfbfe9b1d0e00f597c24ef0298800e">00822</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_WRAP 0x00020000</span>
<a name="l00823"></a><a class="code" href="pkcs11t_8h.html#ac2643984bf74f2cb5809609bbd65139c">00823</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_UNWRAP 0x00040000</span>
<a name="l00824"></a><a class="code" href="pkcs11t_8h.html#a23c6556641b62243c52ddc5f683889e5">00824</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_DERIVE 0x00080000</span>
<a name="l00825"></a>00825 <span class="preprocessor"></span>
<a name="l00826"></a>00826 <span class="comment">/* CKF_EC_F_P, CKF_EC_F_2M, CKF_EC_ECPARAMETERS, CKF_EC_NAMEDCURVE,</span>
<a name="l00827"></a>00827 <span class="comment"> * CKF_EC_UNCOMPRESS, and CKF_EC_COMPRESS are new for v2.11. They</span>
<a name="l00828"></a>00828 <span class="comment"> * describe a token's EC capabilities not available in mechanism</span>
<a name="l00829"></a>00829 <span class="comment"> * information. */</span>
<a name="l00830"></a><a class="code" href="pkcs11t_8h.html#a605a609c288ffcd840a307f4d4458cbb">00830</a> <span class="preprocessor">#define CKF_EC_F_P 0x00100000</span>
<a name="l00831"></a><a class="code" href="pkcs11t_8h.html#a442ff7485154fd28799a6cfb5dfb641a">00831</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_EC_F_2M 0x00200000</span>
<a name="l00832"></a><a class="code" href="pkcs11t_8h.html#a827fe376bd75e653038cd5af22f8e069">00832</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_EC_ECPARAMETERS 0x00400000</span>
<a name="l00833"></a><a class="code" href="pkcs11t_8h.html#afa127ac10a423b09246f36946d6ea788">00833</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_EC_NAMEDCURVE 0x00800000</span>
<a name="l00834"></a><a class="code" href="pkcs11t_8h.html#a1084ffbde21a69579b39084c3ec866de">00834</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_EC_UNCOMPRESS 0x01000000</span>
<a name="l00835"></a><a class="code" href="pkcs11t_8h.html#ad0e0a9b6036c910e6ca21a7a092a1fdd">00835</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_EC_COMPRESS 0x02000000</span>
<a name="l00836"></a>00836 <span class="preprocessor"></span>
<a name="l00837"></a><a class="code" href="pkcs11t_8h.html#a5c2dc2a629f4c4f0034c842ad85d37c4">00837</a> <span class="preprocessor">#define CKF_EXTENSION 0x80000000 </span><span class="comment">/* FALSE for 2.01 */</span>
<a name="l00838"></a>00838
<a name="l00839"></a><a class="code" href="pkcs11t_8h.html#a81131602c4689b717951c9c59f827661">00839</a> <span class="keyword">typedef</span> <a class="code" href="structCK__MECHANISM__INFO.html">CK_MECHANISM_INFO</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a81131602c4689b717951c9c59f827661">CK_MECHANISM_INFO_PTR</a>;
<a name="l00840"></a>00840
<a name="l00841"></a>00841
<a name="l00842"></a>00842 <span class="comment">/* CK_RV is a value that identifies the return value of a</span>
<a name="l00843"></a>00843 <span class="comment"> * Cryptoki function */</span>
<a name="l00844"></a>00844 <span class="comment">/* CK_RV was changed from CK_USHORT to CK_ULONG for v2.0 */</span>
<a name="l00845"></a><a class="code" href="pkcs11t_8h.html#a33839c131011ca3849dc35c11f69c39d">00845</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a33839c131011ca3849dc35c11f69c39d">CK_RV</a>;
<a name="l00846"></a>00846
<a name="l00847"></a><a class="code" href="pkcs11t_8h.html#ab31ba85d49b381d1eac204796296eafa">00847</a> <span class="preprocessor">#define CKR_OK 0x00000000</span>
<a name="l00848"></a><a class="code" href="pkcs11t_8h.html#a4ca34c47334531a8a250b8db8ee94940">00848</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_CANCEL 0x00000001</span>
<a name="l00849"></a><a class="code" href="pkcs11t_8h.html#ad805999e0664ea61660ec3bfea3cdcdb">00849</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_HOST_MEMORY 0x00000002</span>
<a name="l00850"></a><a class="code" href="pkcs11t_8h.html#a06c581146df52a04b53a9562e061984b">00850</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SLOT_ID_INVALID 0x00000003</span>
<a name="l00851"></a>00851 <span class="preprocessor"></span>
<a name="l00852"></a>00852 <span class="comment">/* CKR_FLAGS_INVALID was removed for v2.0 */</span>
<a name="l00853"></a>00853
<a name="l00854"></a>00854 <span class="comment">/* CKR_GENERAL_ERROR and CKR_FUNCTION_FAILED are new for v2.0 */</span>
<a name="l00855"></a><a class="code" href="pkcs11t_8h.html#a0627989c27e21034dd30181ec66d55ed">00855</a> <span class="preprocessor">#define CKR_GENERAL_ERROR 0x00000005</span>
<a name="l00856"></a><a class="code" href="pkcs11t_8h.html#a91150ecacbaa624fcc7d861f1b54f57c">00856</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_FUNCTION_FAILED 0x00000006</span>
<a name="l00857"></a>00857 <span class="preprocessor"></span>
<a name="l00858"></a>00858 <span class="comment">/* CKR_ARGUMENTS_BAD, CKR_NO_EVENT, CKR_NEED_TO_CREATE_THREADS,</span>
<a name="l00859"></a>00859 <span class="comment"> * and CKR_CANT_LOCK are new for v2.01 */</span>
<a name="l00860"></a><a class="code" href="pkcs11t_8h.html#a4c227fa25e202ce284cafa40df74c26d">00860</a> <span class="preprocessor">#define CKR_ARGUMENTS_BAD 0x00000007</span>
<a name="l00861"></a><a class="code" href="pkcs11t_8h.html#ad3a321dfabf5299e72b939709cfa6c3f">00861</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_NO_EVENT 0x00000008</span>
<a name="l00862"></a><a class="code" href="pkcs11t_8h.html#a186db3177157aab899e8b865e4fa0ac4">00862</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_NEED_TO_CREATE_THREADS 0x00000009</span>
<a name="l00863"></a><a class="code" href="pkcs11t_8h.html#a5b5c512f5cfe46296c7acf5f7e1a8b34">00863</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_CANT_LOCK 0x0000000A</span>
<a name="l00864"></a>00864 <span class="preprocessor"></span>
<a name="l00865"></a><a class="code" href="pkcs11t_8h.html#a2e62a29e451c684f6a94b487fadfd78d">00865</a> <span class="preprocessor">#define CKR_ATTRIBUTE_READ_ONLY 0x00000010</span>
<a name="l00866"></a><a class="code" href="pkcs11t_8h.html#a1ee74a0bf1131aff18eb4aae429a70db">00866</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_ATTRIBUTE_SENSITIVE 0x00000011</span>
<a name="l00867"></a><a class="code" href="pkcs11t_8h.html#a0afbefc1a4ce05ba5faea1778eb602ca">00867</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_ATTRIBUTE_TYPE_INVALID 0x00000012</span>
<a name="l00868"></a><a class="code" href="pkcs11t_8h.html#ab818f05c56d56675438515a7ba5ebb70">00868</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_ATTRIBUTE_VALUE_INVALID 0x00000013</span>
<a name="l00869"></a><a class="code" href="pkcs11t_8h.html#a1740789d62501fea6688fb211b02d1a2">00869</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_DATA_INVALID 0x00000020</span>
<a name="l00870"></a><a class="code" href="pkcs11t_8h.html#a9a521148fda788ca98f4fdbb6d3b9438">00870</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_DATA_LEN_RANGE 0x00000021</span>
<a name="l00871"></a><a class="code" href="pkcs11t_8h.html#a24d46b4f07c538b26b493182193adfce">00871</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_DEVICE_ERROR 0x00000030</span>
<a name="l00872"></a><a class="code" href="pkcs11t_8h.html#a04d67c20844612ed7ae38107640a77e5">00872</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_DEVICE_MEMORY 0x00000031</span>
<a name="l00873"></a><a class="code" href="pkcs11t_8h.html#ac23d0fa963473b574693ac26d0d4909c">00873</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_DEVICE_REMOVED 0x00000032</span>
<a name="l00874"></a><a class="code" href="pkcs11t_8h.html#a8d2aa4b229254ab44e435b82a7f1a5b1">00874</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_ENCRYPTED_DATA_INVALID 0x00000040</span>
<a name="l00875"></a><a class="code" href="pkcs11t_8h.html#a3f545f36b94a1cb08d82f717cb8073c2">00875</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_ENCRYPTED_DATA_LEN_RANGE 0x00000041</span>
<a name="l00876"></a><a class="code" href="pkcs11t_8h.html#a1312747fb5489dbfe30883182d41e6e6">00876</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_FUNCTION_CANCELED 0x00000050</span>
<a name="l00877"></a><a class="code" href="pkcs11t_8h.html#ad969a4d3b9e8d18f675cf0df6b2399e8">00877</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_FUNCTION_NOT_PARALLEL 0x00000051</span>
<a name="l00878"></a>00878 <span class="preprocessor"></span>
<a name="l00879"></a>00879 <span class="comment">/* CKR_FUNCTION_NOT_SUPPORTED is new for v2.0 */</span>
<a name="l00880"></a><a class="code" href="pkcs11t_8h.html#abd21d20886ea29f556b2f395014fef3e">00880</a> <span class="preprocessor">#define CKR_FUNCTION_NOT_SUPPORTED 0x00000054</span>
<a name="l00881"></a>00881 <span class="preprocessor"></span>
<a name="l00882"></a><a class="code" href="pkcs11t_8h.html#ae26360ddc5e63d8685e70b2e65fd64af">00882</a> <span class="preprocessor">#define CKR_KEY_HANDLE_INVALID 0x00000060</span>
<a name="l00883"></a>00883 <span class="preprocessor"></span>
<a name="l00884"></a>00884 <span class="comment">/* CKR_KEY_SENSITIVE was removed for v2.0 */</span>
<a name="l00885"></a>00885
<a name="l00886"></a><a class="code" href="pkcs11t_8h.html#a9700e75ef166d86a0f86d752fd07680d">00886</a> <span class="preprocessor">#define CKR_KEY_SIZE_RANGE 0x00000062</span>
<a name="l00887"></a><a class="code" href="pkcs11t_8h.html#af15facc4ce7af2467b1972b2e0a380b0">00887</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_KEY_TYPE_INCONSISTENT 0x00000063</span>
<a name="l00888"></a>00888 <span class="preprocessor"></span>
<a name="l00889"></a>00889 <span class="comment">/* CKR_KEY_NOT_NEEDED, CKR_KEY_CHANGED, CKR_KEY_NEEDED,</span>
<a name="l00890"></a>00890 <span class="comment"> * CKR_KEY_INDIGESTIBLE, CKR_KEY_FUNCTION_NOT_PERMITTED,</span>
<a name="l00891"></a>00891 <span class="comment"> * CKR_KEY_NOT_WRAPPABLE, and CKR_KEY_UNEXTRACTABLE are new for</span>
<a name="l00892"></a>00892 <span class="comment"> * v2.0 */</span>
<a name="l00893"></a><a class="code" href="pkcs11t_8h.html#ad37e2f5a282d7a3226a4acfae3f2e52f">00893</a> <span class="preprocessor">#define CKR_KEY_NOT_NEEDED 0x00000064</span>
<a name="l00894"></a><a class="code" href="pkcs11t_8h.html#a09ca80b1ce00a1b8c29ab8265706aaf6">00894</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_KEY_CHANGED 0x00000065</span>
<a name="l00895"></a><a class="code" href="pkcs11t_8h.html#aef78a1c052497be0480949f974cc8577">00895</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_KEY_NEEDED 0x00000066</span>
<a name="l00896"></a><a class="code" href="pkcs11t_8h.html#aebc5d70e637c74135d87562d4bcfcddc">00896</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_KEY_INDIGESTIBLE 0x00000067</span>
<a name="l00897"></a><a class="code" href="pkcs11t_8h.html#a2eac0dad3a1a04a81666788c143601d8">00897</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_KEY_FUNCTION_NOT_PERMITTED 0x00000068</span>
<a name="l00898"></a><a class="code" href="pkcs11t_8h.html#af92e598961d4168dc145798207a3239d">00898</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_KEY_NOT_WRAPPABLE 0x00000069</span>
<a name="l00899"></a><a class="code" href="pkcs11t_8h.html#a171e55356c720c713b2a378357f3d848">00899</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_KEY_UNEXTRACTABLE 0x0000006A</span>
<a name="l00900"></a>00900 <span class="preprocessor"></span>
<a name="l00901"></a><a class="code" href="pkcs11t_8h.html#a0664e99597a479c7fce5b19411cfc1b1">00901</a> <span class="preprocessor">#define CKR_MECHANISM_INVALID 0x00000070</span>
<a name="l00902"></a><a class="code" href="pkcs11t_8h.html#a1af45680daaca76a9e0d5e4a93ad61a9">00902</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_MECHANISM_PARAM_INVALID 0x00000071</span>
<a name="l00903"></a>00903 <span class="preprocessor"></span>
<a name="l00904"></a>00904 <span class="comment">/* CKR_OBJECT_CLASS_INCONSISTENT and CKR_OBJECT_CLASS_INVALID</span>
<a name="l00905"></a>00905 <span class="comment"> * were removed for v2.0 */</span>
<a name="l00906"></a><a class="code" href="pkcs11t_8h.html#a822859e76a9a5cd3e67c8d5055404a0b">00906</a> <span class="preprocessor">#define CKR_OBJECT_HANDLE_INVALID 0x00000082</span>
<a name="l00907"></a><a class="code" href="pkcs11t_8h.html#a9a3879834405c7b55a428763b9162628">00907</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_OPERATION_ACTIVE 0x00000090</span>
<a name="l00908"></a><a class="code" href="pkcs11t_8h.html#a93d749e18f51c69efa3f5607aa78ec00">00908</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_OPERATION_NOT_INITIALIZED 0x00000091</span>
<a name="l00909"></a><a class="code" href="pkcs11t_8h.html#a61d25edee3d3788b14df10698e804366">00909</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_PIN_INCORRECT 0x000000A0</span>
<a name="l00910"></a><a class="code" href="pkcs11t_8h.html#a8511c3c4cb0a05fa8ee22bcccf3d74d7">00910</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_PIN_INVALID 0x000000A1</span>
<a name="l00911"></a><a class="code" href="pkcs11t_8h.html#a222079d4a21dc7605fb46b533badadaa">00911</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_PIN_LEN_RANGE 0x000000A2</span>
<a name="l00912"></a>00912 <span class="preprocessor"></span>
<a name="l00913"></a>00913 <span class="comment">/* CKR_PIN_EXPIRED and CKR_PIN_LOCKED are new for v2.0 */</span>
<a name="l00914"></a><a class="code" href="pkcs11t_8h.html#a543d80536301110bb83fac05f86c44c3">00914</a> <span class="preprocessor">#define CKR_PIN_EXPIRED 0x000000A3</span>
<a name="l00915"></a><a class="code" href="pkcs11t_8h.html#a56ad1ce508c2be309597ab0e7dd318b5">00915</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_PIN_LOCKED 0x000000A4</span>
<a name="l00916"></a>00916 <span class="preprocessor"></span>
<a name="l00917"></a><a class="code" href="pkcs11t_8h.html#a7458c5596966906d5400f32a9becde58">00917</a> <span class="preprocessor">#define CKR_SESSION_CLOSED 0x000000B0</span>
<a name="l00918"></a><a class="code" href="pkcs11t_8h.html#a03a00188b2564d6b86167a23d491e1ef">00918</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SESSION_COUNT 0x000000B1</span>
<a name="l00919"></a><a class="code" href="pkcs11t_8h.html#a441e417965e26e5a4b08df9993311689">00919</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SESSION_HANDLE_INVALID 0x000000B3</span>
<a name="l00920"></a><a class="code" href="pkcs11t_8h.html#a26f273d27eea2a2bac8932b3a9a24e6f">00920</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SESSION_PARALLEL_NOT_SUPPORTED 0x000000B4</span>
<a name="l00921"></a><a class="code" href="pkcs11t_8h.html#a3baafacbda3a24510a3ab8ed044a7329">00921</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SESSION_READ_ONLY 0x000000B5</span>
<a name="l00922"></a><a class="code" href="pkcs11t_8h.html#a3402d559bb48ef4b64e5b4c0760927fe">00922</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SESSION_EXISTS 0x000000B6</span>
<a name="l00923"></a>00923 <span class="preprocessor"></span>
<a name="l00924"></a>00924 <span class="comment">/* CKR_SESSION_READ_ONLY_EXISTS and</span>
<a name="l00925"></a>00925 <span class="comment"> * CKR_SESSION_READ_WRITE_SO_EXISTS are new for v2.0 */</span>
<a name="l00926"></a><a class="code" href="pkcs11t_8h.html#a94e20ac3c61728d91d6b03f1a9b7062b">00926</a> <span class="preprocessor">#define CKR_SESSION_READ_ONLY_EXISTS 0x000000B7</span>
<a name="l00927"></a><a class="code" href="pkcs11t_8h.html#a96491f522f93262a4adce0335e3c619a">00927</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SESSION_READ_WRITE_SO_EXISTS 0x000000B8</span>
<a name="l00928"></a>00928 <span class="preprocessor"></span>
<a name="l00929"></a><a class="code" href="pkcs11t_8h.html#a4027a099409c7d9bbc650c766e605903">00929</a> <span class="preprocessor">#define CKR_SIGNATURE_INVALID 0x000000C0</span>
<a name="l00930"></a><a class="code" href="pkcs11t_8h.html#ada12c0a68b22ec87df7e47ab6a84b98f">00930</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SIGNATURE_LEN_RANGE 0x000000C1</span>
<a name="l00931"></a><a class="code" href="pkcs11t_8h.html#acfcd3a766f4ce45e10b89243cfe9f07e">00931</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_TEMPLATE_INCOMPLETE 0x000000D0</span>
<a name="l00932"></a><a class="code" href="pkcs11t_8h.html#a98d78208707bfa2c51d6f051af1794e9">00932</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_TEMPLATE_INCONSISTENT 0x000000D1</span>
<a name="l00933"></a><a class="code" href="pkcs11t_8h.html#a5b7fc96b65f73da58701bfb190f72d3e">00933</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_TOKEN_NOT_PRESENT 0x000000E0</span>
<a name="l00934"></a><a class="code" href="pkcs11t_8h.html#a1bcbefb8213e0468ddf38d87743c2b58">00934</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_TOKEN_NOT_RECOGNIZED 0x000000E1</span>
<a name="l00935"></a><a class="code" href="pkcs11t_8h.html#acadf733bd9e608e9c6ba819137d00198">00935</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_TOKEN_WRITE_PROTECTED 0x000000E2</span>
<a name="l00936"></a><a class="code" href="pkcs11t_8h.html#a175a62e6104e4b323e114fb96bc5ca53">00936</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_UNWRAPPING_KEY_HANDLE_INVALID 0x000000F0</span>
<a name="l00937"></a><a class="code" href="pkcs11t_8h.html#a85c4108cd2d098c1dfc9cd72acd79c9a">00937</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_UNWRAPPING_KEY_SIZE_RANGE 0x000000F1</span>
<a name="l00938"></a><a class="code" href="pkcs11t_8h.html#af1d004b470cd2d370a87cbfd825debdf">00938</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT 0x000000F2</span>
<a name="l00939"></a><a class="code" href="pkcs11t_8h.html#aa9cd64ba03077e1ade9f6a27633a038b">00939</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_USER_ALREADY_LOGGED_IN 0x00000100</span>
<a name="l00940"></a><a class="code" href="pkcs11t_8h.html#ac06517dfda93d4636ff63eb000125ad4">00940</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_USER_NOT_LOGGED_IN 0x00000101</span>
<a name="l00941"></a><a class="code" href="pkcs11t_8h.html#aa4833b9c9a8a98327e661eeaddcfda9b">00941</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_USER_PIN_NOT_INITIALIZED 0x00000102</span>
<a name="l00942"></a><a class="code" href="pkcs11t_8h.html#adcde3914b18120c1db8460b4fe9d2fd5">00942</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_USER_TYPE_INVALID 0x00000103</span>
<a name="l00943"></a>00943 <span class="preprocessor"></span>
<a name="l00944"></a>00944 <span class="comment">/* CKR_USER_ANOTHER_ALREADY_LOGGED_IN and CKR_USER_TOO_MANY_TYPES</span>
<a name="l00945"></a>00945 <span class="comment"> * are new to v2.01 */</span>
<a name="l00946"></a><a class="code" href="pkcs11t_8h.html#a49844a3394874b9821fa269e6237e10f">00946</a> <span class="preprocessor">#define CKR_USER_ANOTHER_ALREADY_LOGGED_IN 0x00000104</span>
<a name="l00947"></a><a class="code" href="pkcs11t_8h.html#a71e2c8d12cb896f19d48e0bd0e7017ce">00947</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_USER_TOO_MANY_TYPES 0x00000105</span>
<a name="l00948"></a>00948 <span class="preprocessor"></span>
<a name="l00949"></a><a class="code" href="pkcs11t_8h.html#a6a83670678bc04a6124e5fe61b951c72">00949</a> <span class="preprocessor">#define CKR_WRAPPED_KEY_INVALID 0x00000110</span>
<a name="l00950"></a><a class="code" href="pkcs11t_8h.html#ae9c13f36c503ff873090b1c38b314866">00950</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_WRAPPED_KEY_LEN_RANGE 0x00000112</span>
<a name="l00951"></a><a class="code" href="pkcs11t_8h.html#a70c8749b859ffb12f200f8c2789a20bd">00951</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_WRAPPING_KEY_HANDLE_INVALID 0x00000113</span>
<a name="l00952"></a><a class="code" href="pkcs11t_8h.html#a1aa3a6807496c4a3b093664e4c48c404">00952</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_WRAPPING_KEY_SIZE_RANGE 0x00000114</span>
<a name="l00953"></a><a class="code" href="pkcs11t_8h.html#a30007237899d54b9753f2323c94b5ec7">00953</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_WRAPPING_KEY_TYPE_INCONSISTENT 0x00000115</span>
<a name="l00954"></a><a class="code" href="pkcs11t_8h.html#a25286718bd405419ce636ad5fc15f372">00954</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_RANDOM_SEED_NOT_SUPPORTED 0x00000120</span>
<a name="l00955"></a>00955 <span class="preprocessor"></span>
<a name="l00956"></a>00956 <span class="comment">/* These are new to v2.0 */</span>
<a name="l00957"></a><a class="code" href="pkcs11t_8h.html#a21943ec9ecbec11727c795ec39509ee7">00957</a> <span class="preprocessor">#define CKR_RANDOM_NO_RNG 0x00000121</span>
<a name="l00958"></a>00958 <span class="preprocessor"></span>
<a name="l00959"></a>00959 <span class="comment">/* These are new to v2.11 */</span>
<a name="l00960"></a><a class="code" href="pkcs11t_8h.html#ac725d7873dc468a54798c0faef26273d">00960</a> <span class="preprocessor">#define CKR_DOMAIN_PARAMS_INVALID 0x00000130</span>
<a name="l00961"></a>00961 <span class="preprocessor"></span>
<a name="l00962"></a>00962 <span class="comment">/* These are new to v2.0 */</span>
<a name="l00963"></a><a class="code" href="pkcs11t_8h.html#a9f2ea08f0e13c3fc129863fdd46352b6">00963</a> <span class="preprocessor">#define CKR_BUFFER_TOO_SMALL 0x00000150</span>
<a name="l00964"></a><a class="code" href="pkcs11t_8h.html#ae8bcb4c61343fcd0d3970ec1b3bf99d6">00964</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_SAVED_STATE_INVALID 0x00000160</span>
<a name="l00965"></a><a class="code" href="pkcs11t_8h.html#ab19fa873b53ce44aaa9a640929efe622">00965</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_INFORMATION_SENSITIVE 0x00000170</span>
<a name="l00966"></a><a class="code" href="pkcs11t_8h.html#aaa0c9901187cfc5306f58d4643455625">00966</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_STATE_UNSAVEABLE 0x00000180</span>
<a name="l00967"></a>00967 <span class="preprocessor"></span>
<a name="l00968"></a>00968 <span class="comment">/* These are new to v2.01 */</span>
<a name="l00969"></a><a class="code" href="pkcs11t_8h.html#a5e2a2d254aead881a88899089b389903">00969</a> <span class="preprocessor">#define CKR_CRYPTOKI_NOT_INITIALIZED 0x00000190</span>
<a name="l00970"></a><a class="code" href="pkcs11t_8h.html#a8e44289b934c27967500e491d8726f6b">00970</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_CRYPTOKI_ALREADY_INITIALIZED 0x00000191</span>
<a name="l00971"></a><a class="code" href="pkcs11t_8h.html#ae39e7790fc4e6516d76c33e52058b150">00971</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_MUTEX_BAD 0x000001A0</span>
<a name="l00972"></a><a class="code" href="pkcs11t_8h.html#a7177821ae8390d4bdea348f58f105a36">00972</a> <span class="preprocessor"></span><span class="preprocessor">#define CKR_MUTEX_NOT_LOCKED 0x000001A1</span>
<a name="l00973"></a>00973 <span class="preprocessor"></span>
<a name="l00974"></a><a class="code" href="pkcs11t_8h.html#ad3bc72694ecffc0cdb75f639737fae94">00974</a> <span class="preprocessor">#define CKR_VENDOR_DEFINED 0x80000000</span>
<a name="l00975"></a>00975 <span class="preprocessor"></span>
<a name="l00976"></a>00976
<a name="l00977"></a>00977 <span class="comment">/* CK_NOTIFY is an application callback that processes events */</span>
<a name="l00978"></a>00978 <span class="keyword">typedef</span> <a class="code" href="pkcs11_8h.html#a5235e6437759c93b8189b124c8c807cf">CK_CALLBACK_FUNCTION</a>(<a class="code" href="pkcs11t_8h.html#a33839c131011ca3849dc35c11f69c39d">CK_RV</a>, CK_NOTIFY) (<a class="code" href="pkcs11t_8h.html#a5a263e303e42c8b2f3bc08315e34fc4f">CK_SESSION_HANDLE</a> hSession, <span class="comment">/* the session's handle */</span>
<a name="l00979"></a><a class="code" href="pkcs11t_8h.html#a14c9a8a037989273976dbb18424f6f66">00979</a> <a class="code" href="pkcs11t_8h.html#a468971392c5970e96adc63a9e69ecb23">CK_NOTIFICATION</a> <a class="code" href="pkcs11t_8h.html#afaa077e4b9760c92cbaf0d838e743d8c">event</a>, <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="pkcs11t_8h.html#a14c9a8a037989273976dbb18424f6f66">pApplication</a> <span class="comment">/* passed to C_OpenSession */</span>
<a name="l00980"></a>00980 );
<a name="l00981"></a>00981
<a name="l00982"></a>00982
<a name="l00983"></a>00983 <span class="comment">/* CK_FUNCTION_LIST is a structure holding a Cryptoki spec</span>
<a name="l00984"></a>00984 <span class="comment"> * version and pointers of appropriate types to all the</span>
<a name="l00985"></a>00985 <span class="comment"> * Cryptoki functions */</span>
<a name="l00986"></a>00986 <span class="comment">/* CK_FUNCTION_LIST is new for v2.0 */</span>
<a name="l00987"></a><a class="code" href="pkcs11t_8h.html#a8116912981fe304343b7bf351826afba">00987</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__FUNCTION__LIST.html">CK_FUNCTION_LIST</a> <a class="code" href="structCK__FUNCTION__LIST.html">CK_FUNCTION_LIST</a>;
<a name="l00988"></a>00988
<a name="l00989"></a><a class="code" href="pkcs11t_8h.html#a7c1b28ecb19569c13859375919f916bf">00989</a> <span class="keyword">typedef</span> <a class="code" href="structCK__FUNCTION__LIST.html">CK_FUNCTION_LIST</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a7c1b28ecb19569c13859375919f916bf">CK_FUNCTION_LIST_PTR</a>;
<a name="l00990"></a>00990
<a name="l00991"></a><a class="code" href="pkcs11t_8h.html#a30324ef8d3e017359f5b8cca4565f884">00991</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a7c1b28ecb19569c13859375919f916bf">CK_FUNCTION_LIST_PTR</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a30324ef8d3e017359f5b8cca4565f884">CK_FUNCTION_LIST_PTR_PTR</a>;
<a name="l00992"></a>00992
<a name="l00993"></a>00993
<a name="l00994"></a>00994 <span class="comment">/* CK_CREATEMUTEX is an application callback for creating a</span>
<a name="l00995"></a>00995 <span class="comment"> * mutex object */</span>
<a name="l00996"></a>00996 <span class="keyword">typedef</span> <a class="code" href="pkcs11_8h.html#a5235e6437759c93b8189b124c8c807cf">CK_CALLBACK_FUNCTION</a>(<a class="code" href="pkcs11t_8h.html#a33839c131011ca3849dc35c11f69c39d">CK_RV</a>, CK_CREATEMUTEX) (<a class="code" href="pkcs11t_8h.html#ae0b1b81b8173ec1695352ff3c44f1254">CK_VOID_PTR_PTR</a> ppMutex <span class="comment">/* location to receive ptr to mutex */</span>
<a name="l00997"></a>00997 );
<a name="l00998"></a>00998
<a name="l00999"></a>00999
<a name="l01000"></a>01000 <span class="comment">/* CK_DESTROYMUTEX is an application callback for destroying a</span>
<a name="l01001"></a>01001 <span class="comment"> * mutex object */</span>
<a name="l01002"></a>01002 <span class="keyword">typedef</span> <a class="code" href="pkcs11_8h.html#a5235e6437759c93b8189b124c8c807cf">CK_CALLBACK_FUNCTION</a>(<a class="code" href="pkcs11t_8h.html#a33839c131011ca3849dc35c11f69c39d">CK_RV</a>, CK_DESTROYMUTEX) (<a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> pMutex <span class="comment">/* pointer to mutex */</span>
<a name="l01003"></a>01003 );
<a name="l01004"></a>01004
<a name="l01005"></a>01005
<a name="l01006"></a>01006 <span class="comment">/* CK_LOCKMUTEX is an application callback for locking a mutex */</span>
<a name="l01007"></a>01007 <span class="keyword">typedef</span> <a class="code" href="pkcs11_8h.html#a5235e6437759c93b8189b124c8c807cf">CK_CALLBACK_FUNCTION</a>(<a class="code" href="pkcs11t_8h.html#a33839c131011ca3849dc35c11f69c39d">CK_RV</a>, CK_LOCKMUTEX) (<a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> pMutex <span class="comment">/* pointer to mutex */</span>
<a name="l01008"></a>01008 );
<a name="l01009"></a>01009
<a name="l01010"></a>01010
<a name="l01011"></a>01011 <span class="comment">/* CK_UNLOCKMUTEX is an application callback for unlocking a</span>
<a name="l01012"></a>01012 <span class="comment"> * mutex */</span>
<a name="l01013"></a>01013 <span class="keyword">typedef</span> <a class="code" href="pkcs11_8h.html#a5235e6437759c93b8189b124c8c807cf">CK_CALLBACK_FUNCTION</a>(<a class="code" href="pkcs11t_8h.html#a33839c131011ca3849dc35c11f69c39d">CK_RV</a>, CK_UNLOCKMUTEX) (<a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> pMutex <span class="comment">/* pointer to mutex */</span>
<a name="l01014"></a>01014 );
<a name="l01015"></a>01015
<a name="l01016"></a>01016
<a name="l01017"></a>01017 <span class="comment">/* CK_C_INITIALIZE_ARGS provides the optional arguments to</span>
<a name="l01018"></a>01018 <span class="comment"> * C_Initialize */</span>
<a name="l01019"></a><a class="code" href="structCK__C__INITIALIZE__ARGS.html">01019</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__C__INITIALIZE__ARGS.html">CK_C_INITIALIZE_ARGS</a> {
<a name="l01020"></a><a class="code" href="structCK__C__INITIALIZE__ARGS.html#acb26fcaab3de0a50d349a6772bc492e3">01020</a> CK_CREATEMUTEX <a class="code" href="structCK__C__INITIALIZE__ARGS.html#acb26fcaab3de0a50d349a6772bc492e3">CreateMutex</a>;
<a name="l01021"></a><a class="code" href="structCK__C__INITIALIZE__ARGS.html#a3bc914ae5e94b20ed5f6772b20a2f412">01021</a> CK_DESTROYMUTEX <a class="code" href="structCK__C__INITIALIZE__ARGS.html#a3bc914ae5e94b20ed5f6772b20a2f412">DestroyMutex</a>;
<a name="l01022"></a><a class="code" href="structCK__C__INITIALIZE__ARGS.html#ab2d841455965ecfc948621ba2f6c9573">01022</a> CK_LOCKMUTEX <a class="code" href="structCK__C__INITIALIZE__ARGS.html#ab2d841455965ecfc948621ba2f6c9573">LockMutex</a>;
<a name="l01023"></a><a class="code" href="structCK__C__INITIALIZE__ARGS.html#a91a759efa3a828734a55218299aeece4">01023</a> CK_UNLOCKMUTEX <a class="code" href="structCK__C__INITIALIZE__ARGS.html#a91a759efa3a828734a55218299aeece4">UnlockMutex</a>;
<a name="l01024"></a><a class="code" href="structCK__C__INITIALIZE__ARGS.html#aab168fc251b8b32a3bb0639f4986fce1">01024</a> <a class="code" href="pkcs11t_8h.html#a53850492c1ba57aca4332be791a3c6a3">CK_FLAGS</a> <a class="code" href="structCK__C__INITIALIZE__ARGS.html#aab168fc251b8b32a3bb0639f4986fce1">flags</a>;
<a name="l01025"></a><a class="code" href="structCK__C__INITIALIZE__ARGS.html#a9a29104d1d45c0dbe5e3af2005c6d9bc">01025</a> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="structCK__C__INITIALIZE__ARGS.html#a9a29104d1d45c0dbe5e3af2005c6d9bc">pReserved</a>;
<a name="l01026"></a>01026 } <a class="code" href="structCK__C__INITIALIZE__ARGS.html">CK_C_INITIALIZE_ARGS</a>;
<a name="l01027"></a>01027
<a name="l01028"></a>01028 <span class="comment">/* flags: bit flags that provide capabilities of the slot</span>
<a name="l01029"></a>01029 <span class="comment"> * Bit Flag Mask Meaning</span>
<a name="l01030"></a>01030 <span class="comment"> */</span>
<a name="l01031"></a><a class="code" href="pkcs11t_8h.html#a10c8cfc955f5207564f29e294ccf5868">01031</a> <span class="preprocessor">#define CKF_LIBRARY_CANT_CREATE_OS_THREADS 0x00000001</span>
<a name="l01032"></a><a class="code" href="pkcs11t_8h.html#a7ef30e1aa028e52f4929db4b0f6ce7c9">01032</a> <span class="preprocessor"></span><span class="preprocessor">#define CKF_OS_LOCKING_OK 0x00000002</span>
<a name="l01033"></a>01033 <span class="preprocessor"></span>
<a name="l01034"></a><a class="code" href="pkcs11t_8h.html#a394b45a487689aa422a6cf5f048bc85c">01034</a> <span class="keyword">typedef</span> <a class="code" href="structCK__C__INITIALIZE__ARGS.html">CK_C_INITIALIZE_ARGS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a394b45a487689aa422a6cf5f048bc85c">CK_C_INITIALIZE_ARGS_PTR</a>;
<a name="l01035"></a>01035
<a name="l01036"></a>01036
<a name="l01037"></a>01037 <span class="comment">/* additional flags for parameters to functions */</span>
<a name="l01038"></a>01038
<a name="l01039"></a>01039 <span class="comment">/* CKF_DONT_BLOCK is for the function C_WaitForSlotEvent */</span>
<a name="l01040"></a><a class="code" href="pkcs11t_8h.html#afc2d8ad7769b10011888fa04c4ffd474">01040</a> <span class="preprocessor">#define CKF_DONT_BLOCK 1</span>
<a name="l01041"></a>01041 <span class="preprocessor"></span>
<a name="l01042"></a>01042 <span class="comment">/* CK_RSA_PKCS_OAEP_MGF_TYPE is new for v2.10.</span>
<a name="l01043"></a>01043 <span class="comment"> * CK_RSA_PKCS_OAEP_MGF_TYPE is used to indicate the Message</span>
<a name="l01044"></a>01044 <span class="comment"> * Generation Function (MGF) applied to a message block when</span>
<a name="l01045"></a>01045 <span class="comment"> * formatting a message block for the PKCS #1 OAEP encryption</span>
<a name="l01046"></a>01046 <span class="comment"> * scheme. */</span>
<a name="l01047"></a><a class="code" href="pkcs11t_8h.html#a85bafbc5ca956ad99bbc6068334a98e6">01047</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a85bafbc5ca956ad99bbc6068334a98e6">CK_RSA_PKCS_MGF_TYPE</a>;
<a name="l01048"></a>01048
<a name="l01049"></a><a class="code" href="pkcs11t_8h.html#aa1339abf3d38dbb94ac91715a5dc1fd2">01049</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a85bafbc5ca956ad99bbc6068334a98e6">CK_RSA_PKCS_MGF_TYPE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#aa1339abf3d38dbb94ac91715a5dc1fd2">CK_RSA_PKCS_MGF_TYPE_PTR</a>;
<a name="l01050"></a>01050
<a name="l01051"></a>01051 <span class="comment">/* The following MGFs are defined */</span>
<a name="l01052"></a><a class="code" href="pkcs11t_8h.html#ac4d8d058aea52b5692b59b9263043042">01052</a> <span class="preprocessor">#define CKG_MGF1_SHA1 0x00000001</span>
<a name="l01053"></a>01053 <span class="preprocessor"></span>
<a name="l01054"></a>01054 <span class="comment">/* CK_RSA_PKCS_OAEP_SOURCE_TYPE is new for v2.10.</span>
<a name="l01055"></a>01055 <span class="comment"> * CK_RSA_PKCS_OAEP_SOURCE_TYPE is used to indicate the source</span>
<a name="l01056"></a>01056 <span class="comment"> * of the encoding parameter when formatting a message block</span>
<a name="l01057"></a>01057 <span class="comment"> * for the PKCS #1 OAEP encryption scheme. */</span>
<a name="l01058"></a><a class="code" href="pkcs11t_8h.html#a0e26418b93b795f116f4477d6c155faf">01058</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a0e26418b93b795f116f4477d6c155faf">CK_RSA_PKCS_OAEP_SOURCE_TYPE</a>;
<a name="l01059"></a>01059
<a name="l01060"></a><a class="code" href="pkcs11t_8h.html#a8ca769dae15fbaa910195def40a0aa8b">01060</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a0e26418b93b795f116f4477d6c155faf">CK_RSA_PKCS_OAEP_SOURCE_TYPE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a8ca769dae15fbaa910195def40a0aa8b">CK_RSA_PKCS_OAEP_SOURCE_TYPE_PTR</a>;
<a name="l01061"></a>01061
<a name="l01062"></a>01062 <span class="comment">/* The following encoding parameter sources are defined */</span>
<a name="l01063"></a><a class="code" href="pkcs11t_8h.html#a6907d28cda3acc11412e5eee7c1f7459">01063</a> <span class="preprocessor">#define CKZ_DATA_SPECIFIED 0x00000001</span>
<a name="l01064"></a>01064 <span class="preprocessor"></span>
<a name="l01065"></a>01065 <span class="comment">/* CK_RSA_PKCS_OAEP_PARAMS is new for v2.10.</span>
<a name="l01066"></a>01066 <span class="comment"> * CK_RSA_PKCS_OAEP_PARAMS provides the parameters to the</span>
<a name="l01067"></a>01067 <span class="comment"> * CKM_RSA_PKCS_OAEP mechanism. */</span>
<a name="l01068"></a><a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html">01068</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html">CK_RSA_PKCS_OAEP_PARAMS</a> {
<a name="l01069"></a><a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#ae4f8f4479f2ba048f5c333c8e3b9de7f">01069</a> <a class="code" href="pkcs11t_8h.html#aaf1084907f5cc09a3e0b85ab022a240d">CK_MECHANISM_TYPE</a> <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#ae4f8f4479f2ba048f5c333c8e3b9de7f">hashAlg</a>;
<a name="l01070"></a><a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#a74822dfb6d861a87cbe4ddaeedc769ef">01070</a> <a class="code" href="pkcs11t_8h.html#a85bafbc5ca956ad99bbc6068334a98e6">CK_RSA_PKCS_MGF_TYPE</a> <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#a74822dfb6d861a87cbe4ddaeedc769ef">mgf</a>;
<a name="l01071"></a><a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#a8126d6d6ba64e01c4ea667446ace4908">01071</a> <a class="code" href="pkcs11t_8h.html#a0e26418b93b795f116f4477d6c155faf">CK_RSA_PKCS_OAEP_SOURCE_TYPE</a> <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#a8126d6d6ba64e01c4ea667446ace4908">source</a>;
<a name="l01072"></a><a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#aeef88ffa479e6095bbecf45ae3374225">01072</a> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#aeef88ffa479e6095bbecf45ae3374225">pSourceData</a>;
<a name="l01073"></a><a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#a29d3bfdcb833349f4c737a1ffda17cc5">01073</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html#a29d3bfdcb833349f4c737a1ffda17cc5">ulSourceDataLen</a>;
<a name="l01074"></a>01074 } <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html">CK_RSA_PKCS_OAEP_PARAMS</a>;
<a name="l01075"></a>01075
<a name="l01076"></a><a class="code" href="pkcs11t_8h.html#acdc94116060dfb586aac4bd591a847f3">01076</a> <span class="keyword">typedef</span> <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html">CK_RSA_PKCS_OAEP_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#acdc94116060dfb586aac4bd591a847f3">CK_RSA_PKCS_OAEP_PARAMS_PTR</a>;
<a name="l01077"></a>01077
<a name="l01078"></a>01078 <span class="comment">/* CK_RSA_PKCS_PSS_PARAMS is new for v2.11.</span>
<a name="l01079"></a>01079 <span class="comment"> * CK_RSA_PKCS_PSS_PARAMS provides the parameters to the</span>
<a name="l01080"></a>01080 <span class="comment"> * CKM_RSA_PKCS_PSS mechanism(s). */</span>
<a name="l01081"></a><a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html">01081</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html">CK_RSA_PKCS_PSS_PARAMS</a> {
<a name="l01082"></a><a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html#ae4f8f4479f2ba048f5c333c8e3b9de7f">01082</a> <a class="code" href="pkcs11t_8h.html#aaf1084907f5cc09a3e0b85ab022a240d">CK_MECHANISM_TYPE</a> <a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html#ae4f8f4479f2ba048f5c333c8e3b9de7f">hashAlg</a>;
<a name="l01083"></a><a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html#a74822dfb6d861a87cbe4ddaeedc769ef">01083</a> <a class="code" href="pkcs11t_8h.html#a85bafbc5ca956ad99bbc6068334a98e6">CK_RSA_PKCS_MGF_TYPE</a> <a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html#a74822dfb6d861a87cbe4ddaeedc769ef">mgf</a>;
<a name="l01084"></a><a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html#ae2e0a2e9553fe7d0e81acf85fc2bdeb4">01084</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html#ae2e0a2e9553fe7d0e81acf85fc2bdeb4">sLen</a>;
<a name="l01085"></a>01085 } <a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html">CK_RSA_PKCS_PSS_PARAMS</a>;
<a name="l01086"></a>01086
<a name="l01087"></a><a class="code" href="pkcs11t_8h.html#a9bf52307580dada3f4f3cdeaf5ec70d4">01087</a> <span class="keyword">typedef</span> <a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html">CK_RSA_PKCS_PSS_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a9bf52307580dada3f4f3cdeaf5ec70d4">CK_RSA_PKCS_PSS_PARAMS_PTR</a>;
<a name="l01088"></a>01088
<a name="l01089"></a>01089 <span class="comment">/* CK_EC_KDF_TYPE is new for v2.11. */</span>
<a name="l01090"></a><a class="code" href="pkcs11t_8h.html#a25c4c2080a9de6b88ec16c6e9c776e56">01090</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a25c4c2080a9de6b88ec16c6e9c776e56">CK_EC_KDF_TYPE</a>;
<a name="l01091"></a>01091
<a name="l01092"></a>01092 <span class="comment">/* The following EC Key Derivation Functions are defined */</span>
<a name="l01093"></a>01093 <span class="preprocessor">#define CKD_NULL 0x00000001</span>
<a name="l01094"></a><a class="code" href="pkcs11t_8h.html#a021c552be6c4bb687fa6f27f0d5c6551">01094</a> <span class="preprocessor"></span><span class="preprocessor">#define CKD_SHA1_KDF 0x00000002</span>
<a name="l01095"></a>01095 <span class="preprocessor"></span>
<a name="l01096"></a>01096 <span class="comment">/* CK_ECDH1_DERIVE_PARAMS is new for v2.11.</span>
<a name="l01097"></a>01097 <span class="comment"> * CK_ECDH1_DERIVE_PARAMS provides the parameters to the</span>
<a name="l01098"></a>01098 <span class="comment"> * CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE mechanisms,</span>
<a name="l01099"></a>01099 <span class="comment"> * where each party contributes one key pair.</span>
<a name="l01100"></a>01100 <span class="comment"> */</span>
<a name="l01101"></a><a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html">01101</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html">CK_ECDH1_DERIVE_PARAMS</a> {
<a name="l01102"></a><a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#a0b7cdb5c49b5009e5d66ca1d6b6ead43">01102</a> <a class="code" href="pkcs11t_8h.html#a25c4c2080a9de6b88ec16c6e9c776e56">CK_EC_KDF_TYPE</a> <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#a0b7cdb5c49b5009e5d66ca1d6b6ead43">kdf</a>;
<a name="l01103"></a><a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#a95606c7e5bb43c1d62f41791c98d7f7f">01103</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#a95606c7e5bb43c1d62f41791c98d7f7f">ulSharedDataLen</a>;
<a name="l01104"></a><a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#acab261b5f4c0104ea7011d671b371ab1">01104</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#acab261b5f4c0104ea7011d671b371ab1">pSharedData</a>;
<a name="l01105"></a><a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">01105</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">ulPublicDataLen</a>;
<a name="l01106"></a><a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">01106</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">pPublicData</a>;
<a name="l01107"></a>01107 } <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html">CK_ECDH1_DERIVE_PARAMS</a>;
<a name="l01108"></a>01108
<a name="l01109"></a><a class="code" href="pkcs11t_8h.html#a35166028478091483bf5643d2490434f">01109</a> <span class="keyword">typedef</span> <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html">CK_ECDH1_DERIVE_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a35166028478091483bf5643d2490434f">CK_ECDH1_DERIVE_PARAMS_PTR</a>;
<a name="l01110"></a>01110
<a name="l01111"></a>01111
<a name="l01112"></a>01112 <span class="comment">/* CK_ECDH2_DERIVE_PARAMS is new for v2.11.</span>
<a name="l01113"></a>01113 <span class="comment"> * CK_ECDH2_DERIVE_PARAMS provides the parameters to the</span>
<a name="l01114"></a>01114 <span class="comment"> * CKM_ECMQV_DERIVE mechanism, where each party contributes two key pairs. */</span>
<a name="l01115"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html">01115</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html">CK_ECDH2_DERIVE_PARAMS</a> {
<a name="l01116"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a0b7cdb5c49b5009e5d66ca1d6b6ead43">01116</a> <a class="code" href="pkcs11t_8h.html#a25c4c2080a9de6b88ec16c6e9c776e56">CK_EC_KDF_TYPE</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a0b7cdb5c49b5009e5d66ca1d6b6ead43">kdf</a>;
<a name="l01117"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a95606c7e5bb43c1d62f41791c98d7f7f">01117</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a95606c7e5bb43c1d62f41791c98d7f7f">ulSharedDataLen</a>;
<a name="l01118"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#acab261b5f4c0104ea7011d671b371ab1">01118</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#acab261b5f4c0104ea7011d671b371ab1">pSharedData</a>;
<a name="l01119"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">01119</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">ulPublicDataLen</a>;
<a name="l01120"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">01120</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">pPublicData</a>;
<a name="l01121"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a298011aaedd3c092f893e8bbba354cf9">01121</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a298011aaedd3c092f893e8bbba354cf9">ulPrivateDataLen</a>;
<a name="l01122"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a2f6769e4ceda4853db07b96b8e5770a0">01122</a> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a2f6769e4ceda4853db07b96b8e5770a0">hPrivateData</a>;
<a name="l01123"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a883bd3806b7c0e47291bc8efce44ccc1">01123</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a883bd3806b7c0e47291bc8efce44ccc1">ulPublicDataLen2</a>;
<a name="l01124"></a><a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a807f984f215aef03dc5ac126804618dd">01124</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html#a807f984f215aef03dc5ac126804618dd">pPublicData2</a>;
<a name="l01125"></a>01125 } <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html">CK_ECDH2_DERIVE_PARAMS</a>;
<a name="l01126"></a>01126
<a name="l01127"></a><a class="code" href="pkcs11t_8h.html#ab755a76383d4811f8bb8c3278289068d">01127</a> <span class="keyword">typedef</span> <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html">CK_ECDH2_DERIVE_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#ab755a76383d4811f8bb8c3278289068d">CK_ECDH2_DERIVE_PARAMS_PTR</a>;
<a name="l01128"></a>01128
<a name="l01129"></a>01129 <span class="comment">/* Typedefs and defines for the CKM_X9_42_DH_KEY_PAIR_GEN and the</span>
<a name="l01130"></a>01130 <span class="comment"> * CKM_X9_42_DH_PARAMETER_GEN mechanisms (new for PKCS #11 v2.11) */</span>
<a name="l01131"></a><a class="code" href="pkcs11t_8h.html#a24f6d64f6b795fc778901d99e4126bde">01131</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a24f6d64f6b795fc778901d99e4126bde">CK_X9_42_DH_KDF_TYPE</a>;
<a name="l01132"></a><a class="code" href="pkcs11t_8h.html#a5550223ba9c9a856850b9bc54a495568">01132</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a24f6d64f6b795fc778901d99e4126bde">CK_X9_42_DH_KDF_TYPE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a5550223ba9c9a856850b9bc54a495568">CK_X9_42_DH_KDF_TYPE_PTR</a>;
<a name="l01133"></a>01133
<a name="l01134"></a>01134 <span class="comment">/* The following X9.42 DH key derivation functions are defined: */</span>
<a name="l01135"></a><a class="code" href="pkcs11t_8h.html#a012d1d53633b9723a65b5a428b810bfd">01135</a> <span class="preprocessor">#define CKD_NULL 0x00000001</span>
<a name="l01136"></a><a class="code" href="pkcs11t_8h.html#a1ebbf0304ffba1a4e0599cc80588247d">01136</a> <span class="preprocessor"></span><span class="preprocessor">#define CKD_SHA1_KDF_ASN1 0x00000003</span>
<a name="l01137"></a><a class="code" href="pkcs11t_8h.html#aacf819ebe338adffbbd099d99ee035d4">01137</a> <span class="preprocessor"></span><span class="preprocessor">#define CKD_SHA1_KDF_CONCATENATE 0x00000004</span>
<a name="l01138"></a>01138 <span class="preprocessor"></span>
<a name="l01139"></a>01139 <span class="comment">/* CK_X9_42_DH1_DERIVE_PARAMS is new for v2.11.</span>
<a name="l01140"></a>01140 <span class="comment"> * CK_X9_42_DH1_DERIVE_PARAMS provides the parameters to the</span>
<a name="l01141"></a>01141 <span class="comment"> * CKM_X9_42_DH_DERIVE key derivation mechanism, where each party</span>
<a name="l01142"></a>01142 <span class="comment"> * contributes one key pair */</span>
<a name="l01143"></a><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html">01143</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html">CK_X9_42_DH1_DERIVE_PARAMS</a> {
<a name="l01144"></a><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#acc8cd375637e8d4baa461093eda95473">01144</a> <a class="code" href="pkcs11t_8h.html#a24f6d64f6b795fc778901d99e4126bde">CK_X9_42_DH_KDF_TYPE</a> <a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#acc8cd375637e8d4baa461093eda95473">kdf</a>;
<a name="l01145"></a><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#ace81f9dea6ea647a99eb5fffb98621ea">01145</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#ace81f9dea6ea647a99eb5fffb98621ea">ulOtherInfoLen</a>;
<a name="l01146"></a><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#a0bdadab84c1177e86014fccfbf43e50f">01146</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#a0bdadab84c1177e86014fccfbf43e50f">pOtherInfo</a>;
<a name="l01147"></a><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">01147</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">ulPublicDataLen</a>;
<a name="l01148"></a><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">01148</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">pPublicData</a>;
<a name="l01149"></a>01149 } <a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html">CK_X9_42_DH1_DERIVE_PARAMS</a>;
<a name="l01150"></a>01150
<a name="l01151"></a><a class="code" href="pkcs11t_8h.html#a537928b342a17b1214af2f1d2ca6f1c8">01151</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__X9__42__DH1__DERIVE__PARAMS.html">CK_X9_42_DH1_DERIVE_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a537928b342a17b1214af2f1d2ca6f1c8">CK_X9_42_DH1_DERIVE_PARAMS_PTR</a>;
<a name="l01152"></a>01152
<a name="l01153"></a>01153 <span class="comment">/* CK_X9_42_DH2_DERIVE_PARAMS is new for v2.11.</span>
<a name="l01154"></a>01154 <span class="comment"> * CK_X9_42_DH2_DERIVE_PARAMS provides the parameters to the</span>
<a name="l01155"></a>01155 <span class="comment"> * CKM_X9_42_DH_HYBRID_DERIVE and CKM_X9_42_MQV_DERIVE key derivation</span>
<a name="l01156"></a>01156 <span class="comment"> * mechanisms, where each party contributes two key pairs */</span>
<a name="l01157"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html">01157</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html">CK_X9_42_DH2_DERIVE_PARAMS</a> {
<a name="l01158"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#acc8cd375637e8d4baa461093eda95473">01158</a> <a class="code" href="pkcs11t_8h.html#a24f6d64f6b795fc778901d99e4126bde">CK_X9_42_DH_KDF_TYPE</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#acc8cd375637e8d4baa461093eda95473">kdf</a>;
<a name="l01159"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#ace81f9dea6ea647a99eb5fffb98621ea">01159</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#ace81f9dea6ea647a99eb5fffb98621ea">ulOtherInfoLen</a>;
<a name="l01160"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a0bdadab84c1177e86014fccfbf43e50f">01160</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a0bdadab84c1177e86014fccfbf43e50f">pOtherInfo</a>;
<a name="l01161"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">01161</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">ulPublicDataLen</a>;
<a name="l01162"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">01162</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">pPublicData</a>;
<a name="l01163"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a298011aaedd3c092f893e8bbba354cf9">01163</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a298011aaedd3c092f893e8bbba354cf9">ulPrivateDataLen</a>;
<a name="l01164"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a2f6769e4ceda4853db07b96b8e5770a0">01164</a> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a2f6769e4ceda4853db07b96b8e5770a0">hPrivateData</a>;
<a name="l01165"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a883bd3806b7c0e47291bc8efce44ccc1">01165</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a883bd3806b7c0e47291bc8efce44ccc1">ulPublicDataLen2</a>;
<a name="l01166"></a><a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a807f984f215aef03dc5ac126804618dd">01166</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html#a807f984f215aef03dc5ac126804618dd">pPublicData2</a>;
<a name="l01167"></a>01167 } <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html">CK_X9_42_DH2_DERIVE_PARAMS</a>;
<a name="l01168"></a>01168
<a name="l01169"></a><a class="code" href="pkcs11t_8h.html#a9badc66d40839495bdbc455a344416c3">01169</a> <span class="keyword">typedef</span> <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html">CK_X9_42_DH2_DERIVE_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a9badc66d40839495bdbc455a344416c3">CK_X9_42_DH2_DERIVE_PARAMS_PTR</a>;
<a name="l01170"></a>01170
<a name="l01171"></a>01171 <span class="comment">/* CK_KEA_DERIVE_PARAMS provides the parameters to the</span>
<a name="l01172"></a>01172 <span class="comment"> * CKM_KEA_DERIVE mechanism */</span>
<a name="l01173"></a>01173 <span class="comment">/* CK_KEA_DERIVE_PARAMS is new for v2.0 */</span>
<a name="l01174"></a><a class="code" href="structCK__KEA__DERIVE__PARAMS.html">01174</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__KEA__DERIVE__PARAMS.html">CK_KEA_DERIVE_PARAMS</a> {
<a name="l01175"></a><a class="code" href="structCK__KEA__DERIVE__PARAMS.html#ae475ca2eb6093e7c981eef0e91743d4d">01175</a> <a class="code" href="pkcs11t_8h.html#abd07a1bba363f8083080b9328e67b491">CK_BBOOL</a> <a class="code" href="structCK__KEA__DERIVE__PARAMS.html#ae475ca2eb6093e7c981eef0e91743d4d">isSender</a>;
<a name="l01176"></a><a class="code" href="structCK__KEA__DERIVE__PARAMS.html#a00a1a192971f1194f2e40e86eba49d32">01176</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__KEA__DERIVE__PARAMS.html#a00a1a192971f1194f2e40e86eba49d32">ulRandomLen</a>;
<a name="l01177"></a><a class="code" href="structCK__KEA__DERIVE__PARAMS.html#ac98b8ee83b00153a916a5b64264b3548">01177</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__KEA__DERIVE__PARAMS.html#ac98b8ee83b00153a916a5b64264b3548">pRandomA</a>;
<a name="l01178"></a><a class="code" href="structCK__KEA__DERIVE__PARAMS.html#a738b89a6cd752e2b0f19073e5003ca59">01178</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__KEA__DERIVE__PARAMS.html#a738b89a6cd752e2b0f19073e5003ca59">pRandomB</a>;
<a name="l01179"></a><a class="code" href="structCK__KEA__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">01179</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__KEA__DERIVE__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">ulPublicDataLen</a>;
<a name="l01180"></a><a class="code" href="structCK__KEA__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">01180</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__KEA__DERIVE__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">pPublicData</a>;
<a name="l01181"></a>01181 } <a class="code" href="structCK__KEA__DERIVE__PARAMS.html">CK_KEA_DERIVE_PARAMS</a>;
<a name="l01182"></a>01182
<a name="l01183"></a><a class="code" href="pkcs11t_8h.html#a7e120a9c103c46544fd398c860bf62a1">01183</a> <span class="keyword">typedef</span> <a class="code" href="structCK__KEA__DERIVE__PARAMS.html">CK_KEA_DERIVE_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a7e120a9c103c46544fd398c860bf62a1">CK_KEA_DERIVE_PARAMS_PTR</a>;
<a name="l01184"></a>01184
<a name="l01185"></a>01185
<a name="l01186"></a>01186 <span class="comment">/* CK_RC2_PARAMS provides the parameters to the CKM_RC2_ECB and</span>
<a name="l01187"></a>01187 <span class="comment"> * CKM_RC2_MAC mechanisms. An instance of CK_RC2_PARAMS just</span>
<a name="l01188"></a>01188 <span class="comment"> * holds the effective keysize */</span>
<a name="l01189"></a><a class="code" href="pkcs11t_8h.html#acffd0b96961d7134faa123d96117cc0e">01189</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#acffd0b96961d7134faa123d96117cc0e">CK_RC2_PARAMS</a>;
<a name="l01190"></a>01190
<a name="l01191"></a><a class="code" href="pkcs11t_8h.html#a67678604db9f668cef60e65c4d176e6b">01191</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#acffd0b96961d7134faa123d96117cc0e">CK_RC2_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a67678604db9f668cef60e65c4d176e6b">CK_RC2_PARAMS_PTR</a>;
<a name="l01192"></a>01192
<a name="l01193"></a>01193
<a name="l01194"></a>01194 <span class="comment">/* CK_RC2_CBC_PARAMS provides the parameters to the CKM_RC2_CBC</span>
<a name="l01195"></a>01195 <span class="comment"> * mechanism */</span>
<a name="l01196"></a><a class="code" href="structCK__RC2__CBC__PARAMS.html">01196</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__RC2__CBC__PARAMS.html">CK_RC2_CBC_PARAMS</a> {
<a name="l01197"></a>01197 <span class="comment">/* ulEffectiveBits was changed from CK_USHORT to CK_ULONG for</span>
<a name="l01198"></a>01198 <span class="comment"> * v2.0 */</span>
<a name="l01199"></a><a class="code" href="structCK__RC2__CBC__PARAMS.html#a181d6b45794496029378f93021fc9519">01199</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC2__CBC__PARAMS.html#a181d6b45794496029378f93021fc9519">ulEffectiveBits</a>; <span class="comment">/* effective bits (1-1024) */</span>
<a name="l01200"></a>01200
<a name="l01201"></a><a class="code" href="structCK__RC2__CBC__PARAMS.html#a2239539c030d3babf0bb4ad53f3d8642">01201</a> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="structCK__RC2__CBC__PARAMS.html#a2239539c030d3babf0bb4ad53f3d8642">iv</a>[8]; <span class="comment">/* IV for CBC mode */</span>
<a name="l01202"></a>01202 } <a class="code" href="structCK__RC2__CBC__PARAMS.html">CK_RC2_CBC_PARAMS</a>;
<a name="l01203"></a>01203
<a name="l01204"></a><a class="code" href="pkcs11t_8h.html#a4e385fc1a9b4024630d28b9b40ee4507">01204</a> <span class="keyword">typedef</span> <a class="code" href="structCK__RC2__CBC__PARAMS.html">CK_RC2_CBC_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a4e385fc1a9b4024630d28b9b40ee4507">CK_RC2_CBC_PARAMS_PTR</a>;
<a name="l01205"></a>01205
<a name="l01206"></a>01206
<a name="l01207"></a>01207 <span class="comment">/* CK_RC2_MAC_GENERAL_PARAMS provides the parameters for the</span>
<a name="l01208"></a>01208 <span class="comment"> * CKM_RC2_MAC_GENERAL mechanism */</span>
<a name="l01209"></a>01209 <span class="comment">/* CK_RC2_MAC_GENERAL_PARAMS is new for v2.0 */</span>
<a name="l01210"></a><a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html">01210</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html">CK_RC2_MAC_GENERAL_PARAMS</a> {
<a name="l01211"></a><a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html#a181d6b45794496029378f93021fc9519">01211</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html#a181d6b45794496029378f93021fc9519">ulEffectiveBits</a>; <span class="comment">/* effective bits (1-1024) */</span>
<a name="l01212"></a><a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html#a7c666619b471e4c6c6083a50adab5272">01212</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html#a7c666619b471e4c6c6083a50adab5272">ulMacLength</a>; <span class="comment">/* Length of MAC in bytes */</span>
<a name="l01213"></a>01213 } <a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html">CK_RC2_MAC_GENERAL_PARAMS</a>;
<a name="l01214"></a>01214
<a name="l01215"></a><a class="code" href="pkcs11t_8h.html#af190b74e41616e94de6d7989e2956bcc">01215</a> <span class="keyword">typedef</span> <a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html">CK_RC2_MAC_GENERAL_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#af190b74e41616e94de6d7989e2956bcc">CK_RC2_MAC_GENERAL_PARAMS_PTR</a>;
<a name="l01216"></a>01216
<a name="l01217"></a>01217
<a name="l01218"></a>01218 <span class="comment">/* CK_RC5_PARAMS provides the parameters to the CKM_RC5_ECB and</span>
<a name="l01219"></a>01219 <span class="comment"> * CKM_RC5_MAC mechanisms */</span>
<a name="l01220"></a>01220 <span class="comment">/* CK_RC5_PARAMS is new for v2.0 */</span>
<a name="l01221"></a><a class="code" href="structCK__RC5__PARAMS.html">01221</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__RC5__PARAMS.html">CK_RC5_PARAMS</a> {
<a name="l01222"></a><a class="code" href="structCK__RC5__PARAMS.html#adec9abac2456557fc3fa3ee9b93c074b">01222</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__PARAMS.html#adec9abac2456557fc3fa3ee9b93c074b">ulWordsize</a>; <span class="comment">/* wordsize in bits */</span>
<a name="l01223"></a><a class="code" href="structCK__RC5__PARAMS.html#abccd916df6f88f2628b639341735dc43">01223</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__PARAMS.html#abccd916df6f88f2628b639341735dc43">ulRounds</a>; <span class="comment">/* number of rounds */</span>
<a name="l01224"></a>01224 } <a class="code" href="structCK__RC5__PARAMS.html">CK_RC5_PARAMS</a>;
<a name="l01225"></a>01225
<a name="l01226"></a><a class="code" href="pkcs11t_8h.html#a23e15dcf53224ea6f7bf57b4a0a32771">01226</a> <span class="keyword">typedef</span> <a class="code" href="structCK__RC5__PARAMS.html">CK_RC5_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a23e15dcf53224ea6f7bf57b4a0a32771">CK_RC5_PARAMS_PTR</a>;
<a name="l01227"></a>01227
<a name="l01228"></a>01228
<a name="l01229"></a>01229 <span class="comment">/* CK_RC5_CBC_PARAMS provides the parameters to the CKM_RC5_CBC</span>
<a name="l01230"></a>01230 <span class="comment"> * mechanism */</span>
<a name="l01231"></a>01231 <span class="comment">/* CK_RC5_CBC_PARAMS is new for v2.0 */</span>
<a name="l01232"></a><a class="code" href="structCK__RC5__CBC__PARAMS.html">01232</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__RC5__CBC__PARAMS.html">CK_RC5_CBC_PARAMS</a> {
<a name="l01233"></a><a class="code" href="structCK__RC5__CBC__PARAMS.html#adec9abac2456557fc3fa3ee9b93c074b">01233</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__CBC__PARAMS.html#adec9abac2456557fc3fa3ee9b93c074b">ulWordsize</a>; <span class="comment">/* wordsize in bits */</span>
<a name="l01234"></a><a class="code" href="structCK__RC5__CBC__PARAMS.html#abccd916df6f88f2628b639341735dc43">01234</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__CBC__PARAMS.html#abccd916df6f88f2628b639341735dc43">ulRounds</a>; <span class="comment">/* number of rounds */</span>
<a name="l01235"></a><a class="code" href="structCK__RC5__CBC__PARAMS.html#a484f89086d16b6136e768608356cf411">01235</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__RC5__CBC__PARAMS.html#a484f89086d16b6136e768608356cf411">pIv</a>; <span class="comment">/* pointer to IV */</span>
<a name="l01236"></a><a class="code" href="structCK__RC5__CBC__PARAMS.html#a369e27367725ae54a5b066d87ad6e0b6">01236</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__CBC__PARAMS.html#a369e27367725ae54a5b066d87ad6e0b6">ulIvLen</a>; <span class="comment">/* length of IV in bytes */</span>
<a name="l01237"></a>01237 } <a class="code" href="structCK__RC5__CBC__PARAMS.html">CK_RC5_CBC_PARAMS</a>;
<a name="l01238"></a>01238
<a name="l01239"></a><a class="code" href="pkcs11t_8h.html#a4f34b68c95446bbec23f9d656b19eb69">01239</a> <span class="keyword">typedef</span> <a class="code" href="structCK__RC5__CBC__PARAMS.html">CK_RC5_CBC_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a4f34b68c95446bbec23f9d656b19eb69">CK_RC5_CBC_PARAMS_PTR</a>;
<a name="l01240"></a>01240
<a name="l01241"></a>01241
<a name="l01242"></a>01242 <span class="comment">/* CK_RC5_MAC_GENERAL_PARAMS provides the parameters for the</span>
<a name="l01243"></a>01243 <span class="comment"> * CKM_RC5_MAC_GENERAL mechanism */</span>
<a name="l01244"></a>01244 <span class="comment">/* CK_RC5_MAC_GENERAL_PARAMS is new for v2.0 */</span>
<a name="l01245"></a><a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html">01245</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html">CK_RC5_MAC_GENERAL_PARAMS</a> {
<a name="l01246"></a><a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html#adec9abac2456557fc3fa3ee9b93c074b">01246</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html#adec9abac2456557fc3fa3ee9b93c074b">ulWordsize</a>; <span class="comment">/* wordsize in bits */</span>
<a name="l01247"></a><a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html#abccd916df6f88f2628b639341735dc43">01247</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html#abccd916df6f88f2628b639341735dc43">ulRounds</a>; <span class="comment">/* number of rounds */</span>
<a name="l01248"></a><a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html#a7c666619b471e4c6c6083a50adab5272">01248</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html#a7c666619b471e4c6c6083a50adab5272">ulMacLength</a>; <span class="comment">/* Length of MAC in bytes */</span>
<a name="l01249"></a>01249 } <a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html">CK_RC5_MAC_GENERAL_PARAMS</a>;
<a name="l01250"></a>01250
<a name="l01251"></a><a class="code" href="pkcs11t_8h.html#a154dd72c8942bbe709d7b2af52d75c14">01251</a> <span class="keyword">typedef</span> <a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html">CK_RC5_MAC_GENERAL_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a154dd72c8942bbe709d7b2af52d75c14">CK_RC5_MAC_GENERAL_PARAMS_PTR</a>;
<a name="l01252"></a>01252
<a name="l01253"></a>01253
<a name="l01254"></a>01254 <span class="comment">/* CK_MAC_GENERAL_PARAMS provides the parameters to most block</span>
<a name="l01255"></a>01255 <span class="comment"> * ciphers' MAC_GENERAL mechanisms. Its value is the length of</span>
<a name="l01256"></a>01256 <span class="comment"> * the MAC */</span>
<a name="l01257"></a>01257 <span class="comment">/* CK_MAC_GENERAL_PARAMS is new for v2.0 */</span>
<a name="l01258"></a><a class="code" href="pkcs11t_8h.html#aa70aa141e7a09dc2e9e2dc244725d469">01258</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#aa70aa141e7a09dc2e9e2dc244725d469">CK_MAC_GENERAL_PARAMS</a>;
<a name="l01259"></a>01259
<a name="l01260"></a><a class="code" href="pkcs11t_8h.html#a5b1b708f1bdd1dd497f0bd8f7abf2434">01260</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#aa70aa141e7a09dc2e9e2dc244725d469">CK_MAC_GENERAL_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a5b1b708f1bdd1dd497f0bd8f7abf2434">CK_MAC_GENERAL_PARAMS_PTR</a>;
<a name="l01261"></a>01261
<a name="l01262"></a>01262
<a name="l01263"></a>01263 <span class="comment">/* CK_SKIPJACK_PRIVATE_WRAP_PARAMS provides the parameters to the</span>
<a name="l01264"></a>01264 <span class="comment"> * CKM_SKIPJACK_PRIVATE_WRAP mechanism */</span>
<a name="l01265"></a>01265 <span class="comment">/* CK_SKIPJACK_PRIVATE_WRAP_PARAMS is new for v2.0 */</span>
<a name="l01266"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html">01266</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html">CK_SKIPJACK_PRIVATE_WRAP_PARAMS</a> {
<a name="l01267"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a89c0c27f6cec1370f47936875a8cc1b5">01267</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a89c0c27f6cec1370f47936875a8cc1b5">ulPasswordLen</a>;
<a name="l01268"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a56f8964b4d28bc03e5f5d9a374e7b508">01268</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a56f8964b4d28bc03e5f5d9a374e7b508">pPassword</a>;
<a name="l01269"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">01269</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#ae9ccaf64b51247d789c8e4d78b64b54c">ulPublicDataLen</a>;
<a name="l01270"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">01270</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a5b5ab88b8cf93cfa701f56237f237292">pPublicData</a>;
<a name="l01271"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a4cae58e875e47801c0a1d93f64dfc159">01271</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a4cae58e875e47801c0a1d93f64dfc159">ulPAndGLen</a>;
<a name="l01272"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a0e2a060a89783c74b9189f7ee989e336">01272</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a0e2a060a89783c74b9189f7ee989e336">ulQLen</a>;
<a name="l01273"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a00a1a192971f1194f2e40e86eba49d32">01273</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a00a1a192971f1194f2e40e86eba49d32">ulRandomLen</a>;
<a name="l01274"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#ac98b8ee83b00153a916a5b64264b3548">01274</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#ac98b8ee83b00153a916a5b64264b3548">pRandomA</a>;
<a name="l01275"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a26916f0963020f01b558f49a7a0ee1a9">01275</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a26916f0963020f01b558f49a7a0ee1a9">pPrimeP</a>;
<a name="l01276"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a2517234f230b9bd2a911ba4ece9826fb">01276</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#a2517234f230b9bd2a911ba4ece9826fb">pBaseG</a>;
<a name="l01277"></a><a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#acf61d8c024340f5ab1a96c03251b5f10">01277</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html#acf61d8c024340f5ab1a96c03251b5f10">pSubprimeQ</a>;
<a name="l01278"></a>01278 } <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html">CK_SKIPJACK_PRIVATE_WRAP_PARAMS</a>;
<a name="l01279"></a>01279
<a name="l01280"></a><a class="code" href="pkcs11t_8h.html#af88a2bf3bb6d17c9c9b9cff234620c28">01280</a> <span class="keyword">typedef</span> <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html">CK_SKIPJACK_PRIVATE_WRAP_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#af88a2bf3bb6d17c9c9b9cff234620c28">CK_SKIPJACK_PRIVATE_WRAP_PTR</a>;
<a name="l01281"></a>01281
<a name="l01282"></a>01282
<a name="l01283"></a>01283 <span class="comment">/* CK_SKIPJACK_RELAYX_PARAMS provides the parameters to the</span>
<a name="l01284"></a>01284 <span class="comment"> * CKM_SKIPJACK_RELAYX mechanism */</span>
<a name="l01285"></a>01285 <span class="comment">/* CK_SKIPJACK_RELAYX_PARAMS is new for v2.0 */</span>
<a name="l01286"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html">01286</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html">CK_SKIPJACK_RELAYX_PARAMS</a> {
<a name="l01287"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#aaebfa9ee1efa17e01385e912f131dbce">01287</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#aaebfa9ee1efa17e01385e912f131dbce">ulOldWrappedXLen</a>;
<a name="l01288"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ab66d64eff24b0fb44c976cbd06eb4813">01288</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ab66d64eff24b0fb44c976cbd06eb4813">pOldWrappedX</a>;
<a name="l01289"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a22aca150dbcc8624d4baf16654e818b0">01289</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a22aca150dbcc8624d4baf16654e818b0">ulOldPasswordLen</a>;
<a name="l01290"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#aa5768b5821839305e62ded58a4adb4c7">01290</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#aa5768b5821839305e62ded58a4adb4c7">pOldPassword</a>;
<a name="l01291"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ab198fd92d80e111db8b47946178867fc">01291</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ab198fd92d80e111db8b47946178867fc">ulOldPublicDataLen</a>;
<a name="l01292"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a49f4cdf5ffabdadb1e1335242b05c150">01292</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a49f4cdf5ffabdadb1e1335242b05c150">pOldPublicData</a>;
<a name="l01293"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ab59f51b5a5a26679244adcd0b3fe71e1">01293</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ab59f51b5a5a26679244adcd0b3fe71e1">ulOldRandomLen</a>;
<a name="l01294"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ac3978e19be0d7b37469e8a0533656469">01294</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#ac3978e19be0d7b37469e8a0533656469">pOldRandomA</a>;
<a name="l01295"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a8e424df37706c0c5dc6b6f6e4bc47902">01295</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a8e424df37706c0c5dc6b6f6e4bc47902">ulNewPasswordLen</a>;
<a name="l01296"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a57eb4fc15619633f034118e2ebf0c049">01296</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a57eb4fc15619633f034118e2ebf0c049">pNewPassword</a>;
<a name="l01297"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a3b8260daaaf7c82eebde5d6a9619c87c">01297</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a3b8260daaaf7c82eebde5d6a9619c87c">ulNewPublicDataLen</a>;
<a name="l01298"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a4213f41b59658caf27fa4f6a48a6acbe">01298</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a4213f41b59658caf27fa4f6a48a6acbe">pNewPublicData</a>;
<a name="l01299"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a9c9eb19eea6e2d16c2ef58cf7b6f3261">01299</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#a9c9eb19eea6e2d16c2ef58cf7b6f3261">ulNewRandomLen</a>;
<a name="l01300"></a><a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#aac2f3b9bfbef00d0b000ee978c26deed">01300</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html#aac2f3b9bfbef00d0b000ee978c26deed">pNewRandomA</a>;
<a name="l01301"></a>01301 } <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html">CK_SKIPJACK_RELAYX_PARAMS</a>;
<a name="l01302"></a>01302
<a name="l01303"></a><a class="code" href="pkcs11t_8h.html#afc65570ca4014bcd99bad84ecada694b">01303</a> <span class="keyword">typedef</span> <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html">CK_SKIPJACK_RELAYX_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#afc65570ca4014bcd99bad84ecada694b">CK_SKIPJACK_RELAYX_PARAMS_PTR</a>;
<a name="l01304"></a>01304
<a name="l01305"></a>01305
<a name="l01306"></a><a class="code" href="structCK__PBE__PARAMS.html">01306</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__PBE__PARAMS.html">CK_PBE_PARAMS</a> {
<a name="l01307"></a><a class="code" href="structCK__PBE__PARAMS.html#a612c89f901f58cad3d1d0d8089aa0060">01307</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__PBE__PARAMS.html#a612c89f901f58cad3d1d0d8089aa0060">pInitVector</a>;
<a name="l01308"></a><a class="code" href="structCK__PBE__PARAMS.html#afcd59d3f53ba9541d524b464e52db6c3">01308</a> <a class="code" href="pkcs11t_8h.html#af25c3841a3f605e6414f4c9ef5592ed9">CK_UTF8CHAR_PTR</a> <a class="code" href="structCK__PBE__PARAMS.html#afcd59d3f53ba9541d524b464e52db6c3">pPassword</a>;
<a name="l01309"></a><a class="code" href="structCK__PBE__PARAMS.html#a89c0c27f6cec1370f47936875a8cc1b5">01309</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__PBE__PARAMS.html#a89c0c27f6cec1370f47936875a8cc1b5">ulPasswordLen</a>;
<a name="l01310"></a><a class="code" href="structCK__PBE__PARAMS.html#abe4a9572f77ba45b587a125d643c5b72">01310</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__PBE__PARAMS.html#abe4a9572f77ba45b587a125d643c5b72">pSalt</a>;
<a name="l01311"></a><a class="code" href="structCK__PBE__PARAMS.html#a4d206c4f8551e261f4bbd21409ffb631">01311</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__PBE__PARAMS.html#a4d206c4f8551e261f4bbd21409ffb631">ulSaltLen</a>;
<a name="l01312"></a><a class="code" href="structCK__PBE__PARAMS.html#ad9c12921654a58f48b32e71c3742026d">01312</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__PBE__PARAMS.html#ad9c12921654a58f48b32e71c3742026d">ulIteration</a>;
<a name="l01313"></a>01313 } <a class="code" href="structCK__PBE__PARAMS.html">CK_PBE_PARAMS</a>;
<a name="l01314"></a>01314
<a name="l01315"></a><a class="code" href="pkcs11t_8h.html#a64ebc9a1348e98dac7f448921e80bc0d">01315</a> <span class="keyword">typedef</span> <a class="code" href="structCK__PBE__PARAMS.html">CK_PBE_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a64ebc9a1348e98dac7f448921e80bc0d">CK_PBE_PARAMS_PTR</a>;
<a name="l01316"></a>01316
<a name="l01317"></a>01317
<a name="l01318"></a>01318 <span class="comment">/* CK_KEY_WRAP_SET_OAEP_PARAMS provides the parameters to the</span>
<a name="l01319"></a>01319 <span class="comment"> * CKM_KEY_WRAP_SET_OAEP mechanism */</span>
<a name="l01320"></a>01320 <span class="comment">/* CK_KEY_WRAP_SET_OAEP_PARAMS is new for v2.0 */</span>
<a name="l01321"></a><a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html">01321</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html">CK_KEY_WRAP_SET_OAEP_PARAMS</a> {
<a name="l01322"></a><a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html#ab2faf620b1a87b8aff40aa7863ef23ae">01322</a> <a class="code" href="pkcs11t_8h.html#a51e605f881c86838bf12d70707b57b85">CK_BYTE</a> <a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html#ab2faf620b1a87b8aff40aa7863ef23ae">bBC</a>; <span class="comment">/* block contents byte */</span>
<a name="l01323"></a><a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html#a0fbadb71e1340059f259d497c06830d8">01323</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html#a0fbadb71e1340059f259d497c06830d8">pX</a>; <span class="comment">/* extra data */</span>
<a name="l01324"></a><a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html#a862ba0222874033b65d60dc20602fc56">01324</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html#a862ba0222874033b65d60dc20602fc56">ulXLen</a>; <span class="comment">/* length of extra data in bytes */</span>
<a name="l01325"></a>01325 } <a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html">CK_KEY_WRAP_SET_OAEP_PARAMS</a>;
<a name="l01326"></a>01326
<a name="l01327"></a><a class="code" href="pkcs11t_8h.html#a697cfbce8149a779ae86059eed87cd73">01327</a> <span class="keyword">typedef</span> <a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html">CK_KEY_WRAP_SET_OAEP_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a697cfbce8149a779ae86059eed87cd73">CK_KEY_WRAP_SET_OAEP_PARAMS_PTR</a>;
<a name="l01328"></a>01328
<a name="l01329"></a>01329
<a name="l01330"></a><a class="code" href="structCK__SSL3__RANDOM__DATA.html">01330</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SSL3__RANDOM__DATA.html">CK_SSL3_RANDOM_DATA</a> {
<a name="l01331"></a><a class="code" href="structCK__SSL3__RANDOM__DATA.html#af5fd07536af0e6e8bf504a95ecfe2a86">01331</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SSL3__RANDOM__DATA.html#af5fd07536af0e6e8bf504a95ecfe2a86">pClientRandom</a>;
<a name="l01332"></a><a class="code" href="structCK__SSL3__RANDOM__DATA.html#a82f31573a36ada66c5951454e5fc9bfd">01332</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SSL3__RANDOM__DATA.html#a82f31573a36ada66c5951454e5fc9bfd">ulClientRandomLen</a>;
<a name="l01333"></a><a class="code" href="structCK__SSL3__RANDOM__DATA.html#a173c062aa1f129650eddb41ddf9651bb">01333</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SSL3__RANDOM__DATA.html#a173c062aa1f129650eddb41ddf9651bb">pServerRandom</a>;
<a name="l01334"></a><a class="code" href="structCK__SSL3__RANDOM__DATA.html#a06c78ab50a4a6ba078e8f5d4f2584e2d">01334</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SSL3__RANDOM__DATA.html#a06c78ab50a4a6ba078e8f5d4f2584e2d">ulServerRandomLen</a>;
<a name="l01335"></a>01335 } <a class="code" href="structCK__SSL3__RANDOM__DATA.html">CK_SSL3_RANDOM_DATA</a>;
<a name="l01336"></a>01336
<a name="l01337"></a>01337
<a name="l01338"></a><a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html">01338</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html">CK_SSL3_MASTER_KEY_DERIVE_PARAMS</a> {
<a name="l01339"></a><a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html#a82305146a206e94b4f3d0ac948555f81">01339</a> <a class="code" href="structCK__SSL3__RANDOM__DATA.html">CK_SSL3_RANDOM_DATA</a> <a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html#a82305146a206e94b4f3d0ac948555f81">RandomInfo</a>;
<a name="l01340"></a><a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html#aed57d5f7aedb25da376592d85af67c44">01340</a> <a class="code" href="pkcs11t_8h.html#af01b8ea83d8028eac3e8a106e92ddbd0">CK_VERSION_PTR</a> <a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html#aed57d5f7aedb25da376592d85af67c44">pVersion</a>;
<a name="l01341"></a>01341 } <a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html">CK_SSL3_MASTER_KEY_DERIVE_PARAMS</a>;
<a name="l01342"></a>01342
<a name="l01343"></a><a class="code" href="pkcs11t_8h.html#a7c4201a144df7608d9b12a7cc41f3d74">01343</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SSL3__MASTER__KEY__DERIVE__PARAMS.html">CK_SSL3_MASTER_KEY_DERIVE_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a7c4201a144df7608d9b12a7cc41f3d74">CK_SSL3_MASTER_KEY_DERIVE_PARAMS_PTR</a>;
<a name="l01344"></a>01344
<a name="l01345"></a>01345
<a name="l01346"></a><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html">01346</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html">CK_SSL3_KEY_MAT_OUT</a> {
<a name="l01347"></a><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#ae06165859f1a2f3de8e335b81757610e">01347</a> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a> <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#ae06165859f1a2f3de8e335b81757610e">hClientMacSecret</a>;
<a name="l01348"></a><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#a2c95f41daaa425212b2f179a0e030cca">01348</a> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a> <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#a2c95f41daaa425212b2f179a0e030cca">hServerMacSecret</a>;
<a name="l01349"></a><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#a56acdecbc9f199ec00a13cae8f7b2430">01349</a> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a> <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#a56acdecbc9f199ec00a13cae8f7b2430">hClientKey</a>;
<a name="l01350"></a><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#a5980d692dfc46593fe38f13624b82bd4">01350</a> <a class="code" href="pkcs11t_8h.html#ad1cdd703196214cd34e6f9f52bc67683">CK_OBJECT_HANDLE</a> <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#a5980d692dfc46593fe38f13624b82bd4">hServerKey</a>;
<a name="l01351"></a><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#adf3ed65402146a8e952013448e419aec">01351</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#adf3ed65402146a8e952013448e419aec">pIVClient</a>;
<a name="l01352"></a><a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#ab5d66f6e655c1563ff11d36ef5a73725">01352</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html#ab5d66f6e655c1563ff11d36ef5a73725">pIVServer</a>;
<a name="l01353"></a>01353 } <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html">CK_SSL3_KEY_MAT_OUT</a>;
<a name="l01354"></a>01354
<a name="l01355"></a><a class="code" href="pkcs11t_8h.html#adb0cccb89d4cb7ff741ec4e1b1b868e3">01355</a> <span class="keyword">typedef</span> <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html">CK_SSL3_KEY_MAT_OUT</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#adb0cccb89d4cb7ff741ec4e1b1b868e3">CK_SSL3_KEY_MAT_OUT_PTR</a>;
<a name="l01356"></a>01356
<a name="l01357"></a>01357
<a name="l01358"></a><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html">01358</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html">CK_SSL3_KEY_MAT_PARAMS</a> {
<a name="l01359"></a><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a2439a0d44f4d06d26cef9a416f2dc6dc">01359</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a2439a0d44f4d06d26cef9a416f2dc6dc">ulMacSizeInBits</a>;
<a name="l01360"></a><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a74fe2af5f13d07d0ce587a6aa42bacd6">01360</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a74fe2af5f13d07d0ce587a6aa42bacd6">ulKeySizeInBits</a>;
<a name="l01361"></a><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#aa6c871e7a72f9d39ec7eac89b4a70205">01361</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#aa6c871e7a72f9d39ec7eac89b4a70205">ulIVSizeInBits</a>;
<a name="l01362"></a><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a1936b7fa59f514b8c916dd4b31e1f49d">01362</a> <a class="code" href="pkcs11t_8h.html#abd07a1bba363f8083080b9328e67b491">CK_BBOOL</a> <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a1936b7fa59f514b8c916dd4b31e1f49d">bIsExport</a>;
<a name="l01363"></a><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a82305146a206e94b4f3d0ac948555f81">01363</a> <a class="code" href="structCK__SSL3__RANDOM__DATA.html">CK_SSL3_RANDOM_DATA</a> <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#a82305146a206e94b4f3d0ac948555f81">RandomInfo</a>;
<a name="l01364"></a><a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#ad9fc45cc4c44d9f97a77be81152d70ea">01364</a> <a class="code" href="pkcs11t_8h.html#adb0cccb89d4cb7ff741ec4e1b1b868e3">CK_SSL3_KEY_MAT_OUT_PTR</a> <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html#ad9fc45cc4c44d9f97a77be81152d70ea">pReturnedKeyMaterial</a>;
<a name="l01365"></a>01365 } <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html">CK_SSL3_KEY_MAT_PARAMS</a>;
<a name="l01366"></a>01366
<a name="l01367"></a><a class="code" href="pkcs11t_8h.html#aab62389260db37778bec36b23e461125">01367</a> <span class="keyword">typedef</span> <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html">CK_SSL3_KEY_MAT_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#aab62389260db37778bec36b23e461125">CK_SSL3_KEY_MAT_PARAMS_PTR</a>;
<a name="l01368"></a>01368
<a name="l01369"></a>01369
<a name="l01370"></a><a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html">01370</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html">CK_KEY_DERIVATION_STRING_DATA</a> {
<a name="l01371"></a><a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html#a2afec599e1873a4d7f34ff1e7acb57ae">01371</a> <a class="code" href="pkcs11t_8h.html#a3d7233a4077fbaf7ae76b64da0a62a21">CK_BYTE_PTR</a> <a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html#a2afec599e1873a4d7f34ff1e7acb57ae">pData</a>;
<a name="l01372"></a><a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html#aa52e024c15ba8c4cfad47a1cc5d98b5e">01372</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html#aa52e024c15ba8c4cfad47a1cc5d98b5e">ulLen</a>;
<a name="l01373"></a>01373 } <a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html">CK_KEY_DERIVATION_STRING_DATA</a>;
<a name="l01374"></a>01374
<a name="l01375"></a><a class="code" href="pkcs11t_8h.html#a90facc0f9d2f26a3521882d5b6240e3a">01375</a> <span class="keyword">typedef</span> <a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html">CK_KEY_DERIVATION_STRING_DATA</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a90facc0f9d2f26a3521882d5b6240e3a">CK_KEY_DERIVATION_STRING_DATA_PTR</a>;
<a name="l01376"></a>01376
<a name="l01377"></a>01377
<a name="l01378"></a>01378 <span class="comment">/* The CK_EXTRACT_PARAMS is used for the</span>
<a name="l01379"></a>01379 <span class="comment"> * CKM_EXTRACT_KEY_FROM_KEY mechanism. It specifies which bit</span>
<a name="l01380"></a>01380 <span class="comment"> * of the base key should be used as the first bit of the</span>
<a name="l01381"></a>01381 <span class="comment"> * derived key */</span>
<a name="l01382"></a>01382 <span class="comment">/* CK_EXTRACT_PARAMS is new for v2.0 */</span>
<a name="l01383"></a><a class="code" href="pkcs11t_8h.html#abc4a1e08d8fda5532b0ef45df0626a6a">01383</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#abc4a1e08d8fda5532b0ef45df0626a6a">CK_EXTRACT_PARAMS</a>;
<a name="l01384"></a>01384
<a name="l01385"></a><a class="code" href="pkcs11t_8h.html#a59ccbf235b972d0a48ea0cfae33c3059">01385</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#abc4a1e08d8fda5532b0ef45df0626a6a">CK_EXTRACT_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a59ccbf235b972d0a48ea0cfae33c3059">CK_EXTRACT_PARAMS_PTR</a>;
<a name="l01386"></a>01386
<a name="l01387"></a>01387 <span class="comment">/* CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE is new for v2.10.</span>
<a name="l01388"></a>01388 <span class="comment"> * CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE is used to</span>
<a name="l01389"></a>01389 <span class="comment"> * indicate the Pseudo-Random Function (PRF) used to generate</span>
<a name="l01390"></a>01390 <span class="comment"> * key bits using PKCS #5 PBKDF2. */</span>
<a name="l01391"></a><a class="code" href="pkcs11t_8h.html#a9edb0f86d6fcfd4e70fee08deb332095">01391</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a9edb0f86d6fcfd4e70fee08deb332095">CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE</a>;
<a name="l01392"></a>01392
<a name="l01393"></a>01393 <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a9edb0f86d6fcfd4e70fee08deb332095">CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a>
<a name="l01394"></a><a class="code" href="pkcs11t_8h.html#aedd48ebf95464ab791756590b66f7646">01394</a> <a class="code" href="pkcs11t_8h.html#aedd48ebf95464ab791756590b66f7646">CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE_PTR</a>;
<a name="l01395"></a>01395
<a name="l01396"></a>01396 <span class="comment">/* The following PRFs are defined in PKCS #5 v2.0. */</span>
<a name="l01397"></a><a class="code" href="pkcs11t_8h.html#aaa89399426e99d47662ea44d9ae1a4bc">01397</a> <span class="preprocessor">#define CKP_PKCS5_PBKD2_HMAC_SHA1 0x00000001</span>
<a name="l01398"></a>01398 <span class="preprocessor"></span>
<a name="l01399"></a>01399
<a name="l01400"></a>01400 <span class="comment">/* CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE is new for v2.10.</span>
<a name="l01401"></a>01401 <span class="comment"> * CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE is used to indicate the</span>
<a name="l01402"></a>01402 <span class="comment"> * source of the salt value when deriving a key using PKCS #5</span>
<a name="l01403"></a>01403 <span class="comment"> * PBKDF2. */</span>
<a name="l01404"></a><a class="code" href="pkcs11t_8h.html#a0c6415aaa5475702cc31fa9d46b2d907">01404</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="pkcs11t_8h.html#a0c6415aaa5475702cc31fa9d46b2d907">CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE</a>;
<a name="l01405"></a>01405
<a name="l01406"></a><a class="code" href="pkcs11t_8h.html#a8922b87cda9280ca5e59289bba203e91">01406</a> <span class="keyword">typedef</span> <a class="code" href="pkcs11t_8h.html#a0c6415aaa5475702cc31fa9d46b2d907">CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#a8922b87cda9280ca5e59289bba203e91">CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE_PTR</a>;
<a name="l01407"></a>01407
<a name="l01408"></a>01408 <span class="comment">/* The following salt value sources are defined in PKCS #5 v2.0. */</span>
<a name="l01409"></a><a class="code" href="pkcs11t_8h.html#a0a0edf45f38bf9a57b377df4f1929c6c">01409</a> <span class="preprocessor">#define CKZ_SALT_SPECIFIED 0x00000001</span>
<a name="l01410"></a>01410 <span class="preprocessor"></span>
<a name="l01411"></a>01411 <span class="comment">/* CK_PKCS5_PBKD2_PARAMS is new for v2.10.</span>
<a name="l01412"></a>01412 <span class="comment"> * CK_PKCS5_PBKD2_PARAMS is a structure that provides the</span>
<a name="l01413"></a>01413 <span class="comment"> * parameters to the CKM_PKCS5_PBKD2 mechanism. */</span>
<a name="l01414"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html">01414</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html">CK_PKCS5_PBKD2_PARAMS</a> {
<a name="l01415"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a3c1860ea40de62a89a8b653b1192c38c">01415</a> <a class="code" href="pkcs11t_8h.html#a0c6415aaa5475702cc31fa9d46b2d907">CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a3c1860ea40de62a89a8b653b1192c38c">saltSource</a>;
<a name="l01416"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#ad6406240587bc71085ca34aec5cad74c">01416</a> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#ad6406240587bc71085ca34aec5cad74c">pSaltSourceData</a>;
<a name="l01417"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#accc283cca246fe250eb584e580bc9770">01417</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#accc283cca246fe250eb584e580bc9770">ulSaltSourceDataLen</a>;
<a name="l01418"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a352fc400a3f5db127e58d7c7d932bfb0">01418</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a352fc400a3f5db127e58d7c7d932bfb0">iterations</a>;
<a name="l01419"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a486ca470e94c331b0d6b3ce2b2e629dd">01419</a> <a class="code" href="pkcs11t_8h.html#a9edb0f86d6fcfd4e70fee08deb332095">CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a486ca470e94c331b0d6b3ce2b2e629dd">prf</a>;
<a name="l01420"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a14f642c2ba93297d4e77495ad99eb0d8">01420</a> <a class="code" href="pkcs11t_8h.html#ace49359127edfc5665608140005b9a96">CK_VOID_PTR</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a14f642c2ba93297d4e77495ad99eb0d8">pPrfData</a>;
<a name="l01421"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a59632ecf883e3c71e3eefff1a93a326e">01421</a> <a class="code" href="pkcs11t_8h.html#a35181858a3b7a0a81f49d180d8f446ef">CK_ULONG</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a59632ecf883e3c71e3eefff1a93a326e">ulPrfDataLen</a>;
<a name="l01422"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#afcd59d3f53ba9541d524b464e52db6c3">01422</a> <a class="code" href="pkcs11t_8h.html#af25c3841a3f605e6414f4c9ef5592ed9">CK_UTF8CHAR_PTR</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#afcd59d3f53ba9541d524b464e52db6c3">pPassword</a>;
<a name="l01423"></a><a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a187120073a07b34463f0dadce07b26f0">01423</a> <a class="code" href="pkcs11t_8h.html#af18ced3aa6adcd9f76ae8c132ed2eeb9">CK_ULONG_PTR</a> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html#a187120073a07b34463f0dadce07b26f0">ulPasswordLen</a>;
<a name="l01424"></a>01424 } <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html">CK_PKCS5_PBKD2_PARAMS</a>;
<a name="l01425"></a>01425
<a name="l01426"></a><a class="code" href="pkcs11t_8h.html#abab01705e2d7ccca67c99321e1a062d3">01426</a> <span class="keyword">typedef</span> <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html">CK_PKCS5_PBKD2_PARAMS</a> <a class="code" href="pkcs11_8h.html#a423401496b51f5c72a74e5502b47fd7d">CK_PTR</a> <a class="code" href="pkcs11t_8h.html#abab01705e2d7ccca67c99321e1a062d3">CK_PKCS5_PBKD2_PARAMS_PTR</a>;
<a name="l01427"></a>01427
<a name="l01428"></a>01428 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Jun 12 17:28:16 2010 for pam_pkcs11 by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
|