This commit is contained in:
ahmed committed 2024-04-30 14:09:05 +03:00
1 parent 3bc9e8c7d0
commit 01669f6679
2 files changed
+11 -13

No files matched your search

-1
View File
@@ -10,5 +10,4 @@ namespace Esiur.Net.IIP
Connecting,
Connected
}
}
+11 -12
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,