Generates the shared secret, and places it into the buffer
sharedSecret, beginning at
sharedSecret buffer is too small to hold the
ShortBufferException is thrown.
In this case, this call should be repeated with a larger output buffer.
This method resets this
so that it
can be reused for further key agreements. Unless this key agreement is
reinitialized with one of the
engineInit methods, the same
private information and algorithm parameters will be used for
subsequent key agreements.
|the buffer for the shared secret|
| the offset in |
|if this key agreement has not been completed yet|
|if the given output buffer is too small to hold the secret|