org.bouncycastle.openpgp
Class PGPLiteralData
java.lang.Object
org.bouncycastle.openpgp.PGPLiteralData
public class PGPLiteralData
extends java.lang.Object
class for processing literal data objects.
static char | BINARY
|
static String | CONSOLE - The special name indicating a "for your eyes only" packet.
|
static Date | NOW - The special time for a modification time of "now" or
the present time.
|
static char | TEXT
|
InputStream | getDataStream() - Return the input stream representing the data stream
|
String | getFileName() - Return the file name that's associated with the data stream.
|
int | getFormat() - Return the format of the data stream - BINARY or TEXT.
|
InputStream | getInputStream() - Return the raw input stream for the data stream.
|
Date | getModificationTime() - Return the modification time for the file.
|
BINARY
public static final char BINARY
CONSOLE
public static final String CONSOLE
The special name indicating a "for your eyes only" packet.
NOW
public static final Date NOW
The special time for a modification time of "now" or
the present time.
TEXT
public static final char TEXT
PGPLiteralData
public PGPLiteralData(BCPGInputStream pIn)
throws IOException
getDataStream
public InputStream getDataStream()
Return the input stream representing the data stream
- InputStream
getFileName
public String getFileName()
Return the file name that's associated with the data stream.
- String
getFormat
public int getFormat()
Return the format of the data stream - BINARY or TEXT.
- int
getInputStream
public InputStream getInputStream()
Return the raw input stream for the data stream.
- InputStream
getModificationTime
public Date getModificationTime()
Return the modification time for the file.
- the modification time.