C# Class NBitcoin.BouncyCastle.Math.EC.ECCurve

Base class for an elliptic curve.
ファイルを表示 Open project: Nethereum/Nethereum Class Usage Examples

Protected Properties

Property Type Description
m_a ECFieldElement
m_coord int
m_endomorphism ECEndomorphism
m_field IFiniteField
m_multiplier ECMultiplier
m_order BigInteger

Public Methods

Method Description
Configure ( ) : Config
CreatePoint ( BigInteger x, BigInteger y ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
CreateRawPoint ( ECFieldElement x, ECFieldElement y, ECFieldElement zs, bool withCompression ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
CreateRawPoint ( ECFieldElement x, ECFieldElement y, bool withCompression ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
DecodePoint ( byte encoded ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
Equals ( ECCurve other ) : bool
Equals ( object obj ) : bool
FromBigInteger ( BigInteger x ) : ECFieldElement
GetAllCoordinateSystems ( ) : int[]
GetEndomorphism ( ) : ECEndomorphism
GetHashCode ( ) : int
GetMultiplier ( ) : ECMultiplier
GetPreCompInfo ( NBitcoin.BouncyCastle.Math.EC.ECPoint point, string name ) : PreCompInfo
ImportPoint ( NBitcoin.BouncyCastle.Math.EC.ECPoint p ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
IsValidFieldElement ( BigInteger x ) : bool
NormalizeAll ( NBitcoin.BouncyCastle.Math.EC.ECPoint points ) : void
NormalizeAll ( NBitcoin.BouncyCastle.Math.EC.ECPoint points, int off, int len, ECFieldElement iso ) : void
SetPreCompInfo ( NBitcoin.BouncyCastle.Math.EC.ECPoint point, string name, PreCompInfo preCompInfo ) : void
SupportsCoordinateSystem ( int coord ) : bool
ValidatePoint ( BigInteger x, BigInteger y ) : NBitcoin.BouncyCastle.Math.EC.ECPoint

Protected Methods

Method Description
CheckPoint ( NBitcoin.BouncyCastle.Math.EC.ECPoint point ) : void
CheckPoints ( NBitcoin.BouncyCastle.Math.EC.ECPoint points ) : void
CheckPoints ( NBitcoin.BouncyCastle.Math.EC.ECPoint points, int off, int len ) : void
CloneCurve ( ) : ECCurve
CreateDefaultMultiplier ( ) : ECMultiplier
DecompressPoint ( int yTilde, BigInteger X1 ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
ECCurve ( IFiniteField field ) : System

Private Methods

Method Description
CreatePoint ( BigInteger x, BigInteger y, bool withCompression ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
ValidatePoint ( BigInteger x, BigInteger y, bool withCompression ) : NBitcoin.BouncyCastle.Math.EC.ECPoint

Method Details

CheckPoint() protected method

protected CheckPoint ( NBitcoin.BouncyCastle.Math.EC.ECPoint point ) : void
point NBitcoin.BouncyCastle.Math.EC.ECPoint
return void

CheckPoints() protected method

protected CheckPoints ( NBitcoin.BouncyCastle.Math.EC.ECPoint points ) : void
points NBitcoin.BouncyCastle.Math.EC.ECPoint
return void

CheckPoints() protected method

protected CheckPoints ( NBitcoin.BouncyCastle.Math.EC.ECPoint points, int off, int len ) : void
points NBitcoin.BouncyCastle.Math.EC.ECPoint
off int
len int
return void

CloneCurve() protected abstract method

protected abstract CloneCurve ( ) : ECCurve
return ECCurve

Configure() public method

public Configure ( ) : Config
return Config

CreateDefaultMultiplier() protected method

protected CreateDefaultMultiplier ( ) : ECMultiplier
return ECMultiplier

CreatePoint() public method

public CreatePoint ( BigInteger x, BigInteger y ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
x BigInteger
y BigInteger
return NBitcoin.BouncyCastle.Math.EC.ECPoint

CreateRawPoint() public abstract method

public abstract CreateRawPoint ( ECFieldElement x, ECFieldElement y, ECFieldElement zs, bool withCompression ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
x ECFieldElement
y ECFieldElement
zs ECFieldElement
withCompression bool
return NBitcoin.BouncyCastle.Math.EC.ECPoint

CreateRawPoint() public abstract method

public abstract CreateRawPoint ( ECFieldElement x, ECFieldElement y, bool withCompression ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
x ECFieldElement
y ECFieldElement
withCompression bool
return NBitcoin.BouncyCastle.Math.EC.ECPoint

DecodePoint() public method

public DecodePoint ( byte encoded ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
encoded byte
return NBitcoin.BouncyCastle.Math.EC.ECPoint

DecompressPoint() protected abstract method

protected abstract DecompressPoint ( int yTilde, BigInteger X1 ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
yTilde int
X1 BigInteger
return NBitcoin.BouncyCastle.Math.EC.ECPoint

ECCurve() protected method

protected ECCurve ( IFiniteField field ) : System
field IFiniteField
return System

Equals() public method

public Equals ( ECCurve other ) : bool
other ECCurve
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FromBigInteger() public abstract method

public abstract FromBigInteger ( BigInteger x ) : ECFieldElement
x BigInteger
return ECFieldElement

GetAllCoordinateSystems() public static method

public static GetAllCoordinateSystems ( ) : int[]
return int[]

GetEndomorphism() public method

public GetEndomorphism ( ) : ECEndomorphism
return ECEndomorphism

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetMultiplier() public method

public GetMultiplier ( ) : ECMultiplier
return ECMultiplier

GetPreCompInfo() public method

public GetPreCompInfo ( NBitcoin.BouncyCastle.Math.EC.ECPoint point, string name ) : PreCompInfo
point NBitcoin.BouncyCastle.Math.EC.ECPoint
name string
return PreCompInfo

ImportPoint() public method

public ImportPoint ( NBitcoin.BouncyCastle.Math.EC.ECPoint p ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
p NBitcoin.BouncyCastle.Math.EC.ECPoint
return NBitcoin.BouncyCastle.Math.EC.ECPoint

IsValidFieldElement() public abstract method

public abstract IsValidFieldElement ( BigInteger x ) : bool
x BigInteger
return bool

NormalizeAll() public method

public NormalizeAll ( NBitcoin.BouncyCastle.Math.EC.ECPoint points ) : void
points NBitcoin.BouncyCastle.Math.EC.ECPoint
return void

NormalizeAll() public method

public NormalizeAll ( NBitcoin.BouncyCastle.Math.EC.ECPoint points, int off, int len, ECFieldElement iso ) : void
points NBitcoin.BouncyCastle.Math.EC.ECPoint
off int
len int
iso ECFieldElement
return void

SetPreCompInfo() public method

public SetPreCompInfo ( NBitcoin.BouncyCastle.Math.EC.ECPoint point, string name, PreCompInfo preCompInfo ) : void
point NBitcoin.BouncyCastle.Math.EC.ECPoint
name string
preCompInfo PreCompInfo
return void

SupportsCoordinateSystem() public method

public SupportsCoordinateSystem ( int coord ) : bool
coord int
return bool

ValidatePoint() public method

public ValidatePoint ( BigInteger x, BigInteger y ) : NBitcoin.BouncyCastle.Math.EC.ECPoint
x BigInteger
y BigInteger
return NBitcoin.BouncyCastle.Math.EC.ECPoint

Property Details

m_a protected_oe property

protected ECFieldElement,NBitcoin.BouncyCastle.Math.EC m_a
return ECFieldElement

m_coord protected_oe property

protected int m_coord
return int

m_endomorphism protected_oe property

protected ECEndomorphism m_endomorphism
return ECEndomorphism

m_field protected_oe property

protected IFiniteField m_field
return IFiniteField

m_multiplier protected_oe property

protected ECMultiplier m_multiplier
return ECMultiplier

m_order protected_oe property

protected BigInteger m_order
return BigInteger