Top Description Fields Constructors Methods
org.bouncycastle.bcpg

public Class LiteralDataPacket

extends InputStreamPacket
Class Inheritance
Imports
java.io.IOException, org.bouncycastle.util.Arrays, .Strings

Generic literal data packet.

Field Summary

Modifier and TypeField and Description
pack-priv byte[]
pack-priv int
pack-priv long

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
LiteralDataPacket(BCPGInputStream in, boolean newPacketFormat)

Method Summary

Modifier and TypeMethod and Description
public String
getFileName()

Return the file name associated with the data packet.

public int
getFormat()

Return the format tag of the data packet.

public long
getModificationTime()

Return the modification time for the file (milliseconds at second level precision).

public byte[]
getRawFileName()

Return the file name as an uninterpreted byte array.

Inherited from org.bouncycastle.bcpg.InputStreamPacket:
getInputStream

Field Detail

fileNameback to summary
pack-priv byte[] fileName
formatback to summary
pack-priv int format
modDateback to summary
pack-priv long modDate

Constructor Detail

LiteralDataPacketback to summary
pack-priv LiteralDataPacket(BCPGInputStream in) throws IOException
LiteralDataPacketback to summary
pack-priv LiteralDataPacket(BCPGInputStream in, boolean newPacketFormat) throws IOException

Method Detail

getFileNameback to summary
public String getFileName()

Return the file name associated with the data packet.

getFormatback to summary
public int getFormat()

Return the format tag of the data packet.

getModificationTimeback to summary
public long getModificationTime()

Return the modification time for the file (milliseconds at second level precision).

getRawFileNameback to summary
public byte[] getRawFileName()

Return the file name as an uninterpreted byte array.