Note
As stated P1363 compatibility mode with ECDH can be preset, and in this case the implementation doesn't have a ECDH compatibility mode (if you want that just use ECDHBasicAgreement and note they both implement BasicAgreement!).
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ECPrivateKeyParameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | calculateAgreement(CipherParameters pubKey)
Implements org. |
| public int | getFieldSize()
Implements org. |
| public void | init(CipherParameters key)
Implements org. |
| key | back to summary |
|---|---|
| pack-priv ECPrivateKeyParameters key | |
| ECDHCBasicAgreement | back to summary |
|---|---|
| public ECDHCBasicAgreement() | |
| calculateAgreement | back to summary |
|---|---|
| public BigInteger calculateAgreement(CipherParameters pubKey) Implements org. Doc from org. given a public key from a given party calculate the next message in the agreement sequence. | |
| getFieldSize | back to summary |
|---|---|
| public int getFieldSize() Implements org. Doc from org. return the field size for the agreement algorithm in bytes. | |
| init | back to summary |
|---|---|
| public void init(CipherParameters key) Implements org. Doc from org. initialise the agreement engine. | |