Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: chrome/common/net/x509_certificate_model.h

Issue 271753004: x509_certificate_model: remove unused code, move nss-only stuff out of public interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get the missing places Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/x509_certificate_model.h
diff --git a/chrome/common/net/x509_certificate_model.h b/chrome/common/net/x509_certificate_model.h
index fe7f06c0d5790f679bdc66620cc6084b8ffcd544..bb1184c981981176e3d312f37ce87a7eb53a0de6 100644
--- a/chrome/common/net/x509_certificate_model.h
+++ b/chrome/common/net/x509_certificate_model.h
@@ -18,22 +18,16 @@ namespace x509_certificate_model {
std::string GetCertNameOrNickname(
net::X509Certificate::OSCertHandle cert_handle);
-std::string GetNickname(net::X509Certificate::OSCertHandle cert_handle);
-
std::string GetTokenName(net::X509Certificate::OSCertHandle cert_handle);
std::string GetVersion(net::X509Certificate::OSCertHandle cert_handle);
net::CertType GetType(net::X509Certificate::OSCertHandle cert_handle);
-std::string GetEmailAddress(net::X509Certificate::OSCertHandle cert_handle);
-
void GetUsageStrings(
net::X509Certificate::OSCertHandle cert_handle,
std::vector<std::string>* usages);
-std::string GetKeyUsageString(net::X509Certificate::OSCertHandle cert_handle);
-
std::string GetSerialNumberHexified(
net::X509Certificate::OSCertHandle cert_handle,
const std::string& alternative_text);
@@ -69,14 +63,6 @@ std::string GetTitle(net::X509Certificate::OSCertHandle cert_handle);
std::string GetIssuerName(net::X509Certificate::OSCertHandle cert_handle);
std::string GetSubjectName(net::X509Certificate::OSCertHandle cert_handle);
-void GetEmailAddresses(net::X509Certificate::OSCertHandle cert_handle,
- std::vector<std::string>* email_addresses);
-
-void GetNicknameStringsFromCertList(const net::CertificateList& certs,
- const std::string& cert_expired,
- const std::string& cert_not_yet_valid,
- std::vector<std::string>* nick_names);
-
struct Extension {
std::string name;
std::string value;
@@ -121,8 +107,6 @@ std::string ProcessSubjectPublicKeyInfo(
std::string ProcessRawBitsSignatureWrap(
net::X509Certificate::OSCertHandle cert_handle);
-void RegisterDynamicOids();
-
// Format a buffer as |hex_separator| separated string, with 16 bytes on each
// line separated using |line_separator|.
std::string ProcessRawBytesWithSeparators(const unsigned char* data,

Powered by Google App Engine
This is Rietveld 408576698