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

Unified Diff: net/cert/x509_util.h

Issue 356713005: Rename ServerBoundCert => ChannelID to reflect the current name (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix cookies_list.js Created 6 years, 5 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: net/cert/x509_util.h
diff --git a/net/cert/x509_util.h b/net/cert/x509_util.h
index e6b0e448cd42184d70913bc65d667b0e9a2cd8dd..f4c67e27e763aeacfb42f224005c98b97ab3b90c 100644
--- a/net/cert/x509_util.h
+++ b/net/cert/x509_util.h
@@ -44,7 +44,7 @@ NET_EXPORT_PRIVATE bool IsSupportedValidityRange(base::Time not_valid_before,
//
// See Internet Draft draft-balfanz-tls-obc-00 for more details:
// http://tools.ietf.org/html/draft-balfanz-tls-obc-00
-NET_EXPORT_PRIVATE bool CreateKeyAndDomainBoundCertEC(
+NET_EXPORT_PRIVATE bool CreateKeyAndChannelIDEC(
const std::string& domain,
uint32 serial_number,
base::Time not_valid_before,
@@ -52,14 +52,14 @@ NET_EXPORT_PRIVATE bool CreateKeyAndDomainBoundCertEC(
scoped_ptr<crypto::ECPrivateKey>* key,
std::string* der_cert);
-// Helper function for CreateKeyAndDomainBoundCertEC.
-NET_EXPORT_PRIVATE bool CreateDomainBoundCertEC(crypto::ECPrivateKey* key,
- DigestAlgorithm alg,
- const std::string& domain,
- uint32 serial_number,
- base::Time not_valid_before,
- base::Time not_valid_after,
- std::string* der_cert);
+// Helper function for CreateKeyAndChannelIDEC.
+NET_EXPORT_PRIVATE bool CreateChannelIDEC(crypto::ECPrivateKey* key,
+ DigestAlgorithm alg,
+ const std::string& domain,
+ uint32 serial_number,
+ base::Time not_valid_before,
+ base::Time not_valid_after,
+ std::string* der_cert);
// Creates a public-private keypair and a self-signed certificate.
// Subject, serial number and validity period are given as parameters.

Powered by Google App Engine
This is Rietveld 408576698