crypto
Class NamedPublicKey

java.lang.Object
  extended by crypto.NamedPublicKey
All Implemented Interfaces:
java.io.Serializable

public class NamedPublicKey
extends java.lang.Object
implements java.io.Serializable

Encapsulates a public key together with some comment (textual description) that describes it (like type, owner, time-stamp etc.)

See Also:
Serialized Form

Field Summary
 java.lang.String comment
          The description of the public key, e.g. owner, timestamp etc.
 java.security.PublicKey publicKey
          Encapsulated public key
private static long serialVersionUID
          Implements java.io.Serializable interface
 
Constructor Summary
NamedPublicKey(java.security.PublicKey publicKey, java.lang.String comment)
          Constructs object
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Implements java.io.Serializable interface

See Also:
Constant Field Values

publicKey

public java.security.PublicKey publicKey
Encapsulated public key


comment

public java.lang.String comment
The description of the public key, e.g. owner, timestamp etc.

Constructor Detail

NamedPublicKey

public NamedPublicKey(java.security.PublicKey publicKey,
                      java.lang.String comment)
Constructs object