Table of Contents

Class DHBasicAgreement

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

Methods

CalculateAgreement(ICipherParameters)

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