net.handle.security
Class DSAPrivateKeyImpl

java.lang.Object
  extended by net.handle.security.DSAPrivateKeyImpl
All Implemented Interfaces:
java.io.Serializable, java.security.interfaces.DSAKey, java.security.interfaces.DSAPrivateKey, java.security.Key, java.security.PrivateKey

public class DSAPrivateKeyImpl
extends java.lang.Object
implements java.security.interfaces.DSAPrivateKey

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.interfaces.DSAPrivateKey
serialVersionUID
 
Constructor Summary
DSAPrivateKeyImpl(java.math.BigInteger x, java.security.interfaces.DSAParams params)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 java.security.interfaces.DSAParams getParams()
           
 java.math.BigInteger getX()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSAPrivateKeyImpl

public DSAPrivateKeyImpl(java.math.BigInteger x,
                         java.security.interfaces.DSAParams params)
                  throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException
Method Detail

getX

public java.math.BigInteger getX()
Specified by:
getX in interface java.security.interfaces.DSAPrivateKey

getParams

public java.security.interfaces.DSAParams getParams()
Specified by:
getParams in interface java.security.interfaces.DSAKey

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