Class DSAPrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.DSAKeyParameters
org.bouncycastle.crypto.params.DSAPrivateKeyParameters
- All Implemented Interfaces:
Destroyable, CipherParameters
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DSAKeyParameters
getParametersMethods inherited from class AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
DSAPrivateKeyParameters
-
-
Method Details
-
getX
-
destroy
public void destroy()Destroy this object, dropping its reference to the private value.As
BigIntegeris immutable the private value cannot be zeroized in place; destruction drops the internal reference so the value becomes unreachable (cleared on garbage collection). The (public) domain parameters are retained. After destructiongetX()throwsIllegalStateException.- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-