C# 클래스 Granados.PKI.ECPoint

Elliptic curve point
This class cannot represent a point at infinity.
파일 보기 프로젝트 열기: poderosaproject/poderosa 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
X Granados.Mono.Math.BigInteger
Y Granados.Mono.Math.BigInteger

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
IsZero ( byte data ) : bool

메소드 상세

ECPoint() 공개 메소드

public ECPoint ( BigInteger x, BigInteger y ) : Granados.Crypto
x Granados.Mono.Math.BigInteger
y Granados.Mono.Math.BigInteger
리턴 Granados.Crypto

ECPoint() 공개 메소드

public ECPoint ( ECPoint p ) : Granados.Crypto
p ECPoint
리턴 Granados.Crypto

Parse() 공개 정적인 메소드

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
리턴 bool

ParseUncompressed() 공개 정적인 메소드

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
리턴 ECPoint

프로퍼티 상세

X 공개적으로 프로퍼티

public BigInteger,Granados.Mono.Math X
리턴 Granados.Mono.Math.BigInteger

Y 공개적으로 프로퍼티

public BigInteger,Granados.Mono.Math Y
리턴 Granados.Mono.Math.BigInteger