diff options
Diffstat (limited to 'lib/pkcs11_int.h')
-rw-r--r-- | lib/pkcs11_int.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/pkcs11_int.h b/lib/pkcs11_int.h index baa28b772f..2c2de3463f 100644 --- a/lib/pkcs11_int.h +++ b/lib/pkcs11_int.h @@ -61,6 +61,23 @@ struct gnutls_pkcs11_obj_st { struct pin_info_st pin; }; +struct gnutls_pkcs11_privkey_st { + gnutls_pk_algorithm_t pk_algorithm; + unsigned int rsa_pss_ok; /* if it is an RSA key, it can do RSA-PSS */ + + unsigned int flags; + struct p11_kit_uri *uinfo; + char *url; + + struct pkcs11_session_info sinfo; + ck_object_handle_t ref; /* the key in the session */ + unsigned reauth; /* whether we need to login on each operation */ + + void *mutex; /* lock for operations requiring co-ordination */ + + struct pin_info_st pin; +}; + /* This must be called on every function that uses a PKCS #11 function * directly. It can be provided a callback function to run when a reinitialization * occurs. */ |