SetaPDF_MetaManager::getEncryption()
Description
class SetaPDF_MetaManager extends SetaPDF {
mixed getEncryption ( [boolean $details=false] )
}
With this method you can query if a document is encrypted.
Parameters
$details
If set to true the API will return the raw structure of the encryption dictionary. If set to false the return value is a boolean value.
Return Value
A boolean value if $details is set to false saying if the document is encrypted or not.
An array of the raw encryption dictionary if $details is set to true.
Version
Available since version 1.1.