C# 클래스 pGina.Plugin.RADIUS.Packet

파일 보기 프로젝트 열기: MutonUfoAI/pgina 1 사용 예제들

공개 메소드들

메소드 설명
Packet ( Code code, byte identifier, byte auth ) : System
Packet ( Code code, byte identifier, string sharedKey ) : System
Packet ( Code code, string sharedKey ) : System
Packet ( byte data ) : System
ToString ( ) : string
VSA_VendorType ( byte val ) : byte
VSA_valueAsString ( byte val ) : string
VSA_vendorID ( byte val ) : int
addAttribute ( AttributeType type, byte value ) : void
addAttribute ( AttributeType type, int value ) : void
addAttribute ( AttributeType type, string value ) : void
containsAttribute ( AttributeType type ) : bool
getByteArrayAttributes ( AttributeType type, byte vsa = null ) : IEnumerable
getFirstByteArrayAttribute ( AttributeType type ) : byte[]
getFirstIntAttribute ( AttributeType type ) : int
getFirstStringAttribute ( AttributeType type ) : string
getIntAttributes ( AttributeType type, byte vsa = null ) : IEnumerable
getStringAttributes ( AttributeType type, byte vsa = null ) : IEnumerable
toBytes ( ) : byte[]
verifyResponseAuthenticator ( byte requestAuthenticator, string sharedKey ) : bool

비공개 메소드들

메소드 설명
PAPPassword ( byte password ) : byte[]
convertToBytes ( ) : byte[]
equalByteArrays ( byte arr1, byte arr2 ) : bool

메소드 상세

Packet() 공개 메소드

public Packet ( Code code, byte identifier, byte auth ) : System
code Code
identifier byte
auth byte
리턴 System

Packet() 공개 메소드

public Packet ( Code code, byte identifier, string sharedKey ) : System
code Code
identifier byte
sharedKey string
리턴 System

Packet() 공개 메소드

public Packet ( Code code, string sharedKey ) : System
code Code
sharedKey string
리턴 System

Packet() 공개 메소드

public Packet ( byte data ) : System
data byte
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

VSA_VendorType() 공개 정적인 메소드

public static VSA_VendorType ( byte val ) : byte
val byte
리턴 byte

VSA_valueAsString() 공개 정적인 메소드

public static VSA_valueAsString ( byte val ) : string
val byte
리턴 string

VSA_vendorID() 공개 정적인 메소드

public static VSA_vendorID ( byte val ) : int
val byte
리턴 int

addAttribute() 공개 메소드

public addAttribute ( AttributeType type, byte value ) : void
type AttributeType
value byte
리턴 void

addAttribute() 공개 메소드

public addAttribute ( AttributeType type, int value ) : void
type AttributeType
value int
리턴 void

addAttribute() 공개 메소드

public addAttribute ( AttributeType type, string value ) : void
type AttributeType
value string
리턴 void

containsAttribute() 공개 메소드

public containsAttribute ( AttributeType type ) : bool
type AttributeType
리턴 bool

getByteArrayAttributes() 공개 메소드

public getByteArrayAttributes ( AttributeType type, byte vsa = null ) : IEnumerable
type AttributeType
vsa byte
리턴 IEnumerable

getFirstByteArrayAttribute() 공개 메소드

public getFirstByteArrayAttribute ( AttributeType type ) : byte[]
type AttributeType
리턴 byte[]

getFirstIntAttribute() 공개 메소드

public getFirstIntAttribute ( AttributeType type ) : int
type AttributeType
리턴 int

getFirstStringAttribute() 공개 메소드

public getFirstStringAttribute ( AttributeType type ) : string
type AttributeType
리턴 string

getIntAttributes() 공개 메소드

public getIntAttributes ( AttributeType type, byte vsa = null ) : IEnumerable
type AttributeType
vsa byte
리턴 IEnumerable

getStringAttributes() 공개 메소드

public getStringAttributes ( AttributeType type, byte vsa = null ) : IEnumerable
type AttributeType
vsa byte
리턴 IEnumerable

toBytes() 공개 메소드

public toBytes ( ) : byte[]
리턴 byte[]

verifyResponseAuthenticator() 공개 메소드

public verifyResponseAuthenticator ( byte requestAuthenticator, string sharedKey ) : bool
requestAuthenticator byte
sharedKey string
리턴 bool