Skip to main content

Security

Version: 12.0

cete.dynamicpdf.security

Security​

Base class from which all security classes are derived.

public abstract class Security
Public MustInherit Class Security

Inheritance: Object → Security

Derived: Aes128Security, Aes256Security, RC4128Security, RC440Security

Licensing Info​

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Remarks​

Security's derived classes are: RC4128Security and RC440Security .

Properties​

AllowCopy​

Gets or sets if text and images can be copied to the clipboard by the user.

public bool AllowCopy { get; set; }
Public Property AllowCopy As Boolean

Property Value​

Boolean

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

AllowEdit​

Gets or sets if the document can be edited by the user.

public bool AllowEdit { get; set; }
Public Property AllowEdit As Boolean

Property Value​

Boolean

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

AllowPrint​

Gets or sets if the document can be printed by the user.

public bool AllowPrint { get; set; }
Public Property AllowPrint As Boolean

Property Value​

Boolean

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

AllowUpdateAnnotsAndFields​

Gets or sets if annotations and form fields can be added, edited and modified by the user.

public bool AllowUpdateAnnotsAndFields { get; set; }
Public Property AllowUpdateAnnotsAndFields As Boolean

Property Value​

Boolean

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

OwnerPassword​

Gets or sets the owner password.

public string OwnerPassword { get; set; }
Public Property OwnerPassword As String

Property Value​

String

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

UserPassword​

Gets or sets the user password.

public string UserPassword { get; set; }
Public Property UserPassword As String

Property Value​

String

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Methods​

Draw(DocumentWriter, Encrypter)​

Draws the encrypter dictionary to the given DocumentWriter object.

public abstract void Draw(DocumentWriter writer, Encrypter encrypter)
MustOverride Sub Draw(writer As DocumentWriter, encrypter As Encrypter)

Parameters​

DocumentWriter object to receive the output.

Encrypter object used to encrypt the document.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetEncrypter(Byte[])​

Gets an Encrypter object to be used for encrypting the document.

public abstract Encrypter GetEncrypter(Byte[] id)
MustOverride Function GetEncrypter(id As Byte()) As Encrypter

Parameters​

ID of the current PDF document.

Returns​

An Encrypter .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF