ReadonlyacceptAccept message length in bytes
ReadonlyofferOffer message length in bytes
ReadonlysavedSaved state length in bytes *
ReadonlysharedShared key length in bytes *
Serializes secret offering party state into byte array.
This function should be called after offer() if the offering party cannot keep KeyAgreement instance in memory. When it receives accept message, it can create a new instance and call restoreState() on it with the serialized state to recover to continue the agreement.
Package keyagreement provides interface for key agreement.