gnu.crypto.keyring
Class PrivateKeyEntry
public final class PrivateKeyEntry
An immutable class representing a private or secret key entry.
TYPE
public static final int TYPE
PrivateKeyEntry
public PrivateKeyEntry(Key key,
Date creationDate,
Properties properties)
Creates a new key entry.
key
- The key.creationDate
- The entry creation date.properties
- The entry properties.
decode
public static PrivateKeyEntry decode(DataInputStream in)
throws IOException
encodePayload
protected void encodePayload()
throws IOException
This method is called of subclasses when the payload data needs to be
created.
- encodePayload in interface Entry
getKey
public Key getKey()
Returns this entry's key.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.