com.jscape.util.keystore
Class PublicKeyRecord

java.lang.Object
  extended by com.jscape.util.keystore.PublicKeyRecord

public final class PublicKeyRecord
extends java.lang.Object

Represents a public key container for encrypting communications and data.


Constructor Summary
PublicKeyRecord(java.security.PublicKey key)
          Creates a new instance.
PublicKeyRecord(java.security.PublicKey key, java.util.Date creationDate)
          Creates a new instance.
 
Method Summary
 java.util.Date getCreationDate()
          Gets creation date.
 java.security.PublicKey getKey()
          Gets public key.
 void setCreationDate(java.util.Date value)
          Sets creation date.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicKeyRecord

public PublicKeyRecord(java.security.PublicKey key,
                       java.util.Date creationDate)
Creates a new instance.

Parameters:
key - a key
creationDate - record creation date

PublicKeyRecord

public PublicKeyRecord(java.security.PublicKey key)
Creates a new instance.

Parameters:
key - a key
Method Detail

getKey

public java.security.PublicKey getKey()
Gets public key.

Returns:
a key

getCreationDate

public java.util.Date getCreationDate()
Gets creation date.

Returns:
record creation date

setCreationDate

public void setCreationDate(java.util.Date value)
Sets creation date.

Parameters:
value - record creation date


Copyright © 2007 JSCAPE Corp. All Rights Reserved.