01: package org.bouncycastle.bcpg;
02:
03: /**
04: *
05: */
06: public class InputStreamPacket extends Packet {
07: private BCPGInputStream in;
08:
09: public InputStreamPacket(BCPGInputStream in) {
10: this .in = in;
11: }
12:
13: /**
14: * Note: you can only read from this once...
15: *
16: * @return the InputStream
17: */
18: public BCPGInputStream getInputStream() {
19: return in;
20: }
21: }
|