|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrypto.NamedKeyPair
public class NamedKeyPair
Encapsulates a public/private key pair together with some comment (textual description) that describes them like type, owner, time-stamp etc.
Field Summary | |
---|---|
java.lang.String |
comment
The description of the public key, e.g. owner, timestamp etc. |
java.security.PrivateKey |
privateKey
The private key |
java.security.PublicKey |
publicKey
The public key |
private static long |
serialVersionUID
Implements java.io.Serializable interface |
Constructor Summary | |
---|---|
NamedKeyPair(java.security.PublicKey publicKey,
java.security.PrivateKey privateKey,
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 |
---|
private static final long serialVersionUID
public java.security.PublicKey publicKey
public java.security.PrivateKey privateKey
public java.lang.String comment
Constructor Detail |
---|
public NamedKeyPair(java.security.PublicKey publicKey, java.security.PrivateKey privateKey, java.lang.String comment)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |