Class ECPrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.ECKeyParameters
org.bouncycastle.crypto.params.ECPrivateKeyParameters
- All Implemented Interfaces:
Destroyable, CipherParameters
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ECKeyParameters
getParametersMethods inherited from class AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
ECPrivateKeyParameters
-
-
Method Details
-
getD
-
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). After destructiongetD()throwsIllegalStateException.- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-