NegotiateAuthentication.UnwrapInPlace メソッド

定義

他のユーザーによって適用された署名または暗号化を含む入力メッセージを、その場でラップ解除します。

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

パラメーター

input
Span<Byte>

ラップ解除する入力メッセージ。 このメソッドが返されると、デコードされたデータが格納されます。

unwrappedOffset
Int32

このメソッドが戻るとき、 には、ラップされていないメッセージが書き込まれた入力バッファー内のオフセットが格納されます。

unwrappedLength
Int32

このメソッドが戻るとき、 にはラップされていないメッセージの長さが含まれます。

wasEncrypted
Boolean

このメソッドが返されるときに、 には、ラップされたメッセージに暗号化が適用されたかどうかを指定する値が含まれます。

戻り値

例外

認証に失敗したか、認証が行われていません。

適用対象