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

當這個方法傳回時,會包含值,指定是否已套用包裝的訊息加密。

傳回

例外狀況

驗證失敗或尚未執行驗證。

適用於