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.
-
ident
-
-
DHPubKey(BigInteger, BigInteger, BigInteger)
-
-
DHPubKey(BigInteger, BigInteger, BigInteger, int)
-
-
getAlgorithm()
- return the algorithm for this key.
-
getEncoded()
- return an encoded representation for this key.
-
getFormat()
- return the format this key is in.
-
getParams()
- Returns the key parameters.
-
getY()
- Returns the public value, y.
ident
public static final String ident
DHPubKey
protected DHPubKey(BigInteger y,
BigInteger p,
BigInteger g)
DHPubKey
protected DHPubKey(BigInteger y,
BigInteger p,
BigInteger g,
int l)
getY
public BigInteger getY()
- Returns the public value, y.
- Returns:
- the public value, y.
getParams
public DHParameterSpec getParams()
- Returns the key parameters.
- Returns:
- the key parameters.
getAlgorithm
public String getAlgorithm()
- return the algorithm for this key.
getFormat
public String getFormat()
- return the format this key is in.
getEncoded
public byte[] getEncoded()
- return an encoded representation for this key.
All Packages Class Hierarchy This Package Previous Next Index