|
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.GOST3410KeyParameters
org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters
| Constructor Summary | |
GOST3410PrivateKeyParameters(java.math.BigInteger x,
GOST3410Parameters 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.GOST3410KeyParameters |
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 GOST3410PrivateKeyParameters(java.math.BigInteger x,
GOST3410Parameters 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 | |||||||||