Index: net/base/x509_util.h |
diff --git a/net/base/x509_util.h b/net/base/x509_util.h |
index 825ee023296ea1c13cc0f4f2a9b70b0f7865e05d..4c07b252024b7febbe96eaa1726da21cc24a07c2 100644 |
--- a/net/base/x509_util.h |
+++ b/net/base/x509_util.h |
@@ -19,19 +19,20 @@ namespace net { |
namespace x509_util { |
-// Creates an origin bound certificate containing the public key in |key|. |
-// Web origin, serial number and validity period are given as |
+// Creates a server bound certificate containing the public key in |key|. |
+// Domain, serial number and validity period are given as |
// parameters. The certificate is signed by the private key in |key|. |
// The hashing algorithm for the signature is SHA-1. |
// |
// See Internet Draft draft-balfanz-tls-obc-00 for more details: |
// http://tools.ietf.org/html/draft-balfanz-tls-obc-00 |
-bool NET_EXPORT_PRIVATE CreateOriginBoundCertEC(crypto::ECPrivateKey* key, |
- const std::string& origin, |
- uint32 serial_number, |
- base::Time not_valid_before, |
- base::Time not_valid_after, |
- std::string* der_cert); |
+bool NET_EXPORT_PRIVATE CreateDomainBoundCertEC( |
+ crypto::ECPrivateKey* key, |
+ const std::string& domain, |
+ uint32 serial_number, |
+ base::Time not_valid_before, |
+ base::Time not_valid_after, |
+ std::string* der_cert); |
} // namespace x509_util |