Uređivanje

Dijeli putem


NegotiateAuthentication.Unwrap Method

Definition

Unwraps an input message with signature or encryption applied by the other party.

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

Parameters

input
ReadOnlySpan<Byte>

Input message to be unwrapped.

outputWriter
IBufferWriter<Byte>

Buffer writter where the unwrapped message is written.

wasEncrypted
Boolean

When this method returns, contains a value that indicates whether the wrapped message had encryption applied.

Returns

Exceptions

Authentication failed or has not occurred.

Applies to