Method | Description | |
---|---|---|
ConvertPointToOctetString ( ECPoint point ) : byte[] |
Convert a point to the octet string.
|
|
FindByName ( string name ) : |
Find curve by identifier
|
|
FindByOID ( string oid ) : |
Find curve by OID
|
|
GenerateKeyPair ( ) : |
Generates new key pair.
|
|
GenerateKeyPair ( |
Generates new key pair.
|
|
PointAdd ( ECPoint t1, ECPoint t2, bool infinityToNull ) : ECPoint |
Calculate point addition
|
|
PointMul ( |
Calculate point multiplication
|
|
PointMul ( |
Calculate point multiplication
|
|
ValidatePoint ( |
Validates if the point satisfies the equation of the elliptic curve.
|
|
ValidatePoint ( ECPoint t ) : bool |
Validates if the point satisfies the equation of the elliptic curve.
|
Method | Description | |
---|---|---|
TestKeyPair ( ) : void | ||
TestPKV ( ) : void | ||
TestPointMultiplication ( ) : void | ||
TestSignatureVerification ( ) : void |
public ConvertPointToOctetString ( ECPoint point ) : byte[] | ||
point | ECPoint | point |
return | byte[] |
public static FindByName ( string name ) : |
||
name | string | curve identifier |
return |
public static FindByOID ( string oid ) : |
||
oid | string | |
return |
public GenerateKeyPair ( |
||
rng | random number generator | |
return |
public abstract PointAdd ( ECPoint t1, ECPoint t2, bool infinityToNull ) : ECPoint | ||
t1 | ECPoint | point |
t2 | ECPoint | point |
infinityToNull | bool |
/// if result was point-at-infinity, and this parameter was true,
/// null is returned instead of |
return | ECPoint |
public abstract PointMul ( |
||
k1 | scalar | |
k2 | scalar | |
t | ECPoint | point |
infinityToNull | bool |
/// if result was point-at-infinity, and this parameter was true,
/// null is returned instead of |
return | ECPoint |
public abstract PointMul ( |
||
k | scalar | |
t | ECPoint | point |
infinityToNull | bool |
/// if result was point-at-infinity, and this parameter was true,
/// null is returned instead of |
return | ECPoint |
public abstract ValidatePoint ( |
||
x | value of X | |
y | value of Y | |
return | bool |