C# Class STUN.MessageIntegrityAttribute

Inheritance: STUNAttribute
Mostrar archivo Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Public Methods

Method Description
CreateMessageIntegrity ( Byte Key ) : MessageIntegrityAttribute
CreateMessageIntegrityLongTerm ( String Username, String Realm, String Password ) : MessageIntegrityAttribute
CreateMessageIntegrityShortTerm ( String Password ) : MessageIntegrityAttribute
ParseMessageIntegrity ( UInt16 att_length, Byte att_value_with_padding ) : void
UpdateMessageIntegrityValue ( ) : void

Private Methods

Method Description
MessageIntegrityToByteArray ( ) : Byte[]

Method Details

CreateMessageIntegrity() public static method

public static CreateMessageIntegrity ( Byte Key ) : MessageIntegrityAttribute
Key Byte
return MessageIntegrityAttribute

CreateMessageIntegrityLongTerm() public static method

public static CreateMessageIntegrityLongTerm ( String Username, String Realm, String Password ) : MessageIntegrityAttribute
Username String
Realm String
Password String
return MessageIntegrityAttribute

CreateMessageIntegrityShortTerm() public static method

public static CreateMessageIntegrityShortTerm ( String Password ) : MessageIntegrityAttribute
Password String
return MessageIntegrityAttribute

ParseMessageIntegrity() public method

public ParseMessageIntegrity ( UInt16 att_length, Byte att_value_with_padding ) : void
att_length System.UInt16
att_value_with_padding Byte
return void

UpdateMessageIntegrityValue() public method

public UpdateMessageIntegrityValue ( ) : void
return void