NegotiateAuthentication.Unwrap Metoda

Definicja

Odpakowuje komunikat wejściowy z podpisem lub szyfrowaniem zastosowanym przez inną firmę.

public:
 System::Net::Security::NegotiateAuthenticationStatusCode Unwrap(ReadOnlySpan<System::Byte> input, System::Buffers::IBufferWriter<System::Byte> ^ outputWriter, [Runtime::InteropServices::Out] bool % wasEncrypted);
public System.Net.Security.NegotiateAuthenticationStatusCode Unwrap (ReadOnlySpan<byte> input, System.Buffers.IBufferWriter<byte> outputWriter, out bool wasEncrypted);
member this.Unwrap : ReadOnlySpan<byte> * System.Buffers.IBufferWriter<byte> * bool -> System.Net.Security.NegotiateAuthenticationStatusCode
Public Function Unwrap (input As ReadOnlySpan(Of Byte), outputWriter As IBufferWriter(Of Byte), ByRef wasEncrypted As Boolean) As NegotiateAuthenticationStatusCode

Parametry

input
ReadOnlySpan<Byte>

Komunikat wejściowy do rozpasywania.

outputWriter
IBufferWriter<Byte>

Zapis buforu, w którym jest zapisywany niezapisany komunikat.

wasEncrypted
Boolean

Gdy ta metoda zwraca wartość, zawiera wartość wskazującą, czy opakowany komunikat miał zastosowane szyfrowanie.

Zwraca

Wyjątki

Uwierzytelnianie nie powiodło się lub nie wystąpiło.

Dotyczy