Home
last modified time | relevance | path

Searched refs:CPDF_CryptoHandler (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_crypto_handler.cpp37 bool CPDF_CryptoHandler::IsSignatureDictionary( in IsSignatureDictionary()
48 void CPDF_CryptoHandler::EncryptContent(uint32_t objnum, in EncryptContent()
103 void* CPDF_CryptoHandler::DecryptStart(uint32_t objnum, uint32_t gennum) { in DecryptStart()
137 bool CPDF_CryptoHandler::DecryptStream(void* context, in DecryptStream()
188 bool CPDF_CryptoHandler::DecryptFinish(void* context, BinaryBuffer& dest_buf) { in DecryptFinish()
212 ByteString CPDF_CryptoHandler::Decrypt(uint32_t objnum, in Decrypt()
222 size_t CPDF_CryptoHandler::DecryptGetSize(size_t src_size) { in DecryptGetSize()
226 bool CPDF_CryptoHandler::IsCipherAES() const { in IsCipherAES()
230 bool CPDF_CryptoHandler::DecryptObjectTree(RetainPtr<CPDF_Object> object) { in DecryptObjectTree()
310 size_t CPDF_CryptoHandler::EncryptGetSize( in EncryptGetSize()
[all …]
Dcpdf_security_handler.h40 CPDF_CryptoHandler* GetCryptoHandler() const { in GetCryptoHandler()
61 CPDF_CryptoHandler::Cipher* cipher,
88 CPDF_CryptoHandler::Cipher m_Cipher = CPDF_CryptoHandler::Cipher::kNone;
92 std::unique_ptr<CPDF_CryptoHandler> m_pCryptoHandler;
Dcpdf_encryptor.h16 class CPDF_CryptoHandler; variable
20 CPDF_Encryptor(const CPDF_CryptoHandler* pHandler, int objnum);
26 UnownedPtr<const CPDF_CryptoHandler> const m_pHandler;
Dcpdf_security_handler.cpp76 bool IsValidKeyLengthForCipher(CPDF_CryptoHandler::Cipher cipher, in IsValidKeyLengthForCipher()
79 case CPDF_CryptoHandler::Cipher::kAES: in IsValidKeyLengthForCipher()
81 case CPDF_CryptoHandler::Cipher::kAES2: in IsValidKeyLengthForCipher()
83 case CPDF_CryptoHandler::Cipher::kRC4: in IsValidKeyLengthForCipher()
85 case CPDF_CryptoHandler::Cipher::kNone: in IsValidKeyLengthForCipher()
200 if (m_Cipher == CPDF_CryptoHandler::Cipher::kNone) in OnInit()
230 CPDF_CryptoHandler::Cipher* cipher, in LoadCryptInfo()
233 *cipher = CPDF_CryptoHandler::Cipher::kRC4; in LoadCryptInfo()
243 *cipher = CPDF_CryptoHandler::Cipher::kNone; in LoadCryptInfo()
268 *cipher = CPDF_CryptoHandler::Cipher::kAES; in LoadCryptInfo()
[all …]
Dcpdf_crypto_handler.h25 class CPDF_CryptoHandler {
36 CPDF_CryptoHandler(Cipher cipher, const uint8_t* key, size_t keylen);
37 ~CPDF_CryptoHandler();
Dcpdf_encryptor.cpp15 CPDF_Encryptor::CPDF_Encryptor(const CPDF_CryptoHandler* pHandler, int objnum) in CPDF_Encryptor()
Dcpdf_dictionary.cpp352 const bool is_signature = CPDF_CryptoHandler::IsSignatureDictionary(this); in WriteTo()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.h19 class CPDF_CryptoHandler; variable
73 CPDF_CryptoHandler* GetCryptoHandler();
Dcpdf_creator.cpp649 CPDF_CryptoHandler* CPDF_Creator::GetCryptoHandler() { in GetCryptoHandler()