pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\KEX\DHGroup14SHA1 Class Reference
+ Inheritance diagram for fpoirotte\Pssht\KEX\DHGroup14SHA1:

Static Public Member Functions

static getGenerator ()
 
static getName ()
 Return the name of the algorithm.
 
static getPrime ()
 
- Static Public Member Functions inherited from fpoirotte\Pssht\KEX\DHGroupSHA1Base
static addHandlers (\fpoirotte\Pssht\Transport $transport)
 

Additional Inherited Members

- Public Member Functions inherited from fpoirotte\Pssht\KEX\DHGroupSHA1Base
 hash ($data)
 

Detailed Description

Diffie-Hellman key exchange with SHA-1 as HASH and Oakley Group 14 [RFC3526] (2048-bit MODP Group); REQUIRED in RFC 4253.

Definition at line 19 of file DHGroup14SHA1.php.

Member Function Documentation

static fpoirotte\Pssht\KEX\DHGroup14SHA1::getGenerator ( )
static

Get the generator to use for key exchange.

Return values
intKey exchange generator.

Implements fpoirotte\Pssht\KEX\DHGroupSHA1Interface.

Definition at line 26 of file DHGroup14SHA1.php.

static fpoirotte\Pssht\KEX\DHGroup14SHA1::getPrime ( )
static

Get the prime number to use for key exchange.

Return values
resourceGMP resource with the prime number to use for key exchange.

Implements fpoirotte\Pssht\KEX\DHGroupSHA1Interface.

Definition at line 31 of file DHGroup14SHA1.php.


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