summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_crypto_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser/cpdf_crypto_handler.h')
-rw-r--r--core/fpdfapi/parser/cpdf_crypto_handler.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/fpdfapi/parser/cpdf_crypto_handler.h b/core/fpdfapi/parser/cpdf_crypto_handler.h
index 7175088de4..32eeaef4c9 100644
--- a/core/fpdfapi/parser/cpdf_crypto_handler.h
+++ b/core/fpdfapi/parser/cpdf_crypto_handler.h
@@ -22,14 +22,11 @@ class CPDF_SecurityHandler;
class CPDF_CryptoHandler {
public:
- CPDF_CryptoHandler();
+ CPDF_CryptoHandler(int cipher, const uint8_t* key, int keylen);
~CPDF_CryptoHandler();
static bool IsSignatureDictionary(const CPDF_Dictionary* dictionary);
- bool Init(CPDF_Dictionary* pEncryptDict,
- CPDF_SecurityHandler* pSecurityHandler);
-
std::unique_ptr<CPDF_Object> DecryptObjectTree(
std::unique_ptr<CPDF_Object> object);
@@ -44,7 +41,6 @@ class CPDF_CryptoHandler {
uint8_t* dest_buf,
uint32_t& dest_size);
- bool Init(int cipher, const uint8_t* key, int keylen);
bool IsCipherAES() const;
private: