pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\ECC\Curve Class Reference

Public Member Functions

 __construct ($name, $p, $a, $b,\fpoirotte\Pssht\ECC\Point $G, $n, $h)
 
 getA ()
 
 getB ()
 
 getCofactor ()
 
 getGenerator ()
 
 getModulus ()
 
 getName ()
 
 getOrder ()
 

Static Public Member Functions

static getCurve ($name)
 
static initialize ()
 

Protected Attributes

 $a
 "a" value from the elliptic curve equation.
 
 $b
 "b" value from the elliptic curve equation.
 
 $G
 Generator point.
 
 $h
 Curve co-factor.
 
 $n
 Curve order.
 
 $name
 Name.
 
 $p
 Modulus.
 

Static Protected Attributes

static $curves = array()
 Array with standard curves.
 

Detailed Description

Representation of an elliptic curve.

Definition at line 17 of file Curve.php.


The documentation for this class was generated from the following file: