01: package org.bouncycastle.bcpg;
02:
03: import java.io.IOException;
04:
05: public abstract class OutputStreamPacket {
06: protected BCPGOutputStream out;
07:
08: public OutputStreamPacket(BCPGOutputStream out) {
09: this .out = out;
10: }
11:
12: public abstract BCPGOutputStream open() throws IOException;
13:
14: public abstract void close() throws IOException;
15: }
|