mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
finish initial support for rc4 encryption with blank user password
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
|
||||
internal class NoOpEncryptionHandler : IEncryptionHandler
|
||||
@@ -11,9 +10,9 @@
|
||||
{
|
||||
}
|
||||
|
||||
public IReadOnlyList<byte> Decrypt(StreamToken stream)
|
||||
public IToken Decrypt(IndirectReference reference, IToken token)
|
||||
{
|
||||
return stream.Data;
|
||||
return token;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user