Class EncryptionOptions
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Stellt die Verschlüsselungsoptionen für das Aspose.Pdf.Plugins.Security-Plugin dar.
public class EncryptionOptions : OrganizerBaseOptions, IPluginOptions
Vererbung
object ← OrganizerBaseOptions ← EncryptionOptions
Implementiert
Vererbte Mitglieder
OrganizerBaseOptions.AddInput(IDataSource), OrganizerBaseOptions.AddOutput(IDataSource), OrganizerBaseOptions.Inputs, OrganizerBaseOptions.Outputs, OrganizerBaseOptions.CloseInputStreams, OrganizerBaseOptions.CloseOutputStreams, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktoren
EncryptionOptions(string, string, DocumentPrivilege, CryptoAlgorithm)
Initialisiert eine neue Instanz des Aspose.Pdf.Plugins.EncryptionOptions-Objekts mit Standardoptionen.
public EncryptionOptions(string ownerPassword, string userPassword, DocumentPrivilege documentPrivilege, CryptoAlgorithm cryptoAlgorithm = CryptoAlgorithm.AESx256)
Parameter
ownerPassword
string
Besitzer-Passwort.
userPassword
string
Benutzer-Passwort.
documentPrivilege
DocumentPrivilege
Dokumentenberechtigungen.
cryptoAlgorithm
CryptoAlgorithm
Kryptografischer Algorithmus.
Eigenschaften
CryptoAlgorithm
Kryptografischer Algorithmus, siehe Aspose.Pdf.Plugins.EncryptionOptions.CryptoAlgorithm für Details.
public CryptoAlgorithm CryptoAlgorithm { get; set; }
Eigenschaftswert
CryptoAlgorithm
DocumentPrivilege
Dokumentenberechtigungen, siehe Aspose.Pdf.Permissions für Details.
public DocumentPrivilege DocumentPrivilege { get; set; }
Eigenschaftswert
DocumentPrivilege
OwnerPassword
Besitzer-Passwort.
public string OwnerPassword { get; set; }
Eigenschaftswert
UserPassword
Benutzer-Passwort.
public string UserPassword { get; set; }