#include "net/cert/x509_cert_types.h"
#include "third_party/boringssl/src/pki/input.h"
#include "third_party/boringssl/src/pki/parse_name.h"
namespace net {
CertPrincipal::CertPrincipal() = default;
CertPrincipal::CertPrincipal(const CertPrincipal&) = default;
CertPrincipal::CertPrincipal(CertPrincipal&&) = default;
CertPrincipal::~CertPrincipal() = default;
bool CertPrincipal::operator==(const CertPrincipal& other) const = default;
bool CertPrincipal::EqualsForTesting(const CertPrincipal& other) const { … }
bool CertPrincipal::ParseDistinguishedName(
bssl::der::Input ber_name_data,
PrintableStringHandling printable_string_handling) { … }
std::string CertPrincipal::GetDisplayName() const { … }
}