Property | Type | Description | |
---|---|---|---|
Encoding | |||
EndianOrder | System.EndianOrder |
Method | Description | |
---|---|---|
CreateRequestAuthenticator ( string sharedSecret ) : byte[] |
Generates an "Authenticator" value used in a RADIUS request packet sent by the client to server.
|
|
CreateResponseAuthenticator ( string sharedSecret, |
Generates an "Authenticator" value used in a RADIUS response packet sent by the server to client.
|
|
EncryptPassword ( string password, string sharedSecret, byte requestAuthenticator ) : byte[] |
Generates an encrypted password using the RADIUS protocol specification (RFC 2285).
|
|
GenerateBinaryImage ( byte buffer, int startIndex ) : int |
Generates a binary representation of this RadiusPacket object and copies it into the given buffer.
|
|
GetAttributeValue ( AttributeType attributeType ) : byte[] |
Gets the value of the specified attributeType if it is present in the RadiusPacket.
|
|
ParseBinaryImage ( byte buffer, int startIndex, int length ) : int |
Parses RadiusPacket object by parsing the specified buffer containing a binary image.
|
|
RadiusPacket ( ) : System |
Initializes a new instance of the RadiusPacket class.
|
|
RadiusPacket ( PacketType type ) : System |
Initializes a new instance of the RadiusPacket class.
|
|
RadiusPacket ( byte binaryImage, int startIndex, int length ) : System |
Initializes a new instance of the RadiusPacket class.
|
public static CreateRequestAuthenticator ( string sharedSecret ) : byte[] | ||
sharedSecret | string | The shared secret to be used in generating the output. |
return | byte[] |
public static CreateResponseAuthenticator ( string sharedSecret, |
||
sharedSecret | string | The shared secret key. |
requestPacket | RADIUS packet sent from client to server. | |
responsePacket | RADIUS packet sent from server to client. | |
return | byte[] |
public static EncryptPassword ( string password, string sharedSecret, byte requestAuthenticator ) : byte[] | ||
password | string | User's password. |
sharedSecret | string | Shared secret key. |
requestAuthenticator | byte | Request authenticator byte array. |
return | byte[] |
public GenerateBinaryImage ( byte buffer, int startIndex ) : int | ||
buffer | byte | Buffer used to hold generated binary image of the source object. |
startIndex | int | 0-based starting index in the |
return | int |
public GetAttributeValue ( AttributeType attributeType ) : byte[] | ||
attributeType | AttributeType | |
return | byte[] |
public ParseBinaryImage ( byte buffer, int startIndex, int length ) : int | ||
buffer | byte | Buffer containing binary image to parse. |
startIndex | int | 0-based starting index in the |
length | int | Valid number of bytes within |
return | int |
public RadiusPacket ( PacketType type ) : System | ||
type | PacketType | Type of the |
return | System |
public RadiusPacket ( byte binaryImage, int startIndex, int length ) : System | ||
binaryImage | byte | Binary image to be used for initializing |
startIndex | int | 0-based starting index of initialization data in the |
length | int | Valid number of bytes in |
return | System |
public static Encoding,System.Text Encoding | ||
return |