|
Bouncy Castle Cryptography Library 1.86 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.DSAKeyParameters
org.bouncycastle.crypto.params.DSAPrivateKeyParameters
| Constructor Summary | |
DSAPrivateKeyParameters(java.math.BigInteger x,
DSAParameters params)
|
|
| Method Summary | |
void |
destroy()
Destroy this object, dropping its reference to the private value. |
java.math.BigInteger |
getX()
|
boolean |
isDestroyed()
|
| Methods inherited from class org.bouncycastle.crypto.params.DSAKeyParameters |
getParameters |
| Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter |
isPrivate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DSAPrivateKeyParameters(java.math.BigInteger x,
DSAParameters params)
| Method Detail |
public java.math.BigInteger getX()
public void destroy()
As BigInteger is 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 destruction
getX() throws IllegalStateException.
destroy in interface javax.security.auth.Destroyablepublic boolean isDestroyed()
isDestroyed in interface javax.security.auth.Destroyable
|
Bouncy Castle Cryptography Library 1.86 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||