diff options
author | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-07 23:54:07 +0000 |
---|---|---|
committer | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-07 23:54:07 +0000 |
commit | 6084b9b97e4ae2d7838af464780ed60032e41b1a (patch) | |
tree | c31f4fa7ea7fcb321d5ff9cfd825116f8e899a6a /chrome/common/net/x509_certificate_model.h | |
parent | 506372bea0e3d01cec39bc1085300e3a0a3fafcc (diff) | |
download | chromium_src-6084b9b97e4ae2d7838af464780ed60032e41b1a.zip chromium_src-6084b9b97e4ae2d7838af464780ed60032e41b1a.tar.gz chromium_src-6084b9b97e4ae2d7838af464780ed60032e41b1a.tar.bz2 |
Remove GetPkcs11Id from x509_certificate_model
We have the same function in chromeos::CertLoader.
CertLibrary, which is the only user of x509_certificate_model::GetPkcs11Id,
already depends on the CertLoader, so there is no real reson not to use
CertLoader::GetPkcs11IdForCert.
Also, update CertLibrary::GetCertIndexByPEM and
CertLibrary::GetCertIndexByPkcs11 to work only for a single certificate
type (server ca and client certificates respectively), instead of taking
the certificate type as param.
BUG=236978
Review URL: https://codereview.chromium.org/182313004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262257 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/net/x509_certificate_model.h')
-rw-r--r-- | chrome/common/net/x509_certificate_model.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/common/net/x509_certificate_model.h b/chrome/common/net/x509_certificate_model.h index 16cae48..fe7f06c 100644 --- a/chrome/common/net/x509_certificate_model.h +++ b/chrome/common/net/x509_certificate_model.h @@ -77,10 +77,6 @@ void GetNicknameStringsFromCertList(const net::CertificateList& certs, const std::string& cert_not_yet_valid, std::vector<std::string>* nick_names); -// Returns the PKCS#11 attribute CKA_ID for a certificate as an upper-case -// hex string, or the empty string if none is found. -std::string GetPkcs11Id(net::X509Certificate::OSCertHandle cert_handle); - struct Extension { std::string name; std::string value; |