net.jradius.util
Class CHAP
java.lang.Object
net.jradius.util.CHAP
public final class CHAP
- extends Object
CHAP Utils.
- Author:
- David Bird
Constructor Summary |
CHAP()
|
Method Summary |
static byte[] |
chapMD5(byte id,
byte[] Password,
byte[] Challenge)
|
static byte[] |
chapResponse(byte id,
byte[] Password,
byte[] Challenge)
Do CHAP |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHAP
public CHAP()
chapMD5
public static byte[] chapMD5(byte id,
byte[] Password,
byte[] Challenge)
- Parameters:
id
- The packet identifierPassword
- The User's Password value in bytesChallenge
- The 16 byte authentication challenge
- Returns:
- Returns the CHAP-Password
chapResponse
public static byte[] chapResponse(byte id,
byte[] Password,
byte[] Challenge)
- Do CHAP
- Parameters:
id
- The packet identifierPassword
- The User's Password value in bytesChallenge
- The 16 byte authentication challenge
- Returns:
- Returns the CHAP-Password
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.