PdfFileSecurity

PdfFileSecurity

Översikt

PdfFileSecurity är en klass i Aspose.PDF FOSS för C++.

Denna klass tillhandahåller 20 metoder för att arbeta med PdfFileSecurity-objekt i C++-program. Tillgängliga metoder inkluderar: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile och 1 ytterligare metod. Alla offentliga medlemmar är tillgängliga för alla C++-applikationer efter att ha installerat Aspose.PDF FOSS för C++-paketet.

Metoder

SignaturBeskrivning
PdfFileSecurity()Anropar PdfFileSecurity på denna PdfFileSecurity instans.
BindPdf(srcFile: std::string)Anropar BindPdf(srcFile) på denna PdfFileSecurity instans.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAnropar EncryptFile(userPassword, ownerPassword, privilege, keySize) på denna PdfFileSecurity instans.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolAnropar EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) på denna PdfFileSecurity instans.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAnropar TryEncryptFile(userPassword, ownerPassword, privilege, keySize) på denna PdfFileSecurity-instans.
DecryptFile(ownerPassword: std::string) → boolAnropar DecryptFile(ownerPassword) på denna PdfFileSecurity-instans.
TryDecryptFile(ownerPassword: std::string) → boolAnropar TryDecryptFile(ownerPassword) på denna PdfFileSecurity-instans.
SetPrivilege(privilege: DocumentPrivilege) → boolStäller in privilegievärdet.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolStäller in rättighetsvärdet.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolAnropar TrySetPrivilege(userPassword, ownerPassword, privilege) på denna PdfFileSecurity-instans.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolAnropar ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) på denna PdfFileSecurity-instans.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAnropar ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) på denna PdfFileSecurity-instans.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolAnropar ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) på denna PdfFileSecurity-instans.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolAnropar TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) på detta PdfFileSecurity-instans.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAnropar TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) på detta PdfFileSecurity-instans.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolAnropar TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) på detta PdfFileSecurity-instans.
InputFile(value: std::string)Anropar InputFile(value) på detta PdfFileSecurity-instans.
OutputFile(value: std::string)Anropar OutputFile(value) på denna PdfFileSecurity-instans.
AllowExceptions() → boolAnropar AllowExceptions på denna PdfFileSecurity-instans.
AllowExceptions(value: bool)Anropar AllowExceptions(value) på denna PdfFileSecurity-instans.

Se även

 Svenska