SspiContextProvider.GenerateContext Method

Definition

Generates an SSPI outgoing blob given the incoming blob.

protected:
 abstract bool GenerateContext(ReadOnlySpan<System::Byte> incomingBlob, System::Buffers::IBufferWriter<System::Byte> ^ outgoingBlobWriter, Microsoft::Data::SqlClient::SspiAuthenticationParameters ^ authParams);
protected abstract bool GenerateContext(ReadOnlySpan<byte> incomingBlob, System.Buffers.IBufferWriter<byte> outgoingBlobWriter, Microsoft.Data.SqlClient.SspiAuthenticationParameters authParams);
abstract member GenerateContext : ReadOnlySpan<byte> * System.Buffers.IBufferWriter<byte> * Microsoft.Data.SqlClient.SspiAuthenticationParameters -> bool
Protected MustOverride Function GenerateContext (incomingBlob As ReadOnlySpan(Of Byte), outgoingBlobWriter As IBufferWriter(Of Byte), authParams As SspiAuthenticationParameters) As Boolean

Parameters

incomingBlob
ReadOnlySpan<Byte>

Incoming blob

outgoingBlobWriter
IBufferWriter<Byte>

Outgoing blob

authParams
SspiAuthenticationParameters

The authentication parameters associated with this connection.

Returns

true if the context was generated, otherwise false.

Applies to