pkcs11_get_key
if (pkcs11_get_key(k11, CKM_RSA_PKCS) == -1) {
if (pkcs11_get_key(k11, CKM_ECDSA) == -1) {