public class DHPublicKeyImpl
extends java.lang.Object
implements javax.crypto.interfaces.DHPublicKey
| Constructor and Description |
|---|
DHPublicKeyImpl(java.math.BigInteger y,
java.math.BigInteger p,
java.math.BigInteger g) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
java.math.BigInteger |
getG() |
java.math.BigInteger |
getP() |
javax.crypto.spec.DHParameterSpec |
getParams() |
java.math.BigInteger |
getY() |
public DHPublicKeyImpl(java.math.BigInteger y,
java.math.BigInteger p,
java.math.BigInteger g)
public java.math.BigInteger getY()
getY in interface javax.crypto.interfaces.DHPublicKeypublic java.math.BigInteger getP()
public java.math.BigInteger getG()
public javax.crypto.spec.DHParameterSpec getParams()
getParams in interface javax.crypto.interfaces.DHKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Key