Chromium Code Reviews| Index: crypto/rsa_private_key.h |
| diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h |
| index ad82148428a564519262c98fb503f1969eee1fdb..c2398c5ec9780e6d3f74292036ce9a2878f5bf53 100644 |
| --- a/crypto/rsa_private_key.h |
| +++ b/crypto/rsa_private_key.h |
| @@ -221,6 +221,11 @@ class CRYPTO_EXPORT RSAPrivateKey { |
| // Exports the public key to an X509 SubjectPublicKeyInfo block. |
| bool ExportPublicKey(std::vector<uint8>* output) const; |
| + // Signs the message |digest| using this private key as specified in |
| + // PKCS #1. Assumes the digest was created using SHA1 algorithm. |
| + bool SignDigest(const std::vector<uint8>& digest, |
| + std::vector<uint8>* output) const; |
|
Ryan Sleevi
2013/07/08 18:09:37
This shouldn't really hang off RSAPrivateKey.
We'
pfeldman
2013/07/08 20:42:50
Done.
|
| + |
| private: |
| #if defined(USE_NSS) |
| FRIEND_TEST_ALL_PREFIXES(RSAPrivateKeyNSSTest, FindFromPublicKey); |