public override IKeyAgreement DiffieHellmanModp14(IExchangeKey privateKey) { if (privateKey != null) { BCryptDiffieHellman.Import(privateKey); } return(DiffieHellmanModp14()); }
public override IKeyAgreement DiffieHellmanModp2(IExchangeKey privateKey) { if (privateKey != null) { return(BCryptDiffieHellman.Import(privateKey)); } return(this.DiffieHellmanModp2()); }