PdfFileSecurity

PdfFileSecurity

개요

PdfFileSecurity는 Aspose.PDF FOSS for C++에 포함된 클래스입니다.

이 클래스는 C++ 프로그램에서 PdfFileSecurity 객체를 다루기 위한 20개의 메서드를 제공합니다. 사용 가능한 메서드에는 AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile 및 추가 메서드 1개가 포함됩니다. Aspose.PDF FOSS for C++ 패키지를 설치한 후에는 모든 public 멤버에 C++ 애플리케이션 어디서든 접근할 수 있습니다.

메서드

시그니처설명
PdfFileSecurity()이 PdfFileSecurity 인스턴스에서 PdfFileSecurity를 호출합니다.
BindPdf(srcFile: std::string)이 PdfFileSecurity 인스턴스에서 BindPdf(srcFile)를 호출합니다.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool이 PdfFileSecurity 인스턴스에서 EncryptFile(userPassword, ownerPassword, privilege, keySize)를 호출합니다.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool이 PdfFileSecurity 인스턴스에서 EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher)를 호출합니다.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool이 PdfFileSecurity 인스턴스에서 TryEncryptFile(userPassword, ownerPassword, privilege, keySize)를 호출합니다.
DecryptFile(ownerPassword: std::string) → bool이 PdfFileSecurity 인스턴스에서 DecryptFile(ownerPassword)를 호출합니다.
TryDecryptFile(ownerPassword: std::string) → bool이 PdfFileSecurity 인스턴스에서 TryDecryptFile(ownerPassword)를 호출합니다.
SetPrivilege(privilege: DocumentPrivilege) → bool권한 값을 설정합니다.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool특권 값을 설정합니다.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool이 PdfFileSecurity 인스턴스에서 TrySetPrivilege(userPassword, ownerPassword, privilege)를 호출합니다.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool이 PdfFileSecurity 인스턴스에서 ChangePassword(ownerPassword, newUserPassword, newOwnerPassword)를 호출합니다.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool이 PdfFileSecurity 인스턴스에서 ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize)를 호출합니다.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool이 PdfFileSecurity 인스턴스에서 ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher)를 호출합니다.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool이 PdfFileSecurity 인스턴스에서 TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword)를 호출합니다.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool이 PdfFileSecurity 인스턴스에서 TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize)를 호출합니다.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool이 PdfFileSecurity 인스턴스에서 TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher)를 호출합니다.
InputFile(value: std::string)이 PdfFileSecurity 인스턴스에서 InputFile(value)를 호출합니다.
OutputFile(value: std::string)이 PdfFileSecurity 인스턴스에서 OutputFile(value)를 호출합니다.
AllowExceptions() → bool이 PdfFileSecurity 인스턴스에서 AllowExceptions를 호출합니다.
AllowExceptions(value: bool)이 PdfFileSecurity 인스턴스에서 AllowExceptions(value)를 호출합니다.

참조

 한국어