共用方式為


NegotiateAuthentication.Unwrap 方法

定義

解除包裝由另一方套用簽章或加密的輸入訊息。

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

參數

input
ReadOnlySpan<Byte>

要解除包裝的輸入訊息。

outputWriter
IBufferWriter<Byte>

緩衝區寫入器,其中寫入未包裝的訊息。

wasEncrypted
Boolean

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

傳回

例外狀況

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

適用於