export sc_pkcs15_bind_internal
allows bootstrapping an external pkcs15 driver
This commit is contained in:
parent
3e2d51e0ba
commit
d7ab0df51d
|
@ -237,6 +237,7 @@ sc_pkcs15emu_add_ec_prkey
|
||||||
sc_pkcs15emu_add_ec_pubkey
|
sc_pkcs15emu_add_ec_pubkey
|
||||||
sc_pkcs15emu_add_x509_cert
|
sc_pkcs15emu_add_x509_cert
|
||||||
sc_pkcs15emu_object_add
|
sc_pkcs15emu_object_add
|
||||||
|
sc_pkcs15_bind_internal
|
||||||
sc_print_path
|
sc_print_path
|
||||||
sc_put_data
|
sc_put_data
|
||||||
sc_read_binary
|
sc_read_binary
|
||||||
|
|
|
@ -969,7 +969,7 @@ sc_pkcs15_get_application_by_type(struct sc_card * card, char *app_type)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
int
|
||||||
sc_pkcs15_bind_internal(struct sc_pkcs15_card *p15card, struct sc_aid *aid)
|
sc_pkcs15_bind_internal(struct sc_pkcs15_card *p15card, struct sc_aid *aid)
|
||||||
{
|
{
|
||||||
struct sc_path tmppath;
|
struct sc_path tmppath;
|
||||||
|
|
|
@ -668,6 +668,7 @@ int sc_pkcs15_bind(struct sc_card *card, struct sc_aid *aid,
|
||||||
/* sc_pkcs15_unbind: Releases a PKCS #15 card object, and frees any
|
/* sc_pkcs15_unbind: Releases a PKCS #15 card object, and frees any
|
||||||
* memory allocations done on the card object. */
|
* memory allocations done on the card object. */
|
||||||
int sc_pkcs15_unbind(struct sc_pkcs15_card *card);
|
int sc_pkcs15_unbind(struct sc_pkcs15_card *card);
|
||||||
|
int sc_pkcs15_bind_internal(struct sc_pkcs15_card *p15card, struct sc_aid *aid);
|
||||||
|
|
||||||
int sc_pkcs15_get_objects(struct sc_pkcs15_card *card, unsigned int type,
|
int sc_pkcs15_get_objects(struct sc_pkcs15_card *card, unsigned int type,
|
||||||
struct sc_pkcs15_object **ret, size_t ret_count);
|
struct sc_pkcs15_object **ret, size_t ret_count);
|
||||||
|
|
Loading…
Reference in New Issue