프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_authmsg | string | AuthMessage (RFC 5802 [3]). | |
$_hash | string | Hash name. | |
$_iterations | integer | Number of Hi iterations (RFC 5802 [2]). | |
$_nonce | string | Nonce. | |
$_pass | string | Password. | |
$_salt | string | Server salt. | |
$_serversig | string | Calculated server signature value. | |
$_user | string | Username. |
메소드 | 설명 | |
---|---|---|
__construct ( string $user, string $pass, string $hash = 'SHA1' ) | Constructor. | |
getClientFinalMessage ( ) : string | Return the final client message. | |
getClientFirstMessage ( ) : string | Return the initial client message. | |
parseServerFinalMessage ( string $msg ) : boolean | Process the final server message response. | |
parseServerFirstMessage ( string $msg ) : boolean | Process the initial server message response. |
public getClientFinalMessage ( ) : string | ||
리턴 | string | Final client message. |
public getClientFirstMessage ( ) : string | ||
리턴 | string | Initial client message. |
public parseServerFinalMessage ( string $msg ) : boolean | ||
$msg | string | Final server response. |
리턴 | boolean | False if authentication failed. |
public parseServerFirstMessage ( string $msg ) : boolean | ||
$msg | string | Initial server response. |
리턴 | boolean | False if authentication failed at this stage. |
protected int $_iterations | ||
리턴 | integer |