Show / Hide Table of Contents

# Class PDFTronCustomSecurityHandler

This class represents PDFTron Custom Security handler that applies PDFTron's custom encryption method on save.

##### Inheritance

object
SecurityHandler
PDFTronCustomSecurityHandler

##### Implements

IDisposable

##### Inherited Members

SecurityHandler.Dispose()
SecurityHandler.Dispose(bool)
SecurityHandler.Destroy()
SecurityHandler.GetAuthorizationData(SecurityHandler.Permission)
SecurityHandler.AuthorizeFailed()
SecurityHandler.EditSecurityData(SDFDoc)
SecurityHandler.Clone()
SecurityHandler.InitPassword(string)
SecurityHandler.ChangeUserPassword(string)
SecurityHandler.GetUserPassword()
SecurityHandler.ChangeMasterPassword(string)
SecurityHandler.GetMasterPassword()
SecurityHandler.SetPermission(SecurityHandler.Permission, bool)
SecurityHandler.ChangeRevisionNumber(int)
SecurityHandler.GetRevisionNumber()
SecurityHandler.IsUserPasswordRequired()
SecurityHandler.IsMasterPasswordRequired()
SecurityHandler.Authorize(SecurityHandler.Permission)
SecurityHandler.FillEncryptDict(SDFDoc)
SecurityHandler.GetPermission(SecurityHandler.Permission)
SecurityHandler.GetKeyLength()
SecurityHandler.GetEncryptionAlgorithmID()
SecurityHandler.IsModified()
SecurityHandler.GetHandlerDocName()
SecurityHandler.SetModified()
SecurityHandler.SetModified(bool)
SecurityHandler.SetEncryptMetadata(bool)
SecurityHandler.IsAES()
SecurityHandler.IsAES(Obj)
SecurityHandler.IsRC4()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.SDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class PDFTronCustomSecurityHandler : SecurityHandler, IDisposable

### Constructors

#### PDFTronCustomSecurityHandler(int)

Constructor

##### Declaration

    public PDFTronCustomSecurityHandler(int custom_id)

##### Parameters

Type | Name | Description
--- | --- | ---
int | custom_id | The user's custom ID. A random ID is suggested to make the custom security unique to the application.

##### Remarks

Please refer to PDFNet.AddPDFTronCustomHandler(uint custom_id) for more details.

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

### Implements

IDisposable