For the latest news and information visit
The GNU Crypto project

gnu.crypto.keyring
Class PrimitiveEntry

java.lang.Object
  extended bygnu.crypto.keyring.Entry
      extended bygnu.crypto.keyring.PrimitiveEntry
Direct Known 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  java.util.Date creationDate
          The creation date.
 
Fields inherited from class gnu.crypto.keyring.Entry
payload, properties, type
 
Constructor Summary
protected PrimitiveEntry()
           
protected PrimitiveEntry(int type, java.util.Date creationDate, Properties properties)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getAlias()
          Returns the alias of this primitive entry.
 java.util.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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

creationDate

protected java.util.Date creationDate
The creation date.

Constructor Detail

PrimitiveEntry

protected PrimitiveEntry(int type,
                         java.util.Date creationDate,
                         Properties properties)

PrimitiveEntry

protected PrimitiveEntry()
Method Detail

getAlias

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

Returns:
The alias.

getCreationDate

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

Returns:
The creation date.

equals

public boolean equals(java.lang.Object object)

makeCreationDate

protected final void makeCreationDate()
                               throws MalformedKeyringException
Throws:
MalformedKeyringException

For the latest news and information visit
The GNU Crypto project

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