| Modifier and Type | Field and Description |
|---|---|
| private ASN1Set | |
| private final AtomicBoolean | |
| private int | |
| private boolean | |
| private final byte[] | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AsymmetricXDHPrivateKey(byte[]
the DER encoding of the key. encoding)Construct a key from an encoding of a PrivateKeyInfo. |
| public | AsymmetricXDHPrivateKey(PrivateKeyInfo
the PrivateKeyInfo containing the key. keyInfo)Construct a key from a PrivateKeyInfo. |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public void | |
| public boolean | equals(Object
object to compare to. o)Overrides java. Implements org. |
| public byte[] | getEncoded()
Implements org. |
| public byte[] | |
| public byte[] | |
| public int | hashCode()
Overrides java. Implements org. |
| public boolean | isDestroyed()
Overrides default javax. Object has been destroyed.
|
| protected void |
| attributes | back to summary |
|---|---|
| private ASN1Set attributes | |
| hasBeenDestroyed | back to summary |
|---|---|
| private final AtomicBoolean hasBeenDestroyed | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| hasPublicKey | back to summary |
|---|---|
| private boolean hasPublicKey | |
| keyData | back to summary |
|---|---|
| private final byte[] keyData | |
| publicData | back to summary |
|---|---|
| private byte[] publicData | |
| AsymmetricXDHPrivateKey | back to summary |
|---|---|
| public AsymmetricXDHPrivateKey(Algorithm algorithm, byte[] keyData, byte[] publicData) | |
| AsymmetricXDHPrivateKey | back to summary |
|---|---|
| public AsymmetricXDHPrivateKey(byte[] encoding) throws IOException Construct a key from an encoding of a PrivateKeyInfo.
| |
| AsymmetricXDHPrivateKey | back to summary |
|---|---|
| public AsymmetricXDHPrivateKey(PrivateKeyInfo keyInfo) throws IOException Construct a key from a 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. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements org. Doc from org. Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
| |
| getPublicData | back to summary |
|---|---|
| public byte[] getPublicData() | |
| getSecret | back to summary |
|---|---|
| public byte[] getSecret() | |
| 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
| |
| zeroize | back to summary |
|---|---|
| protected void zeroize() Overrides org. | |