gnu.crypto.keyring

Class PrimitiveEntry

Known Direct Subclasses:
BinaryDataEntry, CertificateEntry, CertPathEntry, PrivateKeyEntry, PublicKeyEntry

public abstract class PrimitiveEntry
extends Entry

A primitive entry is an entry that contains a single cryptographic entity.

Field Summary

protected Date
creationDate
The creation date.

Fields inherited from class gnu.crypto.keyring.Entry

payload, properties, type

Constructor Summary

PrimitiveEntry()
Default constructor for use by subclasses.
PrimitiveEntry(int type, Date creationDate, Properties properties)

Method Summary

boolean
equals(Object object)
String
getAlias()
Returns the alias of this primitive entry.
Date
getCreationDate()
Returns the creation date of this primitive entry.
protected void
makeCreationDate()

Methods inherited from class gnu.crypto.keyring.Entry

defaultDecode, encode, encodePayload, getPayload, getProperties

Field Details

creationDate

protected Date creationDate
The creation date.

Constructor Details

PrimitiveEntry

protected PrimitiveEntry()
Default constructor for use by subclasses.


PrimitiveEntry

protected PrimitiveEntry(int type,
                         Date creationDate,
                         Properties properties)

Method Details

equals

public boolean equals(Object object)


getAlias

public String getAlias()
Returns the alias of this primitive entry.

Returns:
The alias.


getCreationDate

public Date getCreationDate()
Returns the creation date of this primitive entry.

Returns:
The creation date.


makeCreationDate

protected final void makeCreationDate()
            throws MalformedKeyringException


Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.