2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-05-06 11:32:59 +00:00
This commit is contained in:
Ahmed Zamil 2024-04-30 14:09:05 +03:00
parent 3bc9e8c7d0
commit 01669f6679
2 changed files with 11 additions and 13 deletions

View File

@ -10,5 +10,4 @@ namespace Esiur.Net.IIP
Connecting,
Connected
}
}

View File

@ -37,22 +37,21 @@ class IIPAuthPacket : Packet
public enum IIPAuthPacketCommand : byte
{
Action = 0,
Declare,
Acknowledge,
Error,
Declare = 0x1,
Acknowledge = 0x2,
Report = 0x3,
DeclareEncrypted = 0x5,
AcknowledgeEncrypted = 0x6
}
public enum IIPAuthPacketAction : byte
{
// Authenticate
AuthenticateHash,
//Challenge,
//CertificateRequest,
//CertificateReply,
//EstablishRequest,
//EstablishReply
AuthenticateHash = 0x0,
AuthenticatePublicHash = 0x1,
AuthenticatePrivateHash
EstablishRequest,
EstablishReply,
TwoFactorAuthtenticate
NewConnection = 0x20,
ResumeConnection,