May 1998
Intermediate to advanced
469 pages
14h 57m
English
Class javax.crypto.spec.DHPrivateKeySpec
This class represents a key specification for Diffie-Hellman private keys. It can be used with a key factory to import and export Diffie-Hellman keys.
public class javax.crypto.spec.DHPrivateKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec {
// Constructors
public DHPrivateKeySpec(BigInteger, BigInteger, BigInteger);
public DHPrivateKeySpec(BigInteger, BigInteger, BigInteger, int);
// Instance Methods
public BigInteger getG();
public int getL();
public BigInteger getP();
public BigInteger getX();
}
DHParameterSpec, DHPublicKeySpec, KeySpec