01: /*
02: * Created on Mar 6, 2004
03: *
04: * To change this generated comment go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package org.bouncycastle.openpgp;
08:
09: import java.io.IOException;
10:
11: import org.bouncycastle.bcpg.BCPGInputStream;
12: import org.bouncycastle.bcpg.MarkerPacket;
13:
14: /**
15: * a PGP marker packet - in general these should be ignored other than where
16: * the idea is to preserve the original input stream.
17: */
18: public class PGPMarker {
19: private MarkerPacket p;
20:
21: /**
22: * Default constructor.
23: *
24: * @param in
25: * @throws IOException
26: */
27: public PGPMarker(BCPGInputStream in) throws IOException {
28: p = (MarkerPacket) in.readPacket();
29: }
30: }
|