Index: net/cert/x509_util.h |
diff --git a/net/cert/x509_util.h b/net/cert/x509_util.h |
index f4c67e27e763aeacfb42f224005c98b97ab3b90c..a996f85e6a294b1518969649d6c32d76ea9e396f 100644 |
--- a/net/cert/x509_util.h |
+++ b/net/cert/x509_util.h |
@@ -37,30 +37,6 @@ enum DigestAlgorithm { |
NET_EXPORT_PRIVATE bool IsSupportedValidityRange(base::Time not_valid_before, |
base::Time not_valid_after); |
-// Creates a private keypair and server bound certificate. |
-// Domain, serial number and validity period are given as |
-// parameters. The certificate is signed by the private key in |key|. |
-// The signature algorithm may be updated periodically to match best practices. |
-// |
-// 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 CreateKeyAndChannelIDEC( |
- const std::string& domain, |
- uint32 serial_number, |
- base::Time not_valid_before, |
- base::Time not_valid_after, |
- scoped_ptr<crypto::ECPrivateKey>* key, |
- 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. |
// The certificate is signed by the private key in |key|. The key length and |