SetaPDF_Core_SecHandler_SecHandlerInterface Security handler interface
File: /SetaPDF v2/Core/SecHandler/SecHandlerInterface.php
Implemented in
Summary
Methods
auth()
Authenticate to the document with given credentials.
Parameters
- $data
Credentials data
Return Values
Authentication was successful or not
decryptStream()
abstract public SetaPDF_Core_SecHandler_SecHandlerInterface::decryptStream (
$data [, $param = null ]
): voidDecrypts stream data through the desired security handler.
Parameters
- $data
- $param
An array of possible arguments
decryptString()
abstract public SetaPDF_Core_SecHandler_SecHandlerInterface::decryptString (
$data [, $param = null ]
): voidDecrypts string data through the desired security handler.
Parameters
- $data
- $param
An array of possible arguments
encryptStream()
abstract public SetaPDF_Core_SecHandler_SecHandlerInterface::encryptStream (
$data [, $param = null ]
): voidEncrypts stream data through the desired security handler.
Parameters
- $data
- $param
encryptString()
abstract public SetaPDF_Core_SecHandler_SecHandlerInterface::encryptString (
$data [, $param = null ]
): voidEncrypts string data through the desired security handler.
Parameters
- $data
- $param
isAuth()
Returns the status if the handler is authenticated and ready to encrypt and decrypt strings or streams.