All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.crypto.provider.DHPubKey

java.lang.Object
   |
   +----au.net.aba.crypto.provider.DHPubKey

public class DHPubKey
extends Object
implements DHPublicKey
a class representing a Diffie-Hellman public key. Note: incomplete.


Variable Index

 o ident

Constructor Index

 o DHPubKey(BigInteger, BigInteger, BigInteger)
 o DHPubKey(BigInteger, BigInteger, BigInteger, int)

Method Index

 o getAlgorithm()
return the algorithm for this key.
 o getEncoded()
return an encoded representation for this key.
 o getFormat()
return the format this key is in.
 o getParams()
Returns the key parameters.
 o getY()
Returns the public value, y.

Variables

 o ident
 public static final String ident

Constructors

 o DHPubKey
 protected DHPubKey(BigInteger y,
                    BigInteger p,
                    BigInteger g)
 o DHPubKey
 protected DHPubKey(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 getParams
 public DHParameterSpec getParams()
Returns the key parameters.

Returns:
the key parameters.
 o getAlgorithm
 public String getAlgorithm()
return the algorithm for this key.

 o getFormat
 public String getFormat()
return the format this key is in.

 o getEncoded
 public byte[] getEncoded()
return an encoded representation for this key.


All Packages  Class Hierarchy  This Package  Previous  Next  Index