Class PdfEncryptor
Inheritance
System.Object
PdfEncryptor
Namespace: Syncfusion.Pdf.Security
Assembly: Syncfusion.Pdf.UWP.dll
Syntax
public class PdfEncryptor : Object
Properties
CryptographicAlgorithm
Gets or sets the cryptographic algorithm. V's value.
Declaration
public PdfEncryptionKeySize CryptographicAlgorithm { get; set; }
Property Value
Type |
---|
PdfEncryptionKeySize |
CustomArray
Gets or sets bytes array for manipulating by Custom algo.
Declaration
protected byte[] CustomArray { get; set; }
Property Value
Type |
---|
System.Byte[] |
EncryptionAlgorithm
Gets or sets encryption algorithm.
Declaration
public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }
Property Value
Type |
---|
PdfEncryptionAlgorithm |
EncryptionKey
Gets or sets encryption key.
Declaration
protected byte[] EncryptionKey { get; set; }
Property Value
Type |
---|
System.Byte[] |
FileID
Declaration
public PdfArray FileID { get; }
Property Value
Type |
---|
PdfArray |
Filter
Gets security handler. Filter's value.
Declaration
public string Filter { get; }
Property Value
Type |
---|
System.String |
PaddingString
Bytes for empty string.
Declaration
protected static byte[] PaddingString { get; set; }
Property Value
Type |
---|
System.Byte[] |
Provider
Gets or sets the object that allows to compute the MD5 hash for the input data using the implementation provided by the cryptographic service provider (CSP).
Declaration
protected MD5CryptoServiceProvider Provider { get; }
Property Value
Type |
---|
MD5CryptoServiceProvider |
RandomBytes
Gets bytes array of random numbers.
Declaration
protected byte[] RandomBytes { get; }
Property Value
Type |
---|
System.Byte[] |
RevisionNumber
Gets revision number. R's value.
Declaration
public int RevisionNumber { get; }
Property Value
Type |
---|
System.Int32 |
SecurityEncoding
Gets encoding.
Declaration
protected Encoding SecurityEncoding { get; }
Property Value
Type |
---|
System.Text.Encoding |
Methods
GetKeyLength()
Returns length of the encryption key.
Declaration
protected int GetKeyLength()
Returns
Type | Description |
---|---|
System.Int32 | Length of the encryption key. |