# SecurityHandlerBase

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / SecurityHandlerBase

# Abstract Class: SecurityHandlerBase

Base abstract class defining PDF Security Handler.

## Extends

- [`ObjectBase`](ObjectBase)

## Extended by

- [`StandardSecurityHandler`](StandardSecurityHandler)
- [`UnknownSecurityHandler`](UnknownSecurityHandler)

## Accessors

### id

#### Get Signature

> **get** **id**(): `number`

Gets the reference to the object.

##### Returns

`number`

#### Inherited from

[`ObjectBase`](ObjectBase).[`id`](ObjectBase#id)

***

### om

#### Get Signature

> **get** **om**(): [`ObjectManager`](ObjectManager)

Gets the owner [ObjectManager](ObjectManager) instance.

##### Returns

[`ObjectManager`](ObjectManager)

#### Inherited from

[`ObjectBase`](ObjectBase).[`om`](ObjectBase#om)

## Methods

### assignFrom()

> **assignFrom**(`source`): `void`

Copies all property values from another object.

#### Parameters

##### source

`SecurityHandlerBase`

The source object.

#### Returns

`void`

***

### clone()

> **clone**(): `SecurityHandlerBase`

Create copy of this SecurityHandlerBase.

#### Returns

`SecurityHandlerBase`

The clone of this object.

***

### free()

> **free**(): `void`

Detaches the object from the [ObjectManager](ObjectManager) and deallocates its memory, if possible.

#### Returns

`void`

#### Inherited from

[`ObjectBase`](ObjectBase).[`free`](ObjectBase#free)

***

### rebind()

> **rebind**(`omTo`): `void`

Rebinds the object from the current [ObjectManager](ObjectManager) to the specified one.

#### Parameters

##### omTo

[`ObjectManager`](ObjectManager)

The new [ObjectManager](ObjectManager) for the object.

#### Returns

`void`

#### Inherited from

[`ObjectBase`](ObjectBase).[`rebind`](ObjectBase#rebind)
