net.handle.security
Class DHPublicKeyImpl
java.lang.Object
net.handle.security.DHPublicKeyImpl
- All Implemented Interfaces:
- java.io.Serializable, java.security.Key, java.security.PublicKey, javax.crypto.interfaces.DHKey, javax.crypto.interfaces.DHPublicKey
public class DHPublicKeyImpl
- extends java.lang.Object
- implements javax.crypto.interfaces.DHPublicKey
- See Also:
- Serialized Form
Fields inherited from interface javax.crypto.interfaces.DHPublicKey |
serialVersionUID |
Constructor Summary |
DHPublicKeyImpl(java.math.BigInteger y,
java.math.BigInteger p,
java.math.BigInteger g)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHPublicKeyImpl
public DHPublicKeyImpl(java.math.BigInteger y,
java.math.BigInteger p,
java.math.BigInteger g)
getY
public java.math.BigInteger getY()
- Specified by:
getY
in interface javax.crypto.interfaces.DHPublicKey
getP
public java.math.BigInteger getP()
getG
public java.math.BigInteger getG()
getParams
public javax.crypto.spec.DHParameterSpec getParams()
- Specified by:
getParams
in interface javax.crypto.interfaces.DHKey
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interface java.security.Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface java.security.Key