public final class CHAP extends Object
| Constructor and Description |
|---|
CHAP() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
chapMD5(byte id,
byte[] Password,
byte[] Challenge) |
static byte[] |
chapResponse(byte id,
byte[] Password,
byte[] Challenge)
Do CHAP
|
public static byte[] chapMD5(byte id,
byte[] Password,
byte[] Challenge)
throws NoSuchAlgorithmException
id - The packet identifierPassword - The User's Password value in bytesChallenge - The 16 byte authentication challengeNoSuchAlgorithmExceptionpublic static byte[] chapResponse(byte id,
byte[] Password,
byte[] Challenge)
throws NoSuchAlgorithmException
id - The packet identifierPassword - The User's Password value in bytesChallenge - The 16 byte authentication challengeNoSuchAlgorithmExceptionCopyright © 2017. All rights reserved.