Index: crypto/rsa_private_key.h |
diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h |
index cb190677b166641443229012d5fa7379eb384806..b1ea507237c86dc97ee2245259f2507ef708c42e 100644 |
--- a/crypto/rsa_private_key.h |
+++ b/crypto/rsa_private_key.h |
@@ -181,10 +181,14 @@ class CRYPTO_EXPORT RSAPrivateKey { |
const std::vector<uint8>& input); |
#if defined(USE_NSS) |
+ static uint64 kDefaultPublicExponent; |
+ |
// Create a new random instance in |slot|. Can return NULL if initialization |
// fails. The created key is permanent and is not exportable in plaintext |
// form. |
- static RSAPrivateKey* CreateSensitive(PK11SlotInfo* slot, uint16 num_bits); |
+ static RSAPrivateKey* CreateSensitive(PK11SlotInfo* slot, |
+ uint16 num_bits, |
+ uint64 public_exponent); |
// Create a new instance in |slot| by importing an existing private key. The |
// format is an ASN.1-encoded PrivateKeyInfo block from PKCS #8. This can |
@@ -251,6 +255,7 @@ class CRYPTO_EXPORT RSAPrivateKey { |
// Note: |permanent| is only supported when USE_NSS is defined. |
static RSAPrivateKey* CreateWithParams(PK11SlotInfo* slot, |
uint16 num_bits, |
+ uint64 public_exponent, |
bool permanent, |
bool sensitive); |