This source file includes following definitions.
- SelectClientCerts
#include "net/ssl/client_cert_store_nss.h"
#include "net/ssl/client_cert_store_unittest-inl.h"
namespace net {
class ClientCertStoreNSSTestDelegate {
public:
ClientCertStoreNSSTestDelegate()
: store_(ClientCertStoreNSS::PasswordDelegateFactory()) {}
bool SelectClientCerts(const CertificateList& input_certs,
const SSLCertRequestInfo& cert_request_info,
CertificateList* selected_certs) {
return store_.SelectClientCertsForTesting(
input_certs, cert_request_info, selected_certs);
}
private:
ClientCertStoreNSS store_;
};
INSTANTIATE_TYPED_TEST_CASE_P(NSS,
ClientCertStoreTest,
ClientCertStoreNSSTestDelegate);
}