- key
- the key received from the other party for this phase.
- lastPhase
- set to true if this is the last phase of this key agreement.
Documentation for this section has not yet been entered.
Type Reason Java.Security.InvalidKeyException if the specified key cannot be used in this key agreement or this phase, Java.Lang.IllegalStateException if this instance has not been initialized.
Does the next (or the last) phase of the key agreement, using the specified key.