| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private byte[] | |
| protected KeyAgreement |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract byte[] | Returns: The calculated public key dataLazy-called by |
| protected abstract byte[] | Returns: The shared secret dataLazy-called by |
| protected void | checkKeyAgreementNecessity()
Called after either public or private parts have been calculated in order to check if the key-agreement mediator is still required. |
| public byte[] | |
| public abstract Digest | |
| public byte[] | |
| public KeyEncapsulationMethod | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public abstract void | |
| public static byte[] | Returns: An (possibly) sub-array guaranteed to start with a non-zero byteThe original array x)The shared secret returned by |
| public String |
| e_array | back to summary |
|---|---|
| private byte[] e_array | |
| k_array | back to summary |
|---|---|
| private byte[] k_array | |
| myKeyAgree | back to summary |
|---|---|
| protected KeyAgreement myKeyAgree | |
| AbstractDH | back to summary |
|---|---|
| protected AbstractDH() | |
| calculateE | back to summary |
|---|---|
| protected abstract byte[] calculateE() throws Exception Lazy-called by
| |
| calculateK | back to summary |
|---|---|
| protected abstract byte[] calculateK() throws Exception Lazy-called by
| |
| checkKeyAgreementNecessity | back to summary |
|---|---|
| protected void checkKeyAgreementNecessity() Called after either public or private parts have been calculated in order to check if the key-agreement mediator is still required. By default, if both public and private parts have been calculated then key-agreement mediator is null-ified to enable GC for it. | |
| getE | back to summary |
|---|---|
public byte[] getE() throws Exception
| |
| getHash | back to summary |
|---|---|
| public abstract Digest getHash() throws Exception | |
| getK | back to summary |
|---|---|
public byte[] getK() throws Exception
| |
| getKeyEncapsulation | back to summary |
|---|---|
| public KeyEncapsulationMethod getKeyEncapsulation() | |
| isPublicDataAvailable | back to summary |
|---|---|
| public boolean isPublicDataAvailable() | |
| isSharedSecretAvailable | back to summary |
|---|---|
| public boolean isSharedSecretAvailable() | |
| putE | back to summary |
|---|---|
| public void putE(Buffer buffer, byte[] e) | |
| putF | back to summary |
|---|---|
| public void putF(Buffer buffer, byte[] f) | |
| setF | back to summary |
|---|---|
| public abstract void setF(byte[] f) | |
| stripLeadingZeroes | back to summary |
|---|---|
| public static byte[] stripLeadingZeroes(byte[] x) The shared secret returned by
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |