chromium/chrome/common/net/x509_certificate_model_nss.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Convert a char* return value from NSS into a std::string and free the NSS
// memory.  If the arg is NULL, an empty string will be returned instead.
std::string Stringize(char* nss_text, const std::string& alternative_text) {}

std::string GetNickname(CERTCertificate* cert_handle) {}

}  // namespace

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) {}

}  // namespace x509_certificate_model