SrpServerAuthenticateAsServer Method
Requests that the provided stream be authenticated.
Namespace: SnapDB.Security.AuthenticationAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public SrpServerSession? AuthenticateAsServer(
Stream stream,
byte[]? additionalChallenge = null
)
Public Function AuthenticateAsServer (
stream As Stream,
Optional additionalChallenge As Byte() = Nothing
) As SrpServerSession
public:
SrpServerSession^ AuthenticateAsServer(
Stream^ stream,
array<unsigned char>^ additionalChallenge = nullptr
)
function AuthenticateAsServer(stream, additionalChallenge);
- stream Stream
- The input stream used for communication.
- additionalChallenge Byte (Optional)
-
Additional data to include in the challenge. If using SSL certificates,
adding the thumbprint to the challenge will allow detecting man in the middle attacks.
SrpServerSessionA
SrpServerSession representing the authenticated server session, or null if authentication fails.