Example usage for Java org.bouncycastle.openpgp PGPLiteralDataGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
char | BINARY Format tag for binary literal data |
char | TEXT Format tag for textual literal data |
char | UTF8 Format tag for UTF-8 encoded textual literal data |
PGPLiteralDataGenerator() Constructs a generator for literal data objects. | |
PGPLiteralDataGenerator(boolean oldFormat) Constructs a generator for literal data objects, specifying to use new or old (PGP 2.6.x compatible) format. |
void | close() Close the literal data packet - this is equivalent to calling close on the stream returned by the open() method. |
OutputStream | open(OutputStream out, char format, String name, long length, Date modificationTime) Open a literal data packet, returning a stream to store the data inside the packet. |
OutputStream | open(OutputStream out, char format, String name, Date modificationTime, byte[] buffer) Open a literal data packet, returning a stream to store the data inside the packet as an indefinite-length stream. |
OutputStream | open(OutputStream out, char format, File file) Open a literal data packet for the passed in File object, returning an output stream for saving the file contents. |