Table of Contents

Class ECDHBasicAgreement

Namespace
Org.BouncyCastle.Crypto.Agreement
Assembly
BouncyCastle.Cryptography.dll
public class ECDHBasicAgreement : IBasicAgreement
Inheritance
ECDHBasicAgreement
Implements
Derived
Inherited Members

Fields

privKey

protected ECPrivateKeyParameters privKey

Field Value

ECPrivateKeyParameters

Methods

CalculateAgreement(ICipherParameters)

given a public key from a given party calculate the next message in the agreement sequence.

public virtual BigInteger CalculateAgreement(ICipherParameters pubKey)

Parameters

pubKey ICipherParameters

Returns

BigInteger

GetFieldSize()

return the field size for the agreement algorithm in bytes.

public virtual int GetFieldSize()

Returns

int

Init(ICipherParameters)

initialise the agreement engine.

public virtual void Init(ICipherParameters parameters)

Parameters

parameters ICipherParameters