Class PdfEncryptionDetails

Class PdfEncryptionDetails

Namespace: Aspose.Page.XPS.Presentation.Pdf
Assembly: Aspose.Page.dll (25.1.2)

Chứa thông tin về mã hóa pdf.

public class PdfEncryptionDetails

Kế thừa

objectPdfEncryptionDetails

Các thành viên kế thừa

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Các hàm khởi tạo

PdfEncryptionDetails(string, string, int, PdfEncryptionAlgorithm)

Khởi tạo một thể hiện mới của lớp Aspose.Rendering.Pdf.PdfEncryptionDetailsCore.

public PdfEncryptionDetails(string userPassword, string ownerPassword, int permissions, PdfEncryptionAlgorithm encryptionAlgorithm)

Tham số

userPassword string

Mật khẩu người dùng.

ownerPassword string

Mật khẩu chủ sở hữu.

permissions int

Các quyền.

encryptionAlgorithm PdfEncryptionAlgorithm

Thuật toán mã hóa.

Các thuộc tính

EncryptionAlgorithm

Lấy hoặc thiết lập chế độ mã hóa.

public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }

Giá trị thuộc tính

PdfEncryptionAlgorithm

OwnerPassword

Lấy hoặc thiết lập mật khẩu Chủ sở hữu.

public string OwnerPassword { get; set; }

Giá trị thuộc tính

string

Ghi chú

Mở tài liệu với mật khẩu chủ sở hữu đúng (giả sử nó không giống với mật khẩu người dùng) cho phép truy cập đầy đủ (chủ sở hữu) vào tài liệu. Quyền truy cập không giới hạn này bao gồm khả năng thay đổi mật khẩu của tài liệu và quyền truy cập.

Permissions

Lấy hoặc thiết lập các quyền.

public int Permissions { get; set; }

Giá trị thuộc tính

int

UserPassword

Lấy hoặc thiết lập mật khẩu Người dùng.

public string UserPassword { get; set; }

Giá trị thuộc tính

string

Ghi chú

Mở tài liệu với mật khẩu người dùng đúng (hoặc mở tài liệu không có mật khẩu người dùng) cho phép thực hiện các thao tác bổ sung theo quyền truy cập của người dùng được chỉ định trong từ điển mã hóa của tài liệu.

 Tiếng Việt