Class PdfEncryptionDetails
Class PdfEncryptionDetails
Namespace: Aspose.Page.XPS.Presentation.Pdf
Assembly: Aspose.Page.dll (25.1.2)
PDF暗号化の詳細を含みます。
public class PdfEncryptionDetails
継承
継承されたメンバー
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
コンストラクタ
PdfEncryptionDetails(string, string, int, PdfEncryptionAlgorithm)
Aspose.Rendering.Pdf.PdfEncryptionDetailsCoreクラスの新しいインスタンスを初期化します。
public PdfEncryptionDetails(string userPassword, string ownerPassword, int permissions, PdfEncryptionAlgorithm encryptionAlgorithm)
パラメータ
userPassword
string
ユーザーパスワード。
ownerPassword
string
オーナーパスワード。
permissions
int
権限。
encryptionAlgorithm
PdfEncryptionAlgorithm
暗号化アルゴリズム。
プロパティ
EncryptionAlgorithm
暗号化モードを取得または設定します。
public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }
プロパティ値
OwnerPassword
オーナーパスワードを取得または設定します。
public string OwnerPassword { get; set; }
プロパティ値
備考
正しいオーナーパスワード(ユーザーパスワードとは異なると仮定)で文書を開くと、文書への完全な(オーナー)アクセスが可能になります。この無制限のアクセスには、文書のパスワードやアクセス権限を変更する能力が含まれます。
Permissions
権限を取得または設定します。
public int Permissions { get; set; }
プロパティ値
UserPassword
ユーザーパスワードを取得または設定します。
public string UserPassword { get; set; }
プロパティ値
備考
正しいユーザーパスワードで文書を開く(またはユーザーパスワードがない文書を開く)と、文書の暗号化辞書に指定されたユーザーアクセス権限に応じた追加の操作が実行できます。