Public Member Functions | Public Attributes | Static Private Attributes

crypto.NamedPublicKey Class Reference

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

Inheritance diagram for crypto.NamedPublicKey:
Inheritance graph
[legend]
Collaboration diagram for crypto.NamedPublicKey:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NamedPublicKey (PublicKey publicKey, String comment)
 Constructs object.

Public Attributes

PublicKey publicKey
 Encapsulated public key.
String comment
 The description of the public key, e.g.

Static Private Attributes

static final long serialVersionUID = -1173558142358298160L
 Implements java.io.Serializable interface.

Detailed Description

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

Definition at line 11 of file NamedPublicKey.java.


Constructor & Destructor Documentation

crypto.NamedPublicKey.NamedPublicKey ( PublicKey  publicKey,
String  comment 
)

Constructs object.

Definition at line 31 of file NamedPublicKey.java.

References crypto.NamedPublicKey.comment, and crypto.NamedPublicKey.publicKey.

    {
        this.publicKey = publicKey;
        this.comment = comment;
    }

Member Data Documentation

The description of the public key, e.g.

owner, timestamp etc.

Definition at line 26 of file NamedPublicKey.java.

Referenced by crypto.PublicEncryptor.loadAuthorizedPublicKeys(), and crypto.NamedPublicKey.NamedPublicKey().

Encapsulated public key.

Definition at line 21 of file NamedPublicKey.java.

Referenced by crypto.NamedPublicKey.NamedPublicKey().

final long crypto.NamedPublicKey.serialVersionUID = -1173558142358298160L [static, private]

Implements java.io.Serializable interface.

Definition at line 16 of file NamedPublicKey.java.


The documentation for this class was generated from the following file: