Class PdfEncryptionInfo

Class PdfEncryptionInfo

Nazwa przestrzeń: Aspose.Html.Rendering.Pdf.Encryption Zestaw: Aspose.HTML.dll (25.4.0)

Zawiera szczegóły do szyfrowania PDF.

[ComVisible(true)]
public class PdfEncryptionInfo

Inheritance

object PdfEncryptionInfo

Dziedziczeni członkowie

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

Constructors

PdfEncryptionInfo(strona, strona, PdfPermissions, PdfEncryptionAlgorithm)

Inicjalizuje nowy przykład klasy Aspose.Html.Rendering.Pdf.Encryption.PdfEncryptionInfo.

public PdfEncryptionInfo(string userPassword, string ownerPassword, PdfPermissions permissions, PdfEncryptionAlgorithm encryptionAlgorithm)

Parameters

userPassword string

hasło użytkownika .

ownerPassword string

Właściciel hasła.

permissions PdfPermissions

i pozwoleń .

encryptionAlgorithm PdfEncryptionAlgorithm

Algorytm szyfrowania.

Properties

EncryptionAlgorithm

Pobierz lub ustawić tryb szyfrowania.

public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }

Wartość nieruchomości

PdfEncryptionAlgorithm

OwnerPassword

Otrzymuje lub ustawia hasło właściciela.

public string OwnerPassword { get; set; }

Wartość nieruchomości

string

Remarks

Otwieranie dokumentu z prawidłowym hasłem właściciela (przy założeniu, że nie jestpodobnie jak hasło użytkownika) umożliwia pełny (właściciel) dostęp do dokumentu.nieograniczony dostęp obejmuje możliwość zmiany hasła dokumentu izezwolenia na dostęp.

Permissions

otrzymuje lub udziela zezwoleń.

public PdfPermissions Permissions { get; set; }

Wartość nieruchomości

PdfPermissions

UserPassword

otrzymuje lub ustawia hasło użytkownika.

public string UserPassword { get; set; }

Wartość nieruchomości

string

Remarks

Otwieranie dokumentu z prawidłowym hasłem użytkownika (lub otwieranie dokumentuktóry nie ma hasła użytkownika) umożliwia dodatkowe operacje dowykonane zgodnie z uprawnieniami dostępu użytkownika określonymi w dokumencieSłownik szyfrowania.

 Polski