PPAP integration

This commit is contained in:
2026-07-16 19:36:30 +03:00
parent ba64a0c95a
commit 4cd9f928ff
36 changed files with 6586 additions and 656 deletions
+16
View File
@@ -82,6 +82,22 @@ public class AuthHandshakeTests
// ---- happy path ------------------------------------------------------------------
[Fact]
public void ProviderAndHandler_UseVersionedPasswordProtocolName()
{
var provider = new PasswordAuthenticationProvider();
var handler = provider.CreateAuthenticationHandler(new AuthenticationContext
{
Direction = AuthenticationDirection.Initiator,
Mode = AuthenticationMode.InitializerIdentity,
Domain = "domain",
HostName = "host",
});
Assert.Equal("password-sha3-v1", provider.DefaultName);
Assert.Equal(provider.DefaultName, handler.Protocol);
}
[Fact]
public void InitializerIdentity_Handshake_Derives_Matching_SessionKeys()
{