PdfFileSecurity

PdfFileSecurity

Przegląd

PdfFileSecurity jest klasą w Aspose.PDF FOSS dla C++.

Ta klasa udostępnia 20 metod do pracy z obiektami PdfFileSecurity w programach C++. Dostępne metody to: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile oraz 1 dodatkowa metoda. Wszystkie publiczne członki są dostępne dla każdej aplikacji C++ po zainstalowaniu pakietu Aspose.PDF FOSS dla C++.

Metody

SygnaturaOpis
PdfFileSecurity()Wywołuje PdfFileSecurity na tej instancji PdfFileSecurity.
BindPdf(srcFile: std::string)Wywołuje BindPdf(srcFile) na tej instancji PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolWywołuje EncryptFile(userPassword, ownerPassword, privilege, keySize) na tej instancji PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolWywołuje EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) na tej instancji PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolWywołuje TryEncryptFile(userPassword, ownerPassword, privilege, keySize) na tej PdfFileSecurity instancji.
DecryptFile(ownerPassword: std::string) → boolWywołuje DecryptFile(ownerPassword) na tej PdfFileSecurity instancji.
TryDecryptFile(ownerPassword: std::string) → boolWywołuje TryDecryptFile(ownerPassword) na tej PdfFileSecurity instancji.
SetPrivilege(privilege: DocumentPrivilege) → boolUstawia wartość przywileju.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolUstawia wartość uprawnienia.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolWywołuje TrySetPrivilege(userPassword, ownerPassword, privilege) na tej instancji PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolWywołuje ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) na tej instancji PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolWywołuje ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) na tej instancji PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolWywołuje ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) na tej instancji PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolWywołuje TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) na tej instancji PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolWywołuje TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) na tej instancji PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolWywołuje TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) na tej instancji PdfFileSecurity.
InputFile(value: std::string)Wywołuje InputFile(value) na tej instancji PdfFileSecurity.
OutputFile(value: std::string)Wywołuje OutputFile(value) na tej instancji PdfFileSecurity.
AllowExceptions() → boolWywołuje AllowExceptions na tej instancji PdfFileSecurity.
AllowExceptions(value: bool)Wywołuje AllowExceptions(value) na tej instancji PdfFileSecurity.

Zobacz także

 Polski