Свойство | Type | Description | |
---|---|---|---|
Encoding | |||
EndianOrder | System.EndianOrder |
Méthode | 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. |
Résultat | 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. | |
Résultat | 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. |
Résultat | 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 |
Résultat | int |
public GetAttributeValue ( AttributeType attributeType ) : byte[] | ||
attributeType | AttributeType | |
Résultat | 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 |
Résultat | int |
public RadiusPacket ( PacketType type ) : System | ||
type | PacketType | Type of the |
Résultat | 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 |
Résultat | System |
public static Encoding,System.Text Encoding | ||
Résultat |