$content
);
- } else if ($algoUrl == 'http://www.idpf.org/2008/embedding') {
- //obfuscation algorithm; skip
- continue;
-
} else {
$this->logger->error('Unsupported encryption algorithm: ' . $algoUrl);
continue;
$filePath = (string) $sxEncData->CipherData->CipherReference['URI'];
$algoUrl = (string) $sxEncData->EncryptionMethod['Algorithm'];
+ if ($algoUrl == 'http://www.idpf.org/2008/embedding') {
+ //obfuscation algorithm; skip
+ continue;
+ }
+
if (isset($sxEncData->EncryptionProperties->EncryptionProperty->Compression)) {
$compressionMethod = (string) $sxEncData->EncryptionProperties->EncryptionProperty->Compression['Method'];
$originalLength = (string) $sxEncData->EncryptionProperties->EncryptionProperty->Compression['OriginalLength'];