Package org.bouncycastle.openpgp.api
Interface OpenPGPMessageOutputStream.OutputStreamFactory
- All Known Subinterfaces:
OpenPGPMessageGenerator.ArmoredOutputStreamFactory
- Enclosing class:
OpenPGPMessageOutputStream
public static interface OpenPGPMessageOutputStream.OutputStreamFactory
Factory class for wrapping output streams.
-
Method Summary
Modifier and TypeMethodDescriptionget
(OutputStream base) Wrap the given base stream with anotherOutputStream
and return the result.
-
Method Details
-
get
Wrap the given base stream with anotherOutputStream
and return the result.- Parameters:
base
- base output stream- Returns:
- wrapped output stream
- Throws:
PGPException
- if the wrapping stream cannot be instantiatedIOException
-