gnu.crypto.keyring
public class BinaryDataEntry extends PrimitiveEntry
Field Summary | |
---|---|
static int | TYPE |
Constructor Summary | |
---|---|
BinaryDataEntry(String contentType, byte[] data, Date creationDate, Properties properties)
Creates a new binary data entry.
|
Method Summary | |
---|---|
static BinaryDataEntry | decode(DataInputStream in) |
protected void | encodePayload() |
String | getContentType()
Returns the content type of this entry, or null if this
property is not set.
|
byte[] | getData()
Returns this object's data field.
|
Parameters: contentType The content type of this entry. This parameter can
be null
if no content type is needed. data The data. creationDate The creation date. properties This entry's properties.
null
if this
property is not set.
Returns: The content type.
Returns: The data.