gnu.crypto.keyring
Class PublicKeyEntry
java.lang.Object
gnu.crypto.keyring.Entry
gnu.crypto.keyring.PrimitiveEntry
gnu.crypto.keyring.PublicKeyEntry
- public final class PublicKeyEntry
- extends PrimitiveEntry
Field Summary |
static int |
TYPE
|
Method Summary |
static PublicKeyEntry |
decode(java.io.DataInputStream in)
|
protected void |
encodePayload()
This method is called of subclasses when the payload data needs to be
created. |
java.security.PublicKey |
getKey()
Returns the public key. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
PublicKeyEntry
public PublicKeyEntry(java.security.PublicKey key,
java.util.Date creationDate,
Properties properties)
decode
public static PublicKeyEntry decode(java.io.DataInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
getKey
public java.security.PublicKey getKey()
- Returns the public key.
- Returns:
- The public key.
encodePayload
protected void encodePayload()
throws java.io.IOException
- Description copied from class:
Entry
- This method is called of subclasses when the payload data needs to be
created.
- Specified by:
encodePayload
in class Entry
- Throws:
java.io.IOException
- If an encoding error occurs.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.