Moodle  2.2.1
http://www.collinsharper.com
Crypt_CHAP Class Reference
Inheritance diagram for Crypt_CHAP:
Collaboration diagram for Crypt_CHAP:

Public Member Functions

 Crypt_CHAP ()
 generateChallenge ($varname= 'challenge', $size=8)
 challengeResponse ()

Data Fields

 $challenge = null
 $response = null
 $password = null
 $chapid = 1

Detailed Description

Definition at line 56 of file CHAP.php.


Member Function Documentation

Generates the response. Overwrite this.

Returns:
void

Reimplemented in Crypt_CHAP_MSv2, Crypt_CHAP_MSv1, and Crypt_CHAP_MD5.

Definition at line 116 of file CHAP.php.

Constructor

Generates a random challenge

Returns:
void

Definition at line 88 of file CHAP.php.

Here is the call graph for this function:

Here is the caller graph for this function:

generateChallenge ( varname = 'challenge',
size = 8 
)

Generates a random binary challenge

Parameters:
string$varnameName of the property
integer$sizeSize of the challenge in Bytes
Returns:
void

Definition at line 101 of file CHAP.php.

Here is the caller graph for this function:


Field Documentation

$challenge = null

Definition at line 62 of file CHAP.php.

$chapid = 1

Definition at line 80 of file CHAP.php.

$password = null

Definition at line 74 of file CHAP.php.

$response = null

Definition at line 68 of file CHAP.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations