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 -
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, getParamsMethods inherited from class org.cryptacular.adapter.AbstractWrappedKey
getEncoded, getFormatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyedMethods 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:
getXin interfaceDSAPrivateKey
-