Class EncryptionOptions

Class EncryptionOptions

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Representa las Opciones de Cifrado para el plugin Aspose.Pdf.Plugins.Security.

public class EncryptionOptions : OrganizerBaseOptions, IPluginOptions

Herencia

objectOrganizerBaseOptionsEncryptionOptions

Implementa

IPluginOptions

Miembros Heredados

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()

Constructores

EncryptionOptions(string, string, DocumentPrivilege, CryptoAlgorithm)

Inicializa una nueva instancia del objeto Aspose.Pdf.Plugins.EncryptionOptions con opciones predeterminadas.

public EncryptionOptions(string ownerPassword, string userPassword, DocumentPrivilege documentPrivilege, CryptoAlgorithm cryptoAlgorithm = CryptoAlgorithm.AESx256)

Parámetros

ownerPassword string

Contraseña del propietario.

userPassword string

Contraseña del usuario.

documentPrivilege DocumentPrivilege

Permisos del documento.

cryptoAlgorithm CryptoAlgorithm

Algoritmo criptográfico.

Propiedades

CryptoAlgorithm

Algoritmo criptográfico, consulte Aspose.Pdf.Plugins.EncryptionOptions.CryptoAlgorithm para más detalles.

public CryptoAlgorithm CryptoAlgorithm { get; set; }

Valor de la Propiedad

CryptoAlgorithm

DocumentPrivilege

Permisos del documento, consulte Aspose.Pdf.Permissions para más detalles.

public DocumentPrivilege DocumentPrivilege { get; set; }

Valor de la Propiedad

DocumentPrivilege

OwnerPassword

Contraseña del propietario.

public string OwnerPassword { get; set; }

Valor de la Propiedad

string

UserPassword

Contraseña del usuario.

public string UserPassword { get; set; }

Valor de la Propiedad

string

 Español