mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-15 19:54:52 +08:00
#83 decrypt dictionary hex values
This commit is contained in:
@@ -392,7 +392,9 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keyValuePair.Value is StringToken || keyValuePair.Value is ArrayToken || keyValuePair.Value is DictionaryToken)
|
if (keyValuePair.Value is StringToken || keyValuePair.Value is ArrayToken
|
||||||
|
|| keyValuePair.Value is DictionaryToken
|
||||||
|
|| keyValuePair.Value is HexToken)
|
||||||
{
|
{
|
||||||
var inner = DecryptInternal(reference, keyValuePair.Value);
|
var inner = DecryptInternal(reference, keyValuePair.Value);
|
||||||
dictionary = dictionary.With(keyValuePair.Key, inner);
|
dictionary = dictionary.With(keyValuePair.Key, inner);
|
||||||
|
Reference in New Issue
Block a user