Name
DHPublicKeySpec
Synopsis
This
java.security.spec.KeySpec
is a transparent
representation of a Diffie-Hellman public key.
Figure 17-20. javax.crypto.spec.DHPublicKeySpec
public class DHPublicKeySpec implements java.security.spec.KeySpec { // Public Constructors public DHPublicKeySpec(java.math.BigInteger y, java.math.BigInteger p, java.math.BigInteger g); // Public Instance Methods public java.math.BigInteger getG( ); public java.math.BigInteger getP( ); public java.math.BigInteger getY( ); }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.