C# Class Granados.PKI.ECPoint

Elliptic curve point
This class cannot represent a point at infinity.
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Свойство Type Description
X Granados.Mono.Math.BigInteger
Y Granados.Mono.Math.BigInteger

Méthodes publiques

Méthode Description
ECPoint ( BigInteger x, BigInteger y ) : Granados.Crypto
ECPoint ( ECPoint p ) : Granados.Crypto
Parse ( byte data, EllipticCurve ec, ECPoint &p ) : bool

Parses an elliptic curve point.

ParseUncompressed ( byte data ) : ECPoint

Parses an elliptic curve point stored in the uncompressed form.

Note that this method doesn't check consistency or validity of the values.

Private Methods

Méthode Description
IsZero ( byte data ) : bool

Method Details

ECPoint() public méthode

public ECPoint ( BigInteger x, BigInteger y ) : Granados.Crypto
x Granados.Mono.Math.BigInteger
y Granados.Mono.Math.BigInteger
Résultat Granados.Crypto

ECPoint() public méthode

public ECPoint ( ECPoint p ) : Granados.Crypto
p ECPoint
Résultat Granados.Crypto

Parse() public static méthode

Parses an elliptic curve point.
public static Parse ( byte data, EllipticCurve ec, ECPoint &p ) : bool
data byte octet data
ec EllipticCurve elliptic curve domain parameters
p ECPoint an elliptic curve point object
Résultat bool

ParseUncompressed() public static méthode

Parses an elliptic curve point stored in the uncompressed form.
Note that this method doesn't check consistency or validity of the values.
public static ParseUncompressed ( byte data ) : ECPoint
data byte octet data
Résultat ECPoint

Property Details

X public_oe property

public BigInteger,Granados.Mono.Math X
Résultat Granados.Mono.Math.BigInteger

Y public_oe property

public BigInteger,Granados.Mono.Math Y
Résultat Granados.Mono.Math.BigInteger