Files
PdfPig/src/UglyToad.PdfPig/Encryption/NoOpEncryptionHandler.cs

19 lines
444 B
C#
Raw Normal View History

namespace UglyToad.PdfPig.Encryption
{
using System.Collections.Generic;
using Tokens;
internal class NoOpEncryptionHandler : IEncryptionHandler
{
public static NoOpEncryptionHandler Instance { get; } = new NoOpEncryptionHandler();
private NoOpEncryptionHandler()
{
}
public IReadOnlyList<byte> Decrypt(StreamToken stream)
{
return stream.Data;
}
}
}