PdfFileSecurity

PdfFileSecurity

Přehled

PdfFileSecurity je třída v Aspose.PDF FOSS pro C++.

Tato třída poskytuje 20 metod pro práci s objekty PdfFileSecurity v C++ programech. Dostupné metody zahrnují: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile a 1 další metodu. Všechny veřejné členy jsou přístupné jakékoli C++ aplikaci po instalaci balíčku Aspose.PDF FOSS pro C++.

Metody

Podpis:Popis:
PdfFileSecurity()Volá PdfFileSecurity na této instanci PdfFileSecurity.
BindPdf(srcFile: std::string)Volá BindPdf(srcFile) na této instanci PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolVolá EncryptFile(userPassword, ownerPassword, privilege, keySize) na této instanci PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolVolá EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) na této instanci PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolVolá TryEncryptFile(userPassword, ownerPassword, privilege, keySize) na této instanci PdfFileSecurity.
DecryptFile(ownerPassword: std::string) → boolVolá DecryptFile(ownerPassword) na této instanci PdfFileSecurity.
TryDecryptFile(ownerPassword: std::string) → boolVolá TryDecryptFile(ownerPassword) na této instanci PdfFileSecurity.
SetPrivilege(privilege: DocumentPrivilege) → boolNastavuje hodnotu oprávnění.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolNastaví hodnotu oprávnění.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolVolá TrySetPrivilege(userPassword, ownerPassword, privilege) na této instanci PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolVolá ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) na této instanci PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolVolá ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) na této instanci PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolVolá ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) na této instanci PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolVolá TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) na této instanci PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolVolá TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) na této instanci PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolVolá TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) na této instanci PdfFileSecurity.
InputFile(value: std::string)Volá InputFile(value) na této instanci PdfFileSecurity.
OutputFile(value: std::string)Volá OutputFile(value) na této instanci PdfFileSecurity.
AllowExceptions() → boolVolá AllowExceptions na této instanci PdfFileSecurity.
AllowExceptions(value: bool)Volá AllowExceptions(value) na této instanci PdfFileSecurity.

Viz také:

 Čeština