YKCS11: added certificate deletion.
This commit is contained in:
@@ -25,6 +25,7 @@ typedef CK_RV (*t_generate_key_f)(ykpiv_state *, CK_BBOOL, CK_BYTE, CK_ULONG, CK
|
||||
typedef CK_RV (*t_import_cert_f)(ykpiv_state *, CK_ULONG, CK_BYTE_PTR);
|
||||
typedef CK_RV (*t_import_private_key_f)(ykpiv_state *, CK_BYTE, CK_BYTE_PTR, CK_BYTE_PTR, CK_BYTE_PTR,
|
||||
CK_BYTE_PTR, CK_BYTE_PTR, CK_BYTE_PTR, CK_ULONG, CK_ULONG);
|
||||
typedef CK_RV (*t_delete_cert_f)(ykpiv_state *, CK_ULONG);
|
||||
|
||||
// TODO: replace all the common calls with functions defined in .c that use libykpiv
|
||||
|
||||
@@ -45,6 +46,7 @@ typedef struct {
|
||||
t_generate_key_f token_generate_key;
|
||||
t_import_cert_f token_import_cert;
|
||||
t_import_private_key_f token_import_private_key;
|
||||
t_delete_cert_f token_delete_cert;
|
||||
} token_vendor_t;
|
||||
|
||||
token_vendor_t get_token_vendor(vendor_id_t vid);
|
||||
|
||||
Reference in New Issue
Block a user