Package org.cryptacular.adapter
Class WrappedDSAPrivateKey
java.lang.Object
org.cryptacular.adapter.AbstractWrappedKey<T>
org.cryptacular.adapter.AbstractWrappedDSAKey<org.bouncycastle.crypto.params.DSAPrivateKeyParameters>
org.cryptacular.adapter.WrappedDSAPrivateKey
- All Implemented Interfaces:
Serializable
,DSAKey
,DSAPrivateKey
,Key
,PrivateKey
,Destroyable
public class WrappedDSAPrivateKey
extends AbstractWrappedDSAKey<org.bouncycastle.crypto.params.DSAPrivateKeyParameters>
implements DSAPrivateKey
JCE/JDK DSA private key that wraps the corresponding BC DSA private key type,
DSAPrivateKeyParameters
.- Author:
- Middleware Services
- See Also:
-
Field Summary
Fields inherited from class org.cryptacular.adapter.AbstractWrappedKey
delegate, PKCS8_FORMAT, X509_FORMAT
Fields inherited from interface java.security.interfaces.DSAPrivateKey
serialVersionUID
Fields inherited from interface java.security.Key
serialVersionUID
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedDSAPrivateKey
(org.bouncycastle.crypto.params.DSAPrivateKeyParameters parameters) Creates a new instance that wraps the given BC DSA private key. -
Method Summary
Methods inherited from class org.cryptacular.adapter.AbstractWrappedDSAKey
getAlgorithm, getParams
Methods inherited from class org.cryptacular.adapter.AbstractWrappedKey
getEncoded, getFormat
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
Constructor Details
-
WrappedDSAPrivateKey
public WrappedDSAPrivateKey(org.bouncycastle.crypto.params.DSAPrivateKeyParameters parameters) Creates a new instance that wraps the given BC DSA private key.- Parameters:
parameters
- BC DSA private key.
-
-
Method Details
-
getX
- Specified by:
getX
in interfaceDSAPrivateKey
-