Class EncryptionOptions
Navne til: Aspose.Pdf.Plugins Sammensætning: Aspose.PDF.dll (25.4.0)
Representerer krypteringsmuligheder for Aspose.Pdf.Plugins.Security plugin.
public class EncryptionOptions : OrganizerBaseOptions, IPluginOptions
Inheritance
object ← OrganizerBaseOptions ← EncryptionOptions
Implements
De arvede medlemmer
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()
Constructors
EncryptionOptions(string, string, DocumentPrivilege, CryptoAlgorithm)
Initialiserer en ny instans af Aspose.Pdf.Plugins.EncryptionOptions objekt med standard muligheder.
public EncryptionOptions(string ownerPassword, string userPassword, DocumentPrivilege documentPrivilege, CryptoAlgorithm cryptoAlgorithm = CryptoAlgorithm.AESx256)
Parameters
ownerPassword
string
ejerens adgangskode.
userPassword
string
Brugers adgangskode.
documentPrivilege
DocumentPrivilege
Dokumenter af tilladelse.
cryptoAlgorithm
CryptoAlgorithm
Det kryptografiske algoritme.
Properties
CryptoAlgorithm
Kryptografisk algoritme, se Aspose.Pdf.Plugins.EncryptionOptions.CryptoAlgorithm for detaljer.
public CryptoAlgorithm CryptoAlgorithm { get; set; }
Ejendomsværdi
DocumentPrivilege
Dokumenter tilladelser, se Aspose.Pdf.Permissions for detaljer.
public DocumentPrivilege DocumentPrivilege { get; set; }
Ejendomsværdi
OwnerPassword
ejerens adgangskode.
public string OwnerPassword { get; set; }
Ejendomsværdi
UserPassword
Brugers adgangskode.
public string UserPassword { get; set; }