| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean | |
| private int | |
| private BigInteger |
| Access | Constructor and Description |
|---|---|
| public | |
| 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. |
| public final Algorithm | Returns: the key's algorithm.Overrides org. Implements org. |
| public final DHDomainParameters | Returns: the Diffie-Hellman domain parameters for this key.Overrides org. |
| public final byte[] | getEncoded()
Implements 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 | |
| AsymmetricDHPrivateKey | back to summary |
|---|---|
| public AsymmetricDHPrivateKey(Algorithm algorithm, DHDomainParameters params, BigInteger x) | |
| AsymmetricDHPrivateKey | back to summary |
|---|---|
| public AsymmetricDHPrivateKey(Algorithm algorithm, byte[] enc) | |
| AsymmetricDHPrivateKey | back to summary |
|---|---|
| public AsymmetricDHPrivateKey(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. | |
| getAlgorithm | back to summary |
|---|---|
| public final Algorithm getAlgorithm() Overrides org. Implements org. Return the algorithm this Diffie-Hellman key is for.
| |
| getDomainParameters | back to summary |
|---|---|
| public final DHDomainParameters getDomainParameters() Overrides org. Return the Diffie-Hellman domain parameters associated with this key.
| |
| 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.
| |
| 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) | |