public interface DHStateHybrid extends DHState
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(DHState other,
DHState remote)
Copies the key values from another DH object of the same type.
|
void |
generateKeyPair(DHState remote)
Generates a new random keypair relative to the parameters
in another object.
|
void |
specifyPeer(DHState local)
Specifies the local peer object prior to setting a public key
on a remote object.
|
calculate, clearKey, copyFrom, generateKeyPair, getDHName, getPrivateKey, getPrivateKeyLength, getPublicKey, getPublicKeyLength, getSharedKeyLength, hasPrivateKey, hasPublicKey, isNullPublicKey, setPrivateKey, setPublicKey, setToNullPublicKey
destroy
void generateKeyPair(DHState remote)
remote
- The remote party in this communication to obtain parameters.java.lang.IllegalStateException
- The other or remote DH object does not have
the same type as this object.void copyFrom(DHState other, DHState remote)
other
- The other DH object to copy fromremote
- The remote party in this communication to obtain parameters.java.lang.IllegalStateException
- The other or remote DH object does not have
the same type as this object.void specifyPeer(DHState local)
local
- The local peer object.