setasign\SetaPDF2\Core\SecHandler
SecHandlerInterface Security handler interface
File: /SetaPDF v2/Core/SecHandler/SecHandlerInterface.php
Old class name (alias):
\SetaPDF_Core_SecHandler_SecHandlerInterface
Implemented in
Summary
Methods
auth()
Authenticate to the document with given credentials.
Parameters
- $data : mixed
Credentials data
Return Values
Authentication was successful or not
decryptStream()
Decrypts stream data through the desired security handler.
Parameters
- $data : string
- $param : null|array|\SetaPDF_Core_Type_IndirectObject
An array of possible arguments
decryptString()
Decrypts string data through the desired security handler.
Parameters
- $data : string
- $param : null|array|\SetaPDF_Core_Type_IndirectObject
An array of possible arguments
encryptStream()
Encrypts stream data through the desired security handler.
Parameters
- $data : string
- $param : mixed
encryptString()
Encrypts string data through the desired security handler.
Parameters
- $data : string
- $param : mixed
getEncryptionDictionary()
abstract public SecHandlerInterface::getEncryptionDictionary (
void
): \SetaPDF_Core_Type_DictionaryReturns the encryption dictionary.
getEncryptionKey()
isAuth()
Returns the status if the handler is authenticated and ready to encrypt and decrypt strings or streams.