Edit

Share via


NegotiateAuthentication.UnwrapInPlace Method

Definition

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

public:
 System::Net::Security::NegotiateAuthenticationStatusCode UnwrapInPlace(Span<System::Byte> input, [Runtime::InteropServices::Out] int % unwrappedOffset, [Runtime::InteropServices::Out] int % unwrappedLength, [Runtime::InteropServices::Out] bool % wasEncrypted);
public System.Net.Security.NegotiateAuthenticationStatusCode UnwrapInPlace (Span<byte> input, out int unwrappedOffset, out int unwrappedLength, out bool wasEncrypted);
member this.UnwrapInPlace : Span<byte> * int * int * bool -> System.Net.Security.NegotiateAuthenticationStatusCode
Public Function UnwrapInPlace (input As Span(Of Byte), ByRef unwrappedOffset As Integer, ByRef unwrappedLength As Integer, ByRef wasEncrypted As Boolean) As NegotiateAuthenticationStatusCode

Parameters

input
Span<Byte>

The input message to be unwrapped. When this method returns, contains the decoded data.

unwrappedOffset
Int32

When this method returns, contains the offset in the input buffer where the unwrapped message was written.

unwrappedLength
Int32

When this method returns, contains the length of the unwrapped message.

wasEncrypted
Boolean

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

Returns

Exceptions

Authentication failed or has not occurred.

Applies to