#include "chrome/common/net/x509_certificate_model_nss.h"
#include <cert.h>
#include <certt.h>
#include <stddef.h>
#include <algorithm>
#include <memory>
#include <tuple>
#include "chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h"
#include "chrome/third_party/mozilla_security_manager/nsNSSCertificate.h"
#include "net/cert/x509_util_nss.h"
psm;
namespace {
std::string Stringize(char* nss_text, const std::string& alternative_text) { … }
std::string GetNickname(CERTCertificate* cert_handle) { … }
}
namespace x509_certificate_model {
string;
std::string GetRawNickname(CERTCertificate* cert_handle) { … }
string GetCertNameOrNickname(CERTCertificate* cert_handle) { … }
net::CertType GetType(CERTCertificate* cert_handle) { … }
string GetSubjectOrgName(CERTCertificate* cert_handle,
const string& alternative_text) { … }
string GetTitle(CERTCertificate* cert_handle) { … }
std::string GetIssuerDisplayName(CERTCertificate* cert_handle) { … }
std::string GetSubjectDisplayName(CERTCertificate* cert_handle) { … }
}