|
For the latest news and information visit The GNU Crypto project |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.crypto.keyring.Entry
gnu.crypto.keyring.PrimitiveEntry
gnu.crypto.keyring.PublicKeyEntry
public final class PublicKeyEntry
Field Summary | |
---|---|
static int |
TYPE
|
Fields inherited from class gnu.crypto.keyring.PrimitiveEntry |
---|
creationDate |
Fields inherited from class gnu.crypto.keyring.Entry |
---|
payload, properties, type |
Constructor Summary | |
---|---|
PublicKeyEntry(PublicKey key,
Date creationDate,
Properties properties)
|
Method Summary | |
---|---|
static PublicKeyEntry |
decode(DataInputStream in)
|
protected void |
encodePayload()
This method is called of subclasses when the payload data needs to be created. |
PublicKey |
getKey()
Returns the public key. |
Methods inherited from class gnu.crypto.keyring.PrimitiveEntry |
---|
equals, getAlias, getCreationDate, makeCreationDate |
Methods inherited from class gnu.crypto.keyring.Entry |
---|
defaultDecode, encode, getPayload, getProperties |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TYPE
Constructor Detail |
---|
public PublicKeyEntry(PublicKey key, Date creationDate, Properties properties)
Method Detail |
---|
public static PublicKeyEntry decode(DataInputStream in) throws IOException
IOException
public PublicKey getKey()
protected void encodePayload() throws IOException
Entry
encodePayload
in class Entry
IOException
- If an encoding error occurs.
|
For the latest news and information visit The GNU Crypto project |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |