0eb3be4644
We have the same for FIDO2 devices, for listing suitable devices, or picking the right one automatically, let's add that for PKCS11 too.
12 lines
282 B
C
12 lines
282 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include "json.h"
|
|
|
|
int identity_add_token_pin(JsonVariant **v, const char *pin);
|
|
|
|
int identity_add_pkcs11_key_data(JsonVariant **v, const char *token_uri);
|
|
|
|
int list_pkcs11_tokens(void);
|
|
int find_pkcs11_token_auto(char **ret);
|