| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean | |
| private int | |
| private BigInteger |
| Access | Constructor and Description |
|---|---|
| public | AsymmetricGOST3410PrivateKey(Algorithm algorithm, GOST3410Parameters<GOST3410DomainParameters> params, BigInteger x)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public void | |
| public boolean | equals(Object
object to compare to. o)Overrides java. Implements org. |
| protected void | finalize()
Overrides java. |
| public final Algorithm | Returns: the key's algorithm.Overrides org. Implements org. |
| public final byte[] | getEncoded()
Implements org. |
| public final GOST3410Parameters | Returns: the GOST3410 domain parameters.Overrides org. |
| public BigInteger | |
| public int | hashCode()
Overrides java. Implements org. |
| public boolean | isDestroyed()
Overrides default javax. Object has been destroyed.
|
| private static BigInteger |
| hasBeenDestroyed | back to summary |
|---|---|
| private final AtomicBoolean hasBeenDestroyed | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| x | back to summary |
|---|---|
| private BigInteger x | |
| AsymmetricGOST3410PrivateKey | back to summary |
|---|---|
| public AsymmetricGOST3410PrivateKey(Algorithm algorithm, GOST3410Parameters<GOST3410DomainParameters> params, BigInteger x) | |
| AsymmetricGOST3410PrivateKey | back to summary |
|---|---|
| public AsymmetricGOST3410PrivateKey(Algorithm algorithm, byte[] enc) | |
| AsymmetricGOST3410PrivateKey | back to summary |
|---|---|
| public AsymmetricGOST3410PrivateKey(Algorithm algorithm, PrivateKeyInfo privateKeyInfo) | |
| calculateHashCode | back to summary |
|---|---|
| private int calculateHashCode() | |
| destroy | back to summary |
|---|---|
| public void destroy() Overrides default javax. Doc from javax. Destroy this Sensitive information associated with this | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements org. Doc from org. Return true if o is an equivalent key to this. | |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| getAlgorithm | back to summary |
|---|---|
| public final Algorithm getAlgorithm() Overrides org. Implements org. Return the algorithm this GOST R 34.10 key is for.
| |
| getEncoded | back to summary |
|---|---|
| public final byte[] getEncoded() Implements org. Doc from org. Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
| |
| getParameters | back to summary |
|---|---|
| public final GOST3410Parameters Overrides org. Return the domain parameters associated with this key.These will either be for GOST R 34.10-1994 or GOST R 34.10-2001 depending on the key type.
| |
| getX | back to summary |
|---|---|
| public BigInteger getX() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements org. Doc from org. Return the hashCode for the key.
| |
| isDestroyed | back to summary |
|---|---|
| public boolean isDestroyed() Overrides default javax. Doc from javax. Determine if this
| |
| parsePrivateKey | back to summary |
|---|---|
| private static BigInteger parsePrivateKey(PrivateKeyInfo info) | |