• Home
  • Raw
  • Download

Lines Matching refs:pkcs11

1213     if (setup_data->pki_key.key.pkcs11.user_pin) {  in setup_pki_server()
1216 setup_data->pki_key.key.pkcs11.user_pin, 0) == 0) { in setup_pki_server()
1219 setup_data->pki_key.key.pkcs11.user_pin); in setup_pki_server()
1224 if (setup_data->pki_key.key.pkcs11.private_key && in setup_pki_server()
1225 setup_data->pki_key.key.pkcs11.private_key[0]) { in setup_pki_server()
1226 if (strncasecmp (setup_data->pki_key.key.pkcs11.private_key, in setup_pki_server()
1229 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_server()
1236 setup_data->pki_key.key.pkcs11.private_key); in setup_pki_server()
1243 setup_data->pki_key.key.pkcs11.private_key); in setup_pki_server()
1251 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_server()
1256 setup_data->pki_key.key.pkcs11.private_key); in setup_pki_server()
1267 if (setup_data->pki_key.key.pkcs11.public_cert && in setup_pki_server()
1268 setup_data->pki_key.key.pkcs11.public_cert[0]) { in setup_pki_server()
1269 if (strncasecmp (setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_server()
1274 setup_data->pki_key.key.pkcs11.public_cert); in setup_pki_server()
1279 setup_data->pki_key.key.pkcs11.public_cert); in setup_pki_server()
1286 setup_data->pki_key.key.pkcs11.public_cert); in setup_pki_server()
1294 setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_server()
1299 setup_data->pki_key.key.pkcs11.public_cert); in setup_pki_server()
1310 if (setup_data->pki_key.key.pkcs11.ca && in setup_pki_server()
1311 setup_data->pki_key.key.pkcs11.ca[0]) { in setup_pki_server()
1314 if (strncasecmp (setup_data->pki_key.key.pkcs11.ca, "pkcs11:", 7) == 0) { in setup_pki_server()
1318 setup_data->pki_key.key.pkcs11.ca); in setup_pki_server()
1323 setup_data->pki_key.key.pkcs11.ca); in setup_pki_server()
1330 setup_data->pki_key.key.pkcs11.ca); in setup_pki_server()
1339 FILE *fp = fopen(setup_data->pki_key.key.pkcs11.ca, "r"); in setup_pki_server()
1346 setup_data->pki_key.key.pkcs11.ca); in setup_pki_server()
1619 if (setup_data->pki_key.key.pkcs11.user_pin) { in setup_pki_ssl()
1623 setup_data->pki_key.key.pkcs11.user_pin, 0) == 0) { in setup_pki_ssl()
1626 setup_data->pki_key.key.pkcs11.user_pin); in setup_pki_ssl()
1631 if (setup_data->pki_key.key.pkcs11.private_key && in setup_pki_ssl()
1632 setup_data->pki_key.key.pkcs11.private_key[0]) { in setup_pki_ssl()
1633 if (strncasecmp (setup_data->pki_key.key.pkcs11.private_key, in setup_pki_ssl()
1636 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_ssl()
1643 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_ssl()
1651 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_ssl()
1660 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_ssl()
1665 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_ssl()
1677 if (setup_data->pki_key.key.pkcs11.public_cert && in setup_pki_ssl()
1678 setup_data->pki_key.key.pkcs11.public_cert[0]) { in setup_pki_ssl()
1679 if (strncasecmp (setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_ssl()
1684 setup_data->pki_key.key.pkcs11.public_cert); in setup_pki_ssl()
1689 setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_ssl()
1697 setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_ssl()
1706 setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_ssl()
1711 setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_ssl()
1723 if (setup_data->pki_key.key.pkcs11.ca && in setup_pki_ssl()
1724 setup_data->pki_key.key.pkcs11.ca[0]) { in setup_pki_ssl()
1727 if (strncasecmp (setup_data->pki_key.key.pkcs11.ca, "pkcs11:", 7) == 0) { in setup_pki_ssl()
1732 setup_data->pki_key.key.pkcs11.ca); in setup_pki_ssl()
1737 setup_data->pki_key.key.pkcs11.ca, in setup_pki_ssl()
1745 setup_data->pki_key.key.pkcs11.ca, in setup_pki_ssl()
1755 FILE *fp = fopen(setup_data->pki_key.key.pkcs11.ca, "r"); in setup_pki_ssl()
1763 setup_data->pki_key.key.pkcs11.ca, in setup_pki_ssl()