Index: crypto/rsa_private_key.h |
diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h |
index ff368d82ace88b6576dfdf2d154cce4b8a811ef3..1c14d783e653efec966e0f026b4782af2b21c529 100644 |
--- a/crypto/rsa_private_key.h |
+++ b/crypto/rsa_private_key.h |
@@ -200,6 +200,11 @@ class CRYPTO_EXPORT RSAPrivateKey { |
static RSAPrivateKey* CreateSensitiveFromPrivateKeyInfo( |
const std::vector<uint8>& input); |
+#if defined(USE_NSS) |
+ static RSAPrivateKey* CreateFromKeypair(SECKEYPrivateKeyStr* key, |
+ SECKEYPublicKeyStr* public_key); |
+#endif |
+ |
// Import an existing public key, and then search for the private |
// half in the key database. The format of the public key blob is is |
// an X509 SubjectPublicKeyInfo block. This can return NULL if |