177
180
GP11Attribute* gp11_attributes_at (GP11Attributes *attrs,
180
void gp11_attributes_add (GP11Attributes *attrs,
183
GP11Attribute* gp11_attributes_add (GP11Attributes *attrs,
181
184
GP11Attribute *attr);
183
void gp11_attributes_add_data (GP11Attributes *attrs,
186
GP11Attribute* gp11_attributes_add_data (GP11Attributes *attrs,
184
187
gulong attr_type,
185
188
gconstpointer value,
188
void gp11_attributes_add_invalid (GP11Attributes *attrs,
191
void gp11_attributes_add_empty (GP11Attributes *attrs,
194
void gp11_attributes_add_boolean (GP11Attributes *attrs,
191
GP11Attribute* gp11_attributes_add_invalid (GP11Attributes *attrs,
194
GP11Attribute* gp11_attributes_add_empty (GP11Attributes *attrs,
197
GP11Attribute* gp11_attributes_add_boolean (GP11Attributes *attrs,
195
198
gulong attr_type,
198
void gp11_attributes_add_string (GP11Attributes *attrs,
200
const gchar *string);
202
void gp11_attributes_add_date (GP11Attributes *attrs,
206
void gp11_attributes_add_ulong (GP11Attributes *attrs,
201
GP11Attribute* gp11_attributes_add_string (GP11Attributes *attrs,
205
GP11Attribute* gp11_attributes_add_date (GP11Attributes *attrs,
209
GP11Attribute* gp11_attributes_add_ulong (GP11Attributes *attrs,
207
210
gulong attr_type,
697
720
GP11Object* gp11_session_generate_key (GP11Session *self,
698
721
GP11Mechanism *mechanism,
700
...) GP11_INVALID_TERMINATED;
702
725
void gp11_session_generate_key_async (GP11Session *self,
703
726
GP11Mechanism *mechanism,
704
727
GAsyncReadyCallback callback,
705
728
gpointer user_data,
706
...) GP11_INVALID_TERMINATED;
708
731
GP11Object* gp11_session_generate_key_finish (GP11Session *self,
709
732
GAsyncResult *result,
711
...) GP11_INVALID_TERMINATED;
713
gboolean gp11_session_generate_key_pair (GP11Session *self,
736
#endif /* UNIMPLEMENTED */
738
gboolean gp11_session_generate_key_pair_full (GP11Session *self,
714
739
GP11Mechanism *mechanism,
740
GP11Attributes *public_attrs,
741
GP11Attributes *private_attrs,
715
742
GP11Object **public_key,
716
743
GP11Object **private_key,
718
...) GP11_INVALID_TERMINATED;
744
GCancellable *cancellable,
720
747
void gp11_session_generate_key_pair_async (GP11Session *self,
721
748
GP11Mechanism *mechanism,
749
GP11Attributes *public_attrs,
750
GP11Attributes *private_attrs,
751
GCancellable *cancellable,
722
752
GAsyncReadyCallback callback,
724
...) GP11_INVALID_TERMINATED;
726
755
gboolean gp11_session_generate_key_pair_finish (GP11Session *self,
727
756
GAsyncResult *result,
728
757
GP11Object **public_key,
729
758
GP11Object **private_key,
731
...) GP11_INVALID_TERMINATED;
733
763
gboolean gp11_session_seed_random (GP11Session *self,
734
764
const guchar *seed,
1156
1186
gsize *n_result,
1159
guchar* gp11_session_wrap (GP11Session *self,
1162
GP11Object *wrapped_key,
1166
guchar* gp11_session_wrap (GP11Session *self,
1168
GP11Mechanism *mech_args,
1169
GP11Object *wrapped_key,
1171
GCancellable *cancellable,
1174
void gp11_session_wrap_async (GP11Session *self,
1176
GP11Mechanism *mech_args,
1177
GP11Object *wrapped_key,
1178
GCancellable *cancellable,
1179
GAsyncReadyCallback callback,
1180
gpointer user_data);
1182
guchar* gp11_session_wrap_finish (GP11Session *self,
1183
GAsyncResult *result,
1187
GP11Object* gp11_session_unwrap (GP11Session *self,
1190
const guchar *input,
1193
...) GP11_INVALID_TERMINATED;
1195
GP11Object* gp11_session_unwrap (GP11Session *self,
1197
GP11Mechanism *mech_args,
1198
const guchar *input,
1200
GCancellable *cancellable,
1202
...) GP11_INVALID_TERMINATED;
1204
void gp11_session_unwrap_async (GP11Session *self,
1206
GP11Mechanism *mech_args,
1207
const guchar *input,
1209
GCancellable *cancellable,
1210
GAsyncReadyCallback callback,
1211
gpointer user_data);
1212
...) GP11_INVALID_TERMINATED;
1214
GP11Object* gp11_session_unwrap_finish (GP11Session *self,
1215
GAsyncResult *result,
1218
GP11Object* gp11_session_derive (GP11Session *self,
1222
...) GP11_INVALID_TERMINATED;
1224
GP11Object* gp11_session_derive_full (GP11Session *self,
1226
GP11Mechanism *mech_args,
1227
GCancellable *cancellable,
1229
...) GP11_INVALID_TERMINATED;
1231
void gp11_session_derive_async (GP11Session *self,
1233
GP11Mechanism *mech_args,
1234
GCancellable *cancellable,
1235
GAsyncReadyCallback callback,
1236
gpointer user_data);
1237
...) GP11_INVALID_TERMINATED;
1239
GP11Object* gp11_session_derive_finish (GP11Session *self,
1240
GAsyncResult *result,
1243
1189
#endif /* UNIMPLEMENTED */
1191
gpointer gp11_session_wrap_key (GP11Session *self,
1192
GP11Object *wrapper,
1194
GP11Object *wrapped,
1198
gpointer gp11_session_wrap_key_full (GP11Session *self,
1199
GP11Object *wrapper,
1200
GP11Mechanism *mechanism,
1201
GP11Object *wrapped,
1203
GCancellable *cancellable,
1206
void gp11_session_wrap_key_async (GP11Session *self,
1207
GP11Object *wrapper,
1208
GP11Mechanism *mechanism,
1209
GP11Object *wrapped,
1210
GCancellable *cancellable,
1211
GAsyncReadyCallback callback,
1212
gpointer user_data);
1214
gpointer gp11_session_wrap_key_finish (GP11Session *self,
1215
GAsyncResult *result,
1219
GP11Object* gp11_session_unwrap_key (GP11Session *self,
1220
GP11Object *wrapper,
1222
gconstpointer input,
1227
GP11Object* gp11_session_unwrap_key_full (GP11Session *self,
1228
GP11Object *wrapper,
1229
GP11Mechanism *mechanism,
1230
gconstpointer input,
1232
GP11Attributes *attrs,
1233
GCancellable *cancellable,
1236
void gp11_session_unwrap_key_async (GP11Session *self,
1237
GP11Object *wrapper,
1238
GP11Mechanism *mechanism,
1239
gconstpointer input,
1241
GP11Attributes *attrs,
1242
GCancellable *cancellable,
1243
GAsyncReadyCallback callback,
1244
gpointer user_data);
1246
GP11Object* gp11_session_unwrap_key_finish (GP11Session *self,
1247
GAsyncResult *result,
1250
GP11Object* gp11_session_derive_key (GP11Session *self,
1256
GP11Object* gp11_session_derive_key_full (GP11Session *self,
1258
GP11Mechanism *mechanism,
1259
GP11Attributes *attrs,
1260
GCancellable *cancellable,
1263
void gp11_session_derive_key_async (GP11Session *self,
1265
GP11Mechanism *mechanism,
1266
GP11Attributes *attrs,
1267
GCancellable *cancellable,
1268
GAsyncReadyCallback callback,
1269
gpointer user_data);
1271
GP11Object* gp11_session_derive_key_finish (GP11Session *self,
1272
GAsyncResult *result,
1246
1275
/* ------------------------------------------------------------------------
1442
gboolean gp11_object_set_template (GP11Object *self,
1444
GP11Attributes *attrs,
1447
gboolean gp11_object_set_template_full (GP11Object *self,
1449
GP11Attributes *attrs,
1450
GCancellable *cancellable,
1453
void gp11_object_set_template_async (GP11Object *self,
1455
GP11Attributes *attrs,
1456
GCancellable *cancellable,
1457
GAsyncReadyCallback callback,
1458
gpointer user_data);
1460
gboolean gp11_object_set_template_finish (GP11Object *self,
1461
GAsyncResult *result,
1464
GP11Attributes* gp11_object_get_template (GP11Object *self,
1468
GP11Attributes* gp11_object_get_template_full (GP11Object *self,
1470
GCancellable *cancellable,
1473
void gp11_object_get_template_async (GP11Object *self,
1475
GCancellable *cancellable,
1476
GAsyncReadyCallback callback,
1477
gpointer user_data);
1479
GP11Attributes* gp11_object_get_template_finish (GP11Object *self,
1480
GAsyncResult *result,
1414
1483
/* ----------------------------------------------------------------------