#include "components/enterprise/client_certificates/core/client_identity.h"
#include <utility>
#include "base/check.h"
#include "components/enterprise/client_certificates/core/private_key.h"
#include "net/cert/x509_certificate.h"
namespace client_certificates {
ClientIdentity::ClientIdentity(const std::string& name,
scoped_refptr<PrivateKey> private_key,
scoped_refptr<net::X509Certificate> certificate)
: … { … }
ClientIdentity::ClientIdentity(const ClientIdentity&) = default;
ClientIdentity& ClientIdentity::operator=(const ClientIdentity&) = default;
ClientIdentity::~ClientIdentity() = default;
bool ClientIdentity::operator==(const ClientIdentity& other) const { … }
}