summary refs log tree commit diff
path: root/crypto/src/bcpg/InputStreamPacket.cs
blob: d4946ebf2672756e3f211330f9de4abb26eb9de1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Org.BouncyCastle.Bcpg
{
    public class InputStreamPacket
        : Packet
    {
        private readonly BcpgInputStream bcpgIn;

		public InputStreamPacket(BcpgInputStream bcpgIn)
        {
            this.bcpgIn = bcpgIn;
        }

		/// <summary>Note: you can only read from this once...</summary>
		public BcpgInputStream GetInputStream()
        {
            return bcpgIn;
        }
    }
}