May 1998
Intermediate to advanced
469 pages
14h 57m
English
Class java.security.KeyPair
Public and private keys are mathematically related to each other and hence are generated together; this class provides an encapsulation of both the keys as a convenience to key generation.
public final class java.security.KeyPair
extends java.lang.Object {
// Constructors
public KeyPair(PublicKey, PrivateKey);
// Instance Methods
public PrivateKey getPrivate();
public PublicKey getPublic();
}
KeyPairGenerator, PrivateKey, PublicKey