Interface IEcdhContextBuilder
interface IEcdhContextBuilder
Extends com.amazon.apmf.IStandard
Interface for building ECDH key exchange contexts.
Methods
curve()
Set the elliptic curve to use for key exchange.IEcdhContextBuilder*curve(IEccCurve*curve)
Parameters
curve
IEccCurve* — Required
The elliptic curve to use for key exchange.
Returns
IEcdhContextBuilder*
The ECDH context builder object.
buildKeyExchangeContext()
Build a context for performing key exchange.IEcdhKeyExchangeContext*buildKeyExchangeContext(IPrivateKey*privateKey)
Parameters
privateKey
IPrivateKey* — Required
The private key to use for key exchange.
Returns
IEcdhKeyExchangeContext*
The ECDH key exchange context object.

