SrpServerAuthenticateAsServer Method

Requests that the provided stream be authenticated.

Definition

Namespace: SnapDB.Security.Authentication
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public SrpServerSession? AuthenticateAsServer(
	Stream stream,
	byte[]? additionalChallenge = null
)

Parameters

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.

Return Value

SrpServerSession
A SrpServerSession representing the authenticated server session, or null if authentication fails.

See Also