ice.crypto
Class DHPrivateKey

java.lang.Object
  extended byice.crypto.DHPrivateKey
All Implemented Interfaces:
Key, PrivateKey, Serializable

public class DHPrivateKey
extends Object
implements PrivateKey

compliant to JCE1.2's interface java.security.interface.DHPrivateKey

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.PrivateKey
serialVersionUID
 
Constructor Summary
DHPrivateKey(BigInteger y, DHParameterSpec parameters)
           
 
Method Summary
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 DHParameterSpec getParams()
           
 BigInteger getX()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHPrivateKey

public DHPrivateKey(BigInteger y,
                    DHParameterSpec parameters)
Method Detail

getX

public BigInteger getX()

getParams

public DHParameterSpec getParams()

getAlgorithm

public String getAlgorithm()
Specified by:
getAlgorithm in interface Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface Key

getFormat

public String getFormat()
Specified by:
getFormat in interface Key