API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. KeyPair View Source
Author(s)
Benjamin Renaud
Since
Version
1.16 05/11/17
Serial
Hierarchy
 Object
      KeyPair
Implements
 Serializable
Subclasses
Description
publicfinal class KeyPair
  This class is a simple holder for a key pair (a public key and a private key).
See also:    PublicKey PrivateKey
Constructors
public KeyPair (PublicKey publicKey, PrivateKey privateKey)
  Constructs a key pair from the given public key and private key.
Methods
Hide/Show inherited methods
public PrivateKey getPrivate ()
  Returns a reference to the private key component of this key pair.
public PublicKey getPublic ()
  Returns a reference to the public key component of this key pair.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar