Inherits NobleConnect.Stun.ShortTermCredentials.
Public Member Functions | |
IceCredentials (string username, string password) | |
override bool | ValidateMessageCredentials (Message m) |
![]() | |
ShortTermCredentials (string username, string password) | |
override void | CalculateHashKey () |
The hashKey is a UTF-8 encoding of the password More... | |
override bool | IsValid () |
override bool | ValidateMessageCredentials (Message m) |
override bool | ValidateMessageIntegrity (Message m, byte[] rawBytes) |
override void | AddCredentialsToAttributes (List< Attribute > attributes) |
![]() | |
virtual bool | ValidateMessage (Message m, byte[] rawBytes) |
virtual AttributeRaw | GenerateMessageIntegrityAttribute (MessageHeader header, List< Attribute > attributes) |
byte[] | ComputeHash (BufferView bytesSoFar) |
Use HMACSHA1 along with the hash key and buffer data to generate the message integrity hash More... | |
byte[] | ComputeHash (byte[] messageBytes, int offset=0, int length=-1) |
Use HMACSHA1 along with the hash key and buffer data to generate the message integrity hash More... | |
Additional Inherited Members | |
![]() | |
string | password |
The password is set via configuratio on the Stun server and clients More... | |
![]() | |
AttributeString | username |
The username is set via configuration on the Stun server and clients More... | |
![]() | |
byte[] | hashKey |
This is used as the key to an HMACSHA1 hash of the message contents that is sent as the Value of a MessageIntegrity attribute. More... | |
NobleConnect.Ice.IceCredentials.IceCredentials | ( | string | username, |
string | password | ||
) |
|
virtual |
Implements NobleConnect.Stun.Credentials.