~ubuntu-branches/ubuntu/trusty/pam-pkcs11/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/api/pkcs11t_8h_source.html

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2011-02-09 23:22:44 UTC
  • mfrom: (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110209232244-hb2woesztflxy2zq
Tags: 0.6.6-2
upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
8
</head>
9
9
<body>
10
 
<!-- Generated by Doxygen 1.6.3 -->
 
10
<!-- Generated by Doxygen 1.7.1 -->
11
11
<div class="navigation" id="top">
12
12
  <div class="tabs">
13
 
    <ul>
 
13
    <ul class="tablist">
14
14
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
15
15
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
16
16
      <li class="current"><a href="files.html"><span>Files</span></a></li>
17
17
      <li><a href="dirs.html"><span>Directories</span></a></li>
18
18
    </ul>
19
19
  </div>
20
 
  <div class="tabs">
21
 
    <ul>
 
20
  <div class="tabs2">
 
21
    <ul class="tablist">
22
22
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
23
23
      <li><a href="globals.html"><span>Globals</span></a></li>
24
24
    </ul>
25
25
  </div>
26
 
  <div class="navpath"><a class="el" href="dir_55f9682142a78e45196901be32452b47.html">src</a>&nbsp;&raquo;&nbsp;<a class="el" href="dir_782c1fcd7529e1a05f3f2af490691324.html">common</a>&nbsp;&raquo;&nbsp;<a class="el" href="dir_d7a1e1289fa34b6242c3a4ee6b47b28d.html">rsaref</a>
 
26
  <div class="navpath">
 
27
    <ul>
 
28
      <li><a class="el" href="dir_55f9682142a78e45196901be32452b47.html">src</a>      </li>
 
29
      <li><a class="el" href="dir_782c1fcd7529e1a05f3f2af490691324.html">common</a>      </li>
 
30
      <li><a class="el" href="dir_d7a1e1289fa34b6242c3a4ee6b47b28d.html">rsaref</a>      </li>
 
31
    </ul>
27
32
  </div>
28
33
</div>
 
34
<div class="header">
 
35
  <div class="headertitle">
 
36
<h1>pkcs11t.h</h1>  </div>
 
37
</div>
29
38
<div class="contents">
30
 
<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>
 
39
<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>
31
40
<a name="l00002"></a>00002 <span class="comment">/* $Revision: 1.4 $ */</span>
32
41
<a name="l00003"></a>00003 
33
42
<a name="l00004"></a>00004 <span class="comment">/* License to copy and use this software is granted provided that it is</span>
66
75
<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>
67
76
<a name="l00038"></a>00038 <span class="preprocessor"></span>
68
77
<a name="l00039"></a>00039 <span class="comment">/* an unsigned 8-bit value */</span>
69
 
<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>;
 
78
<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> CK_BYTE;
70
79
<a name="l00041"></a>00041 
71
80
<a name="l00042"></a>00042 <span class="comment">/* an unsigned 8-bit character */</span>
72
 
<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>;
 
81
<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> CK_CHAR;
73
82
<a name="l00044"></a>00044 
74
83
<a name="l00045"></a>00045 <span class="comment">/* an 8-bit UTF-8 character */</span>
75
 
<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>;
 
84
<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> CK_UTF8CHAR;
76
85
<a name="l00047"></a>00047 
77
86
<a name="l00048"></a>00048 <span class="comment">/* a BYTE-sized Boolean flag */</span>
78
 
<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>;
 
87
<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> CK_BBOOL;
79
88
<a name="l00050"></a>00050 
80
89
<a name="l00051"></a>00051 <span class="comment">/* an unsigned value, at least 32 bits long */</span>
81
 
<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>;
 
90
<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> CK_ULONG;
82
91
<a name="l00053"></a>00053 
83
92
<a name="l00054"></a>00054 <span class="comment">/* a signed value, the same size as a CK_ULONG */</span>
84
93
<a name="l00055"></a>00055 <span class="comment">/* CK_LONG is new for v2.0 */</span>
85
 
<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>;
 
94
<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> CK_LONG;
86
95
<a name="l00057"></a>00057 
87
96
<a name="l00058"></a>00058 <span class="comment">/* at least 32 bits; each bit is a Boolean flag */</span>
88
 
<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>;
 
97
<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> CK_FLAGS;
89
98
<a name="l00060"></a>00060 
90
99
<a name="l00061"></a>00061 
91
100
<a name="l00062"></a>00062 <span class="comment">/* some special values for certain CK_ULONG variables */</span>
93
102
<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>
94
103
<a name="l00065"></a>00065 <span class="preprocessor"></span>
95
104
<a name="l00066"></a>00066 
96
 
<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>;
97
 
<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>;
98
 
<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>;
99
 
<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>;
100
 
<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>;
 
105
<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> CK_BYTE_PTR;
 
106
<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> CK_CHAR_PTR;
 
107
<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> CK_UTF8CHAR_PTR;
 
108
<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> CK_ULONG_PTR;
 
109
<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> CK_VOID_PTR;
101
110
<a name="l00072"></a>00072 
102
111
<a name="l00073"></a>00073 <span class="comment">/* Pointer to a CK_VOID_PTR-- i.e., pointer to pointer to void */</span>
103
 
<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>;
 
112
<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> CK_VOID_PTR_PTR;
104
113
<a name="l00075"></a>00075 
105
114
<a name="l00076"></a>00076 
106
115
<a name="l00077"></a>00077 <span class="comment">/* The following value is always invalid if used as a session */</span>
113
122
<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>
114
123
<a name="l00085"></a>00085 } <a class="code" href="structCK__VERSION.html">CK_VERSION</a>;
115
124
<a name="l00086"></a>00086 
116
 
<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>;
 
125
<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> CK_VERSION_PTR;
117
126
<a name="l00088"></a>00088 
118
127
<a name="l00089"></a>00089 
119
128
<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> {
128
137
<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>
129
138
<a name="l00100"></a>00100 } <a class="code" href="structCK__INFO.html">CK_INFO</a>;
130
139
<a name="l00101"></a>00101 
131
 
<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>;
 
140
<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> CK_INFO_PTR;
132
141
<a name="l00103"></a>00103 
133
142
<a name="l00104"></a>00104 
134
143
<a name="l00105"></a>00105 <span class="comment">/* CK_NOTIFICATION enumerates the types of notifications that</span>
135
144
<a name="l00106"></a>00106 <span class="comment"> * Cryptoki provides to an application */</span>
136
145
<a name="l00107"></a>00107 <span class="comment">/* CK_NOTIFICATION has been changed from an enum to a CK_ULONG</span>
137
146
<a name="l00108"></a>00108 <span class="comment"> * for v2.0 */</span>
138
 
<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>;
 
147
<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> CK_NOTIFICATION;
139
148
<a name="l00110"></a><a class="code" href="pkcs11t_8h.html#a306c776b624162bed077cc095b95cdf1">00110</a> <span class="preprocessor">#define CKN_SURRENDER       0</span>
140
149
<a name="l00111"></a>00111 <span class="preprocessor"></span>
141
150
<a name="l00112"></a>00112 
142
 
<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>;
 
151
<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> CK_SLOT_ID;
143
152
<a name="l00114"></a>00114 
144
 
<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>;
 
153
<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> CK_SLOT_ID_PTR;
145
154
<a name="l00116"></a>00116 
146
155
<a name="l00117"></a>00117 
147
156
<a name="l00118"></a>00118 <span class="comment">/* CK_SLOT_INFO provides information about a slot */</span>
164
173
<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>
165
174
<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>
166
175
<a name="l00137"></a>00137 
167
 
<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>;
 
176
<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> CK_SLOT_INFO_PTR;
168
177
<a name="l00139"></a>00139 
169
178
<a name="l00140"></a>00140 
170
179
<a name="l00141"></a>00141 <span class="comment">/* CK_TOKEN_INFO provides information about a token */</span>
286
295
<a name="l00257"></a>00257 <span class="comment"> * expired by the card. */</span>
287
296
<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>
288
297
<a name="l00259"></a>00259 <span class="preprocessor"></span>
289
 
<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>;
 
298
<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> CK_TOKEN_INFO_PTR;
290
299
<a name="l00261"></a>00261 
291
300
<a name="l00262"></a>00262 
292
301
<a name="l00263"></a>00263 <span class="comment">/* CK_SESSION_HANDLE is a Cryptoki-assigned value that</span>
293
302
<a name="l00264"></a>00264 <span class="comment"> * identifies a session */</span>
294
 
<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>;
 
303
<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> CK_SESSION_HANDLE;
295
304
<a name="l00266"></a>00266 
296
 
<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>;
 
305
<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> CK_SESSION_HANDLE_PTR;
297
306
<a name="l00268"></a>00268 
298
307
<a name="l00269"></a>00269 
299
308
<a name="l00270"></a>00270 <span class="comment">/* CK_USER_TYPE enumerates the types of Cryptoki users */</span>
300
309
<a name="l00271"></a>00271 <span class="comment">/* CK_USER_TYPE has been changed from an enum to a CK_ULONG for</span>
301
310
<a name="l00272"></a>00272 <span class="comment"> * v2.0 */</span>
302
 
<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>;
 
311
<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> CK_USER_TYPE;
303
312
<a name="l00274"></a>00274 <span class="comment">/* Security Officer */</span>
304
313
<a name="l00275"></a><a class="code" href="pkcs11t_8h.html#aa04c956ab5629adf3a4e3c217c3a7fa3">00275</a> <span class="preprocessor">#define CKU_SO    0</span>
305
314
<a name="l00276"></a>00276 <span class="preprocessor"></span><span class="comment">/* Normal user */</span>
309
318
<a name="l00280"></a>00280 <span class="comment">/* CK_STATE enumerates the session states */</span>
310
319
<a name="l00281"></a>00281 <span class="comment">/* CK_STATE has been changed from an enum to a CK_ULONG for</span>
311
320
<a name="l00282"></a>00282 <span class="comment"> * v2.0 */</span>
312
 
<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>;
 
321
<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> CK_STATE;
313
322
<a name="l00284"></a><a class="code" href="pkcs11t_8h.html#aa0f0c9d38d8fe10a1d287bd8706823c8">00284</a> <span class="preprocessor">#define CKS_RO_PUBLIC_SESSION  0</span>
314
323
<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>
315
324
<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>
334
343
<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>
335
344
<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>
336
345
<a name="l00307"></a>00307 
337
 
<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>;
 
346
<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> CK_SESSION_INFO_PTR;
338
347
<a name="l00309"></a>00309 
339
348
<a name="l00310"></a>00310 
340
349
<a name="l00311"></a>00311 <span class="comment">/* CK_OBJECT_HANDLE is a token-specific identifier for an</span>
341
350
<a name="l00312"></a>00312 <span class="comment"> * object  */</span>
342
 
<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>;
 
351
<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> CK_OBJECT_HANDLE;
343
352
<a name="l00314"></a>00314 
344
 
<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>;
 
353
<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> CK_OBJECT_HANDLE_PTR;
345
354
<a name="l00316"></a>00316 
346
355
<a name="l00317"></a>00317 
347
356
<a name="l00318"></a>00318 <span class="comment">/* CK_OBJECT_CLASS is a value that identifies the classes (or</span>
349
358
<a name="l00320"></a>00320 <span class="comment"> * as follows: */</span>
350
359
<a name="l00321"></a>00321 <span class="comment">/* CK_OBJECT_CLASS was changed from CK_USHORT to CK_ULONG for</span>
351
360
<a name="l00322"></a>00322 <span class="comment"> * v2.0 */</span>
352
 
<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>;
 
361
<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> CK_OBJECT_CLASS;
353
362
<a name="l00324"></a>00324 
354
363
<a name="l00325"></a>00325 <span class="comment">/* The following classes of objects are defined: */</span>
355
364
<a name="l00326"></a>00326 <span class="comment">/* CKO_HW_FEATURE is new for v2.10 */</span>
363
372
<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>
364
373
<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>
365
374
<a name="l00336"></a>00336 <span class="preprocessor"></span>
366
 
<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>;
 
375
<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> CK_OBJECT_CLASS_PTR;
367
376
<a name="l00338"></a>00338 
368
377
<a name="l00339"></a>00339 <span class="comment">/* CK_HW_FEATURE_TYPE is new for v2.10. CK_HW_FEATURE_TYPE is a</span>
369
378
<a name="l00340"></a>00340 <span class="comment"> * value that identifies the hardware feature type of an object</span>
370
379
<a name="l00341"></a>00341 <span class="comment"> * with CK_OBJECT_CLASS equal to CKO_HW_FEATURE. */</span>
371
 
<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>;
 
380
<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> CK_HW_FEATURE_TYPE;
372
381
<a name="l00343"></a>00343 
373
382
<a name="l00344"></a>00344 <span class="comment">/* The following hardware feature types are defined */</span>
374
383
<a name="l00345"></a><a class="code" href="pkcs11t_8h.html#a7d3e0e8c5eb6b8aa66f2ef8485995d1c">00345</a> <span class="preprocessor">#define CKH_MONOTONIC_COUNTER  0x00000001</span>
377
386
<a name="l00348"></a>00348 <span class="preprocessor"></span>
378
387
<a name="l00349"></a>00349 <span class="comment">/* CK_KEY_TYPE is a value that identifies a key type */</span>
379
388
<a name="l00350"></a>00350 <span class="comment">/* CK_KEY_TYPE was changed from CK_USHORT to CK_ULONG for v2.0 */</span>
380
 
<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>;
 
389
<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> CK_KEY_TYPE;
381
390
<a name="l00352"></a>00352 
382
391
<a name="l00353"></a>00353 <span class="comment">/* the following key types are defined: */</span>
383
392
<a name="l00354"></a><a class="code" href="pkcs11t_8h.html#a354731675f1ecc116e220b58b32636a1">00354</a> <span class="preprocessor">#define CKK_RSA             0x00000000</span>
419
428
<a name="l00390"></a>00390 <span class="comment"> * type */</span>
420
429
<a name="l00391"></a>00391 <span class="comment">/* CK_CERTIFICATE_TYPE was changed from CK_USHORT to CK_ULONG</span>
421
430
<a name="l00392"></a>00392 <span class="comment"> * for v2.0 */</span>
422
 
<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>;
 
431
<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> CK_CERTIFICATE_TYPE;
423
432
<a name="l00394"></a>00394 
424
433
<a name="l00395"></a>00395 <span class="comment">/* The following certificate types are defined: */</span>
425
434
<a name="l00396"></a>00396 <span class="comment">/* CKC_X_509_ATTR_CERT is new for v2.10 */</span>
432
441
<a name="l00403"></a>00403 <span class="comment"> * type */</span>
433
442
<a name="l00404"></a>00404 <span class="comment">/* CK_ATTRIBUTE_TYPE was changed from CK_USHORT to CK_ULONG for</span>
434
443
<a name="l00405"></a>00405 <span class="comment"> * v2.0 */</span>
435
 
<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>;
 
444
<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> CK_ATTRIBUTE_TYPE;
436
445
<a name="l00407"></a>00407 
437
446
<a name="l00408"></a>00408 <span class="comment">/* The following attribute types are defined: */</span>
438
447
<a name="l00409"></a><a class="code" href="pkcs11t_8h.html#af867d3ae9286fe0f8cab4995bb6af337">00409</a> <span class="preprocessor">#define CKA_CLASS              0x00000000</span>
537
546
<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>
538
547
<a name="l00509"></a>00509 } <a class="code" href="structCK__ATTRIBUTE.html">CK_ATTRIBUTE</a>;
539
548
<a name="l00510"></a>00510 
540
 
<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>;
 
549
<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> CK_ATTRIBUTE_PTR;
541
550
<a name="l00512"></a>00512 
542
551
<a name="l00513"></a>00513 
543
552
<a name="l00514"></a>00514 <span class="comment">/* CK_DATE is a structure that defines a date */</span>
552
561
<a name="l00523"></a>00523 <span class="comment"> * type */</span>
553
562
<a name="l00524"></a>00524 <span class="comment">/* CK_MECHANISM_TYPE was changed from CK_USHORT to CK_ULONG for</span>
554
563
<a name="l00525"></a>00525 <span class="comment"> * v2.0 */</span>
555
 
<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>;
 
564
<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> CK_MECHANISM_TYPE;
556
565
<a name="l00527"></a>00527 
557
566
<a name="l00528"></a>00528 <span class="comment">/* the following mechanism types are defined: */</span>
558
567
<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>
805
814
<a name="l00776"></a>00776 <span class="preprocessor"></span>
806
815
<a name="l00777"></a><a class="code" href="pkcs11t_8h.html#a2dc7d810b7e140bbd16a0264135722c7">00777</a> <span class="preprocessor">#define CKM_VENDOR_DEFINED             0x80000000</span>
807
816
<a name="l00778"></a>00778 <span class="preprocessor"></span>
808
 
<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>;
 
817
<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> CK_MECHANISM_TYPE_PTR;
809
818
<a name="l00780"></a>00780 
810
819
<a name="l00781"></a>00781 
811
820
<a name="l00782"></a>00782 <span class="comment">/* CK_MECHANISM is a structure that specifies a particular</span>
819
828
<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>
820
829
<a name="l00791"></a>00791 } <a class="code" href="structCK__MECHANISM.html">CK_MECHANISM</a>;
821
830
<a name="l00792"></a>00792 
822
 
<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>;
 
831
<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> CK_MECHANISM_PTR;
823
832
<a name="l00794"></a>00794 
824
833
<a name="l00795"></a>00795 
825
834
<a name="l00796"></a>00796 <span class="comment">/* CK_MECHANISM_INFO provides information about a particular</span>
865
874
<a name="l00836"></a>00836 <span class="preprocessor"></span>
866
875
<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>
867
876
<a name="l00838"></a>00838 
868
 
<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>;
 
877
<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> CK_MECHANISM_INFO_PTR;
869
878
<a name="l00840"></a>00840 
870
879
<a name="l00841"></a>00841 
871
880
<a name="l00842"></a>00842 <span class="comment">/* CK_RV is a value that identifies the return value of a</span>
872
881
<a name="l00843"></a>00843 <span class="comment"> * Cryptoki function */</span>
873
882
<a name="l00844"></a>00844 <span class="comment">/* CK_RV was changed from CK_USHORT to CK_ULONG for v2.0 */</span>
874
 
<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>;
 
883
<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> CK_RV;
875
884
<a name="l00846"></a>00846 
876
885
<a name="l00847"></a><a class="code" href="pkcs11t_8h.html#ab31ba85d49b381d1eac204796296eafa">00847</a> <span class="preprocessor">#define CKR_OK                                0x00000000</span>
877
886
<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>
1005
1014
<a name="l00976"></a>00976 
1006
1015
<a name="l00977"></a>00977 <span class="comment">/* CK_NOTIFY is an application callback that processes events */</span>
1007
1016
<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&#39;s handle */</span>
1008
 
<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>
 
1017
<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> event, <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>
1009
1018
<a name="l00980"></a>00980     );
1010
1019
<a name="l00981"></a>00981 
1011
1020
<a name="l00982"></a>00982 
1015
1024
<a name="l00986"></a>00986 <span class="comment">/* CK_FUNCTION_LIST is new for v2.0 */</span>
1016
1025
<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>;
1017
1026
<a name="l00988"></a>00988 
1018
 
<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>;
 
1027
<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> CK_FUNCTION_LIST_PTR;
1019
1028
<a name="l00990"></a>00990 
1020
 
<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>;
 
1029
<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> CK_FUNCTION_LIST_PTR_PTR;
1021
1030
<a name="l00992"></a>00992 
1022
1031
<a name="l00993"></a>00993 
1023
1032
<a name="l00994"></a>00994 <span class="comment">/* CK_CREATEMUTEX is an application callback for creating a</span>
1060
1069
<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>
1061
1070
<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>
1062
1071
<a name="l01033"></a>01033 <span class="preprocessor"></span>
1063
 
<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>;
 
1072
<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> CK_C_INITIALIZE_ARGS_PTR;
1064
1073
<a name="l01035"></a>01035 
1065
1074
<a name="l01036"></a>01036 
1066
1075
<a name="l01037"></a>01037 <span class="comment">/* additional flags for parameters to functions */</span>
1073
1082
<a name="l01044"></a>01044 <span class="comment"> * Generation Function (MGF) applied to a message block when</span>
1074
1083
<a name="l01045"></a>01045 <span class="comment"> * formatting a message block for the PKCS #1 OAEP encryption</span>
1075
1084
<a name="l01046"></a>01046 <span class="comment"> * scheme. */</span>
1076
 
<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>;
 
1085
<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> CK_RSA_PKCS_MGF_TYPE;
1077
1086
<a name="l01048"></a>01048 
1078
 
<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>;
 
1087
<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> CK_RSA_PKCS_MGF_TYPE_PTR;
1079
1088
<a name="l01050"></a>01050 
1080
1089
<a name="l01051"></a>01051 <span class="comment">/* The following MGFs are defined */</span>
1081
1090
<a name="l01052"></a><a class="code" href="pkcs11t_8h.html#ac4d8d058aea52b5692b59b9263043042">01052</a> <span class="preprocessor">#define CKG_MGF1_SHA1         0x00000001</span>
1084
1093
<a name="l01055"></a>01055 <span class="comment"> * CK_RSA_PKCS_OAEP_SOURCE_TYPE  is used to indicate the source</span>
1085
1094
<a name="l01056"></a>01056 <span class="comment"> * of the encoding parameter when formatting a message block</span>
1086
1095
<a name="l01057"></a>01057 <span class="comment"> * for the PKCS #1 OAEP encryption scheme. */</span>
1087
 
<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>;
 
1096
<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> CK_RSA_PKCS_OAEP_SOURCE_TYPE;
1088
1097
<a name="l01059"></a>01059 
1089
 
<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>;
 
1098
<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> CK_RSA_PKCS_OAEP_SOURCE_TYPE_PTR;
1090
1099
<a name="l01061"></a>01061 
1091
1100
<a name="l01062"></a>01062 <span class="comment">/* The following encoding parameter sources are defined */</span>
1092
1101
<a name="l01063"></a><a class="code" href="pkcs11t_8h.html#a6907d28cda3acc11412e5eee7c1f7459">01063</a> <span class="preprocessor">#define CKZ_DATA_SPECIFIED    0x00000001</span>
1102
1111
<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>;
1103
1112
<a name="l01074"></a>01074 } <a class="code" href="structCK__RSA__PKCS__OAEP__PARAMS.html">CK_RSA_PKCS_OAEP_PARAMS</a>;
1104
1113
<a name="l01075"></a>01075 
1105
 
<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>;
 
1114
<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> CK_RSA_PKCS_OAEP_PARAMS_PTR;
1106
1115
<a name="l01077"></a>01077 
1107
1116
<a name="l01078"></a>01078 <span class="comment">/* CK_RSA_PKCS_PSS_PARAMS is new for v2.11.</span>
1108
1117
<a name="l01079"></a>01079 <span class="comment"> * CK_RSA_PKCS_PSS_PARAMS provides the parameters to the</span>
1113
1122
<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>;
1114
1123
<a name="l01085"></a>01085 } <a class="code" href="structCK__RSA__PKCS__PSS__PARAMS.html">CK_RSA_PKCS_PSS_PARAMS</a>;
1115
1124
<a name="l01086"></a>01086 
1116
 
<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>;
 
1125
<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> CK_RSA_PKCS_PSS_PARAMS_PTR;
1117
1126
<a name="l01088"></a>01088 
1118
1127
<a name="l01089"></a>01089 <span class="comment">/* CK_EC_KDF_TYPE is new for v2.11. */</span>
1119
 
<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>;
 
1128
<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> CK_EC_KDF_TYPE;
1120
1129
<a name="l01091"></a>01091 
1121
1130
<a name="l01092"></a>01092 <span class="comment">/* The following EC Key Derivation Functions are defined */</span>
1122
1131
<a name="l01093"></a>01093 <span class="preprocessor">#define CKD_NULL                 0x00000001</span>
1135
1144
<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>;
1136
1145
<a name="l01107"></a>01107 } <a class="code" href="structCK__ECDH1__DERIVE__PARAMS.html">CK_ECDH1_DERIVE_PARAMS</a>;
1137
1146
<a name="l01108"></a>01108 
1138
 
<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>;
 
1147
<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> CK_ECDH1_DERIVE_PARAMS_PTR;
1139
1148
<a name="l01110"></a>01110 
1140
1149
<a name="l01111"></a>01111 
1141
1150
<a name="l01112"></a>01112 <span class="comment">/* CK_ECDH2_DERIVE_PARAMS is new for v2.11.</span>
1153
1162
<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>;
1154
1163
<a name="l01125"></a>01125 } <a class="code" href="structCK__ECDH2__DERIVE__PARAMS.html">CK_ECDH2_DERIVE_PARAMS</a>;
1155
1164
<a name="l01126"></a>01126 
1156
 
<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>;
 
1165
<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> CK_ECDH2_DERIVE_PARAMS_PTR;
1157
1166
<a name="l01128"></a>01128 
1158
1167
<a name="l01129"></a>01129 <span class="comment">/* Typedefs and defines for the CKM_X9_42_DH_KEY_PAIR_GEN and the</span>
1159
1168
<a name="l01130"></a>01130 <span class="comment"> * CKM_X9_42_DH_PARAMETER_GEN mechanisms (new for PKCS #11 v2.11) */</span>
1160
 
<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>;
1161
 
<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>;
 
1169
<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> CK_X9_42_DH_KDF_TYPE;
 
1170
<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> CK_X9_42_DH_KDF_TYPE_PTR;
1162
1171
<a name="l01133"></a>01133 
1163
1172
<a name="l01134"></a>01134 <span class="comment">/* The following X9.42 DH key derivation functions are defined: */</span>
1164
1173
<a name="l01135"></a><a class="code" href="pkcs11t_8h.html#a012d1d53633b9723a65b5a428b810bfd">01135</a> <span class="preprocessor">#define CKD_NULL                 0x00000001</span>
1195
1204
<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>;
1196
1205
<a name="l01167"></a>01167 } <a class="code" href="structCK__X9__42__DH2__DERIVE__PARAMS.html">CK_X9_42_DH2_DERIVE_PARAMS</a>;
1197
1206
<a name="l01168"></a>01168 
1198
 
<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>;
 
1207
<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> CK_X9_42_DH2_DERIVE_PARAMS_PTR;
1199
1208
<a name="l01170"></a>01170 
1200
1209
<a name="l01171"></a>01171 <span class="comment">/* CK_KEA_DERIVE_PARAMS provides the parameters to the</span>
1201
1210
<a name="l01172"></a>01172 <span class="comment"> * CKM_KEA_DERIVE mechanism */</span>
1209
1218
<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>;
1210
1219
<a name="l01181"></a>01181 } <a class="code" href="structCK__KEA__DERIVE__PARAMS.html">CK_KEA_DERIVE_PARAMS</a>;
1211
1220
<a name="l01182"></a>01182 
1212
 
<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>;
 
1221
<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> CK_KEA_DERIVE_PARAMS_PTR;
1213
1222
<a name="l01184"></a>01184 
1214
1223
<a name="l01185"></a>01185 
1215
1224
<a name="l01186"></a>01186 <span class="comment">/* CK_RC2_PARAMS provides the parameters to the CKM_RC2_ECB and</span>
1216
1225
<a name="l01187"></a>01187 <span class="comment"> * CKM_RC2_MAC mechanisms.  An instance of CK_RC2_PARAMS just</span>
1217
1226
<a name="l01188"></a>01188 <span class="comment"> * holds the effective keysize */</span>
1218
 
<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>;
 
1227
<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> CK_RC2_PARAMS;
1219
1228
<a name="l01190"></a>01190 
1220
 
<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>;
 
1229
<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> CK_RC2_PARAMS_PTR;
1221
1230
<a name="l01192"></a>01192 
1222
1231
<a name="l01193"></a>01193 
1223
1232
<a name="l01194"></a>01194 <span class="comment">/* CK_RC2_CBC_PARAMS provides the parameters to the CKM_RC2_CBC</span>
1230
1239
<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>
1231
1240
<a name="l01202"></a>01202 } <a class="code" href="structCK__RC2__CBC__PARAMS.html">CK_RC2_CBC_PARAMS</a>;
1232
1241
<a name="l01203"></a>01203 
1233
 
<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>;
 
1242
<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> CK_RC2_CBC_PARAMS_PTR;
1234
1243
<a name="l01205"></a>01205 
1235
1244
<a name="l01206"></a>01206 
1236
1245
<a name="l01207"></a>01207 <span class="comment">/* CK_RC2_MAC_GENERAL_PARAMS provides the parameters for the</span>
1241
1250
<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>
1242
1251
<a name="l01213"></a>01213 } <a class="code" href="structCK__RC2__MAC__GENERAL__PARAMS.html">CK_RC2_MAC_GENERAL_PARAMS</a>;
1243
1252
<a name="l01214"></a>01214 
1244
 
<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>;
 
1253
<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> CK_RC2_MAC_GENERAL_PARAMS_PTR;
1245
1254
<a name="l01216"></a>01216 
1246
1255
<a name="l01217"></a>01217 
1247
1256
<a name="l01218"></a>01218 <span class="comment">/* CK_RC5_PARAMS provides the parameters to the CKM_RC5_ECB and</span>
1252
1261
<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>
1253
1262
<a name="l01224"></a>01224 } <a class="code" href="structCK__RC5__PARAMS.html">CK_RC5_PARAMS</a>;
1254
1263
<a name="l01225"></a>01225 
1255
 
<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>;
 
1264
<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> CK_RC5_PARAMS_PTR;
1256
1265
<a name="l01227"></a>01227 
1257
1266
<a name="l01228"></a>01228 
1258
1267
<a name="l01229"></a>01229 <span class="comment">/* CK_RC5_CBC_PARAMS provides the parameters to the CKM_RC5_CBC</span>
1265
1274
<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>
1266
1275
<a name="l01237"></a>01237 } <a class="code" href="structCK__RC5__CBC__PARAMS.html">CK_RC5_CBC_PARAMS</a>;
1267
1276
<a name="l01238"></a>01238 
1268
 
<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>;
 
1277
<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> CK_RC5_CBC_PARAMS_PTR;
1269
1278
<a name="l01240"></a>01240 
1270
1279
<a name="l01241"></a>01241 
1271
1280
<a name="l01242"></a>01242 <span class="comment">/* CK_RC5_MAC_GENERAL_PARAMS provides the parameters for the</span>
1277
1286
<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>
1278
1287
<a name="l01249"></a>01249 } <a class="code" href="structCK__RC5__MAC__GENERAL__PARAMS.html">CK_RC5_MAC_GENERAL_PARAMS</a>;
1279
1288
<a name="l01250"></a>01250 
1280
 
<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>;
 
1289
<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> CK_RC5_MAC_GENERAL_PARAMS_PTR;
1281
1290
<a name="l01252"></a>01252 
1282
1291
<a name="l01253"></a>01253 
1283
1292
<a name="l01254"></a>01254 <span class="comment">/* CK_MAC_GENERAL_PARAMS provides the parameters to most block</span>
1284
1293
<a name="l01255"></a>01255 <span class="comment"> * ciphers&#39; MAC_GENERAL mechanisms.  Its value is the length of</span>
1285
1294
<a name="l01256"></a>01256 <span class="comment"> * the MAC */</span>
1286
1295
<a name="l01257"></a>01257 <span class="comment">/* CK_MAC_GENERAL_PARAMS is new for v2.0 */</span>
1287
 
<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>;
 
1296
<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> CK_MAC_GENERAL_PARAMS;
1288
1297
<a name="l01259"></a>01259 
1289
 
<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>;
 
1298
<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> CK_MAC_GENERAL_PARAMS_PTR;
1290
1299
<a name="l01261"></a>01261 
1291
1300
<a name="l01262"></a>01262 
1292
1301
<a name="l01263"></a>01263 <span class="comment">/* CK_SKIPJACK_PRIVATE_WRAP_PARAMS provides the parameters to the</span>
1306
1315
<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>;
1307
1316
<a name="l01278"></a>01278 } <a class="code" href="structCK__SKIPJACK__PRIVATE__WRAP__PARAMS.html">CK_SKIPJACK_PRIVATE_WRAP_PARAMS</a>;
1308
1317
<a name="l01279"></a>01279 
1309
 
<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>;
 
1318
<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> CK_SKIPJACK_PRIVATE_WRAP_PTR;
1310
1319
<a name="l01281"></a>01281 
1311
1320
<a name="l01282"></a>01282 
1312
1321
<a name="l01283"></a>01283 <span class="comment">/* CK_SKIPJACK_RELAYX_PARAMS provides the parameters to the</span>
1329
1338
<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>;
1330
1339
<a name="l01301"></a>01301 } <a class="code" href="structCK__SKIPJACK__RELAYX__PARAMS.html">CK_SKIPJACK_RELAYX_PARAMS</a>;
1331
1340
<a name="l01302"></a>01302 
1332
 
<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>;
 
1341
<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> CK_SKIPJACK_RELAYX_PARAMS_PTR;
1333
1342
<a name="l01304"></a>01304 
1334
1343
<a name="l01305"></a>01305 
1335
1344
<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> {
1341
1350
<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>;
1342
1351
<a name="l01313"></a>01313 } <a class="code" href="structCK__PBE__PARAMS.html">CK_PBE_PARAMS</a>;
1343
1352
<a name="l01314"></a>01314 
1344
 
<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>;
 
1353
<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> CK_PBE_PARAMS_PTR;
1345
1354
<a name="l01316"></a>01316 
1346
1355
<a name="l01317"></a>01317 
1347
1356
<a name="l01318"></a>01318 <span class="comment">/* CK_KEY_WRAP_SET_OAEP_PARAMS provides the parameters to the</span>
1353
1362
<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>
1354
1363
<a name="l01325"></a>01325 } <a class="code" href="structCK__KEY__WRAP__SET__OAEP__PARAMS.html">CK_KEY_WRAP_SET_OAEP_PARAMS</a>;
1355
1364
<a name="l01326"></a>01326 
1356
 
<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>;
 
1365
<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> CK_KEY_WRAP_SET_OAEP_PARAMS_PTR;
1357
1366
<a name="l01328"></a>01328 
1358
1367
<a name="l01329"></a>01329 
1359
1368
<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> {
1381
1390
<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>;
1382
1391
<a name="l01353"></a>01353 } <a class="code" href="structCK__SSL3__KEY__MAT__OUT.html">CK_SSL3_KEY_MAT_OUT</a>;
1383
1392
<a name="l01354"></a>01354 
1384
 
<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>;
 
1393
<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> CK_SSL3_KEY_MAT_OUT_PTR;
1385
1394
<a name="l01356"></a>01356 
1386
1395
<a name="l01357"></a>01357 
1387
1396
<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> {
1393
1402
<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>;
1394
1403
<a name="l01365"></a>01365 } <a class="code" href="structCK__SSL3__KEY__MAT__PARAMS.html">CK_SSL3_KEY_MAT_PARAMS</a>;
1395
1404
<a name="l01366"></a>01366 
1396
 
<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>;
 
1405
<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> CK_SSL3_KEY_MAT_PARAMS_PTR;
1397
1406
<a name="l01368"></a>01368 
1398
1407
<a name="l01369"></a>01369 
1399
1408
<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> {
1401
1410
<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>;
1402
1411
<a name="l01373"></a>01373 } <a class="code" href="structCK__KEY__DERIVATION__STRING__DATA.html">CK_KEY_DERIVATION_STRING_DATA</a>;
1403
1412
<a name="l01374"></a>01374 
1404
 
<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>;
 
1413
<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> CK_KEY_DERIVATION_STRING_DATA_PTR;
1405
1414
<a name="l01376"></a>01376 
1406
1415
<a name="l01377"></a>01377 
1407
1416
<a name="l01378"></a>01378 <span class="comment">/* The CK_EXTRACT_PARAMS is used for the</span>
1409
1418
<a name="l01380"></a>01380 <span class="comment"> * of the base key should be used as the first bit of the</span>
1410
1419
<a name="l01381"></a>01381 <span class="comment"> * derived key */</span>
1411
1420
<a name="l01382"></a>01382 <span class="comment">/* CK_EXTRACT_PARAMS is new for v2.0 */</span>
1412
 
<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>;
 
1421
<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> CK_EXTRACT_PARAMS;
1413
1422
<a name="l01384"></a>01384 
1414
 
<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>;
 
1423
<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> CK_EXTRACT_PARAMS_PTR;
1415
1424
<a name="l01386"></a>01386 
1416
1425
<a name="l01387"></a>01387 <span class="comment">/* CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE is new for v2.10.</span>
1417
1426
<a name="l01388"></a>01388 <span class="comment"> * CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE is used to</span>
1418
1427
<a name="l01389"></a>01389 <span class="comment"> * indicate the Pseudo-Random Function (PRF) used to generate</span>
1419
1428
<a name="l01390"></a>01390 <span class="comment"> * key bits using PKCS #5 PBKDF2. */</span>
1420
 
<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>;
 
1429
<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> CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE;
1421
1430
<a name="l01392"></a>01392 
1422
1431
<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>
1423
 
<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>;
 
1432
<a name="l01394"></a><a class="code" href="pkcs11t_8h.html#aedd48ebf95464ab791756590b66f7646">01394</a>     CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE_PTR;
1424
1433
<a name="l01395"></a>01395 
1425
1434
<a name="l01396"></a>01396 <span class="comment">/* The following PRFs are defined in PKCS #5 v2.0. */</span>
1426
1435
<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>
1430
1439
<a name="l01401"></a>01401 <span class="comment"> * CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE is used to indicate the</span>
1431
1440
<a name="l01402"></a>01402 <span class="comment"> * source of the salt value when deriving a key using PKCS #5</span>
1432
1441
<a name="l01403"></a>01403 <span class="comment"> * PBKDF2. */</span>
1433
 
<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>;
 
1442
<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> CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE;
1434
1443
<a name="l01405"></a>01405 
1435
 
<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>;
 
1444
<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> CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE_PTR;
1436
1445
<a name="l01407"></a>01407 
1437
1446
<a name="l01408"></a>01408 <span class="comment">/* The following salt value sources are defined in PKCS #5 v2.0. */</span>
1438
1447
<a name="l01409"></a><a class="code" href="pkcs11t_8h.html#a0a0edf45f38bf9a57b377df4f1929c6c">01409</a> <span class="preprocessor">#define CKZ_SALT_SPECIFIED        0x00000001</span>
1452
1461
<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>;
1453
1462
<a name="l01424"></a>01424 } <a class="code" href="structCK__PKCS5__PBKD2__PARAMS.html">CK_PKCS5_PBKD2_PARAMS</a>;
1454
1463
<a name="l01425"></a>01425 
1455
 
<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>;
 
1464
<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> CK_PKCS5_PBKD2_PARAMS_PTR;
1456
1465
<a name="l01427"></a>01427 
1457
1466
<a name="l01428"></a>01428 <span class="preprocessor">#endif</span>
1458
1467
</pre></div></div>
1459
 
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Jun 12 17:28:16 2010 for pam_pkcs11 by&nbsp;
 
1468
</div>
 
1469
<hr class="footer"/><address class="footer"><small>Generated on Sat Nov 20 2010 20:52:17 for pam_pkcs11 by&nbsp;
1460
1470
<a href="http://www.doxygen.org/index.html">
1461
 
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
 
1471
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
1462
1472
</body>
1463
1473
</html>