h38826 s 00003/00003/00145 d D 1.2 97/12/09 15:25:09 luehe 3 1 c rm ,* e s 00000/00000/00000 d R 1.2 97/10/09 09:58:22 Codemgr 2 1 c SunPro Code Manager data about conflicts, renames, etc... c Name history : 1 0 security/JCE1.2/earlyaccess/javax.crypto.spec.DHPublicKeySpec.html e s 00148/00000/00000 d D 1.1 97/10/09 09:58:21 luehe 1 0 c CodeManager Uniquification: security/JCE1.2/earlyaccess/javax.crypto.spec.DHPublicKeySpec.html c date and time created 97/10/09 09:58:21 by luehe e u U f e 0 t T I 1 D 3 E 3 I 3 E 3 Class javax.crypto.spec.DHPublicKeySpec
D 3
All Packages  Class Hierarchy  This Package  Previous  Next  Index
E 3 I 3 All Packages Class Hierarchy This Package Previous Next Index E 3

Class javax.crypto.spec.DHPublicKeySpec

java.lang.Object
   |
   +----javax.crypto.spec.DHPublicKeySpec

public class DHPublicKeySpec
extends Object
implements KeySpec
This class specifies a Diffie-Hellman public key with its associated parameters.

See Also:
Key, KeyFactory, KeySpec, X509EncodedKeySpec, DHPrivateKeySpec

Constructor Index

 o DHPublicKeySpec(BigInteger, BigInteger, BigInteger)
 o DHPublicKeySpec(BigInteger, BigInteger, BigInteger, int)

Method Index

 o getG()
Returns the base generator g.
 o getL()
Returns the private-value length l.
 o getP()
Returns the prime modulus p.
 o getY()
Returns the public value y.

Constructors

 o DHPublicKeySpec
 public DHPublicKeySpec(BigInteger y,
                        BigInteger p,
                        BigInteger g)
 o DHPublicKeySpec
 public DHPublicKeySpec(BigInteger y,
                        BigInteger p,
                        BigInteger g,
                        int l)

Methods

 o getY
 public BigInteger getY()
Returns the public value y.

Returns:
the public value y
 o getP
 public BigInteger getP()
Returns the prime modulus p.

Returns:
the prime modulus p
 o getG
 public BigInteger getG()
Returns the base generator g.

Returns:
the base generator g
 o getL
 public int getL()
Returns the private-value length l.

Returns:
the private-value length l, or null if l has not been set

D 3
All Packages  Class Hierarchy  This Package  Previous  Next  Index
E 3 I 3 All Packages Class Hierarchy This Package Previous Next Index E 3 E 1