Public Member Functions | Public Attributes | Static Private Attributes

crypto.NamedKeyPair Class Reference

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

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

List of all members.

Public Member Functions

 NamedKeyPair (PublicKey publicKey, PrivateKey privateKey, String comment)
 Constructs object.

Public Attributes

PublicKey publicKey
 The public key.
PrivateKey privateKey
 The private key.
String comment
 The description of the public key, e.g.

Static Private Attributes

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

Detailed Description

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

Definition at line 12 of file NamedKeyPair.java.


Constructor & Destructor Documentation

crypto.NamedKeyPair.NamedKeyPair ( PublicKey  publicKey,
PrivateKey  privateKey,
String  comment 
)

Constructs object.

Definition at line 37 of file NamedKeyPair.java.

References crypto.NamedKeyPair.comment, crypto.NamedKeyPair.privateKey, and crypto.NamedKeyPair.publicKey.

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

Member Data Documentation

The description of the public key, e.g.

owner, timestamp etc.

Definition at line 32 of file NamedKeyPair.java.

Referenced by crypto.AsymmetricCipher.loadSavedKeyPair(), and crypto.NamedKeyPair.NamedKeyPair().

The private key.

Definition at line 27 of file NamedKeyPair.java.

Referenced by crypto.AsymmetricCipher.loadSavedKeyPair(), and crypto.NamedKeyPair.NamedKeyPair().

The public key.

Definition at line 22 of file NamedKeyPair.java.

Referenced by crypto.AsymmetricCipher.loadSavedKeyPair(), and crypto.NamedKeyPair.NamedKeyPair().

final long crypto.NamedKeyPair.serialVersionUID = -7283024661187692775L [static, private]

Implements java.io.Serializable interface.

Definition at line 17 of file NamedKeyPair.java.


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