Index: net/cert/x509_util_nss.h |
diff --git a/net/cert/x509_util_nss.h b/net/cert/x509_util_nss.h |
index 5ad752ed1f07a664bb308476bd0f3298b74ccd83..2a5994d9164d692bff55b3979a1048af02502431 100644 |
--- a/net/cert/x509_util_nss.h |
+++ b/net/cert/x509_util_nss.h |
@@ -26,18 +26,6 @@ namespace net { |
namespace x509_util { |
-// Creates a self-signed certificate containing |public_key|. Subject, serial |
-// number and validity period are given as parameters. The certificate is |
-// signed by |private_key|. The hashing algorithm for the signature is SHA-1. |
-// |subject| is a distinguished name defined in RFC4514. |
-NET_EXPORT_PRIVATE CERTCertificate* CreateSelfSignedCert( |
- SECKEYPublicKey* public_key, |
- SECKEYPrivateKey* private_key, |
- const std::string& subject, |
- uint32 serial_number, |
- base::Time not_valid_before, |
- base::Time not_valid_after); |
- |
#if defined(USE_NSS) || defined(OS_IOS) |
// Parses the Principal attribute from |name| and outputs the result in |
// |principal|. |