C# 클래스 Granados.PKI.EllipticCurveF2m

Elliptic curve domain parameters over F2^m
상속: EllipticCurve
파일 보기 프로젝트 열기: poderosaproject/poderosa

공개 프로퍼티들

프로퍼티 타입 설명
Exp int[]
G ECPoint
a byte[]
b byte[]
h Granados.Mono.Math.BigInteger
m int
n Granados.Mono.Math.BigInteger

공개 메소드들

메소드 설명
BasePointMul ( BigInteger k ) : ECPoint

Calculate multiplication of G

EllipticCurveF2m ( PublicKeyAlgorithm algorithm, string curveName, int m, int exp, byte a, byte b, ECPoint G, BigInteger n, BigInteger h ) : Granados.Crypto

Constructor

ValidatePoint ( BigInteger x, BigInteger y ) : bool

Validate if the point satisfies the equation of the elliptic curve.

메소드 상세

BasePointMul() 공개 메소드

Calculate multiplication of G
public BasePointMul ( BigInteger k ) : ECPoint
k Granados.Mono.Math.BigInteger scalar value for multiplication
리턴 ECPoint

EllipticCurveF2m() 공개 메소드

Constructor
public EllipticCurveF2m ( PublicKeyAlgorithm algorithm, string curveName, int m, int exp, byte a, byte b, ECPoint G, BigInteger n, BigInteger h ) : Granados.Crypto
algorithm PublicKeyAlgorithm public key algorithm which uses this curve
curveName string curve name
m int exponent of 2
exp int exponents of x
a byte curve parameter
b byte curve parameter
G ECPoint base point
n Granados.Mono.Math.BigInteger order n of G
h Granados.Mono.Math.BigInteger cofactor
리턴 Granados.Crypto

ValidatePoint() 공개 메소드

Validate if the point satisfies the equation of the elliptic curve.
public ValidatePoint ( BigInteger x, BigInteger y ) : bool
x Granados.Mono.Math.BigInteger value of X
y Granados.Mono.Math.BigInteger value of Y
리턴 bool

프로퍼티 상세

Exp 공개적으로 프로퍼티

Exponents of x
public int[] Exp
리턴 int[]

G 공개적으로 프로퍼티

Base point
public ECPoint G
리턴 ECPoint

a 공개적으로 프로퍼티

Curve parameter
public byte[] a
리턴 byte[]

b 공개적으로 프로퍼티

Curve parameter
public byte[] b
리턴 byte[]

h 공개적으로 프로퍼티

Cofactor
public BigInteger,Granados.Mono.Math h
리턴 Granados.Mono.Math.BigInteger

m 공개적으로 프로퍼티

Exponent of 2
public int m
리턴 int

n 공개적으로 프로퍼티

Order n of G
public BigInteger,Granados.Mono.Math n
리턴 Granados.Mono.Math.BigInteger