de.flexiprovider.core.dsa.interfaces
Class DSAPrivateKey

java.lang.Object
  |
  +--de.flexiprovider.api.keys.PrivateKey
        |
        +--de.flexiprovider.core.dsa.interfaces.DSAPrivateKey
All Implemented Interfaces:
DSAKey, java.security.interfaces.DSAKey, java.security.interfaces.DSAPrivateKey, Key, java.security.Key, java.security.PrivateKey, java.io.Serializable
Direct Known Subclasses:
DSAPrivateKey

public abstract class DSAPrivateKey
extends PrivateKey
implements DSAKey, java.security.interfaces.DSAPrivateKey

The interface to a DSA private key. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.

See Also:
java.security.Signature, DSAKey, DSAPublicKey, Serialized Form

Fields inherited from interface java.security.interfaces.DSAPrivateKey
serialVersionUID
 
Constructor Summary
DSAPrivateKey()
           
 
Method Summary
 java.security.interfaces.DSAParams getParams()
           
abstract  FlexiBigInt getValueX()
           
 java.math.BigInteger getX()
           
 
Methods inherited from class de.flexiprovider.api.keys.PrivateKey
getAlgParams, getEncoded, getFormat, getKeyData, getOID
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.flexiprovider.core.dsa.interfaces.DSAKey
getParameters
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Constructor Detail

DSAPrivateKey

public DSAPrivateKey()
Method Detail

getX

public final java.math.BigInteger getX()
Specified by:
getX in interface java.security.interfaces.DSAPrivateKey
Returns:
the value x of the private key

getParams

public final java.security.interfaces.DSAParams getParams()
Specified by:
getParams in interface java.security.interfaces.DSAKey
Returns:
the DSA parameters

getValueX

public abstract FlexiBigInt getValueX()
Returns:
the value x of the private key