C# Class Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client

显示文件 Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Protected Properties

Property Type Description
B Org.BouncyCastle.Math.BigInteger
S Org.BouncyCastle.Math.BigInteger
privA Org.BouncyCastle.Math.BigInteger
pubA Org.BouncyCastle.Math.BigInteger
random Org.BouncyCastle.Security.SecureRandom
u Org.BouncyCastle.Math.BigInteger
x Org.BouncyCastle.Math.BigInteger

Public Methods

Method Description
CalculateSecret ( IDigest digest, BigInteger serverB ) : BigInteger
GenerateClientCredentials ( IDigest digest, byte salt, byte identity, byte password ) : BigInteger
Srp6Client ( SrpConstants param ) : GSF.Security

Protected Methods

Method Description
SelectPrivateValue ( ) : BigInteger

Private Methods

Method Description
CalculateS ( ) : BigInteger

Method Details

CalculateSecret() public method

public CalculateSecret ( IDigest digest, BigInteger serverB ) : BigInteger
digest IDigest
serverB Org.BouncyCastle.Math.BigInteger
return Org.BouncyCastle.Math.BigInteger

GenerateClientCredentials() public method

public GenerateClientCredentials ( IDigest digest, byte salt, byte identity, byte password ) : BigInteger
digest IDigest
salt byte
identity byte
password byte
return Org.BouncyCastle.Math.BigInteger

SelectPrivateValue() protected method

protected SelectPrivateValue ( ) : BigInteger
return Org.BouncyCastle.Math.BigInteger

Srp6Client() public method

public Srp6Client ( SrpConstants param ) : GSF.Security
param SrpConstants
return GSF.Security

Property Details

B protected_oe property

protected BigInteger,Org.BouncyCastle.Math B
return Org.BouncyCastle.Math.BigInteger

S protected_oe property

protected BigInteger,Org.BouncyCastle.Math S
return Org.BouncyCastle.Math.BigInteger

privA protected_oe property

protected BigInteger,Org.BouncyCastle.Math privA
return Org.BouncyCastle.Math.BigInteger

pubA protected_oe property

protected BigInteger,Org.BouncyCastle.Math pubA
return Org.BouncyCastle.Math.BigInteger

random protected_oe property

protected SecureRandom,Org.BouncyCastle.Security random
return Org.BouncyCastle.Security.SecureRandom

u protected_oe property

protected BigInteger,Org.BouncyCastle.Math u
return Org.BouncyCastle.Math.BigInteger

x protected_oe property

protected BigInteger,Org.BouncyCastle.Math x
return Org.BouncyCastle.Math.BigInteger