![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_security_handler.h>
Public Member Functions | |
| bool | OnInit (const CPDF_Dictionary *pEncryptDict, RetainPtr< const CPDF_Array > pIdArray, const ByteString &password) |
| void | OnCreate (CPDF_Dictionary *pEncryptDict, const CPDF_Array *pIdArray, const ByteString &password) |
| uint32_t | GetPermissions (bool get_owner_perms) const |
| bool | IsMetadataEncrypted () const |
| CPDF_CryptoHandler * | GetCryptoHandler () const |
| ByteString | GetEncodedPassword (ByteStringView password) const |
| Public Member Functions inherited from fxcrt::Retainable | |
| Retainable ()=default | |
| bool | HasOneRef () const |
Public Attributes | |
| CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
| ~CPDF_SecurityHandler () override | |
Additional Inherited Members | |
| Protected Member Functions inherited from fxcrt::Retainable | |
| virtual | ~Retainable ()=default |
Definition at line 23 of file cpdf_security_handler.h.
|
overrideprivatedefault |
|
inline |
Definition at line 39 of file cpdf_security_handler.h.
| ByteString CPDF_SecurityHandler::GetEncodedPassword | ( | ByteStringView | password | ) | const |
Definition at line 537 of file cpdf_security_handler.cpp.
References fxcrt::WideString::FromLatin1(), and fxcrt::WideString::FromUTF8().
| uint32_t CPDF_SecurityHandler::GetPermissions | ( | bool | get_owner_perms | ) | const |
Definition at line 215 of file cpdf_security_handler.cpp.
| bool CPDF_SecurityHandler::IsMetadataEncrypted | ( | ) | const |
Definition at line 533 of file cpdf_security_handler.cpp.
| void CPDF_SecurityHandler::OnCreate | ( | CPDF_Dictionary * | pEncryptDict, |
| const CPDF_Array * | pIdArray, | ||
| const ByteString & | password ) |
Definition at line 552 of file cpdf_security_handler.cpp.
References CRYPT_MD5Start(), CRYPT_SHA256Start(), FXSYS_memcpy(), and CPDF_CryptoHandler::kNone.
| bool CPDF_SecurityHandler::OnInit | ( | const CPDF_Dictionary * | pEncryptDict, |
| RetainPtr< const CPDF_Array > | pIdArray, | ||
| const ByteString & | password ) |
Definition at line 189 of file cpdf_security_handler.cpp.
References CPDF_CryptoHandler::kNone.
| CPDF_SecurityHandler::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 25 of file cpdf_security_handler.h.