| Modifier and Type | Field and Description |
|---|---|
| protected AbstractDH | |
| protected byte | |
| protected final DHFactory | |
| protected byte[] | |
| protected int | |
| protected int | |
| private byte[] | |
| protected int | |
| private BigInteger |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected AbstractDH | |
| public final String | |
| protected byte[] | |
| protected BigInteger | |
| public void | init(byte[]
the server identification string v_s, byte[] the client identification string v_c, byte[] the server key initialization packet i_s, byte[] the client key initialization packet i_c)Overrides org. Implements org. Initialize the key exchange algorithm. |
| public static KeyExchangeFactory | |
| public boolean | next(int
the command cmd, Buffer the packet contents positioned after the command buffer)Implements org. Process the next packet |
| protected void | |
| protected void | |
| protected void |
| dh | back to summary |
|---|---|
| protected AbstractDH dh | |
| expected | back to summary |
|---|---|
| protected byte expected | |
| factory | back to summary |
|---|---|
| protected final DHFactory factory | |
| g | back to summary |
|---|---|
| protected byte[] g | |
| max | back to summary |
|---|---|
| protected int max | |
| min | back to summary |
|---|---|
| protected int min | |
| p | back to summary |
|---|---|
| private byte[] p | |
| prf | back to summary |
|---|---|
| protected int prf | |
| pValue | back to summary |
|---|---|
| private BigInteger pValue | |
| DHGEXClient | back to summary |
|---|---|
| protected DHGEXClient(DHFactory factory, Session session) | |
| getDH | back to summary |
|---|---|
| protected AbstractDH getDH(BigInteger p, BigInteger g) throws Exception | |
| getName | back to summary |
|---|---|
| public final String getName() Implements org.
| |
| getP | back to summary |
|---|---|
| protected byte[] getP() | |
| getPValue | back to summary |
|---|---|
| protected BigInteger getPValue() | |
| init | back to summary |
|---|---|
| public void init(byte[] v_s, byte[] v_c, byte[] i_s, byte[] i_c) throws Exception Overrides org. Implements org. Doc from org. Initialize the key exchange algorithm. | |
| newFactory | back to summary |
|---|---|
| public static KeyExchangeFactory newFactory(DHFactory delegate) | |
| next | back to summary |
|---|---|
| public boolean next(int cmd, Buffer buffer) throws Exception Implements org. Doc from org. Process the next packet
| |
| setP | back to summary |
|---|---|
| protected void setP(byte[] p) | |
| validateEValue | back to summary |
|---|---|
| protected void validateEValue() throws Exception | |
| validateFValue | back to summary |
|---|---|
| protected void validateFValue() throws Exception | |