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, Connecting,
Connected Connected
} }
} }

View File

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