NegotiateAuthentication.UnwrapInPlace Método

Definición

Desencapsula, en su lugar, un mensaje de entrada con firma o cifrado aplicado por la otra parte.

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

Parámetros

input
Span<Byte>

Mensaje de entrada que se va a desencapsular. Cuando este método devuelve , contiene los datos descodificados.

unwrappedOffset
Int32

Cuando este método devuelve, contiene el desplazamiento en el búfer de entrada donde se escribió el mensaje desajustado.

unwrappedLength
Int32

Cuando este método devuelve , contiene la longitud del mensaje desajustado.

wasEncrypted
Boolean

Cuando este método vuelve, contiene un valor que especifica si se aplicó el cifrado del mensaje ajustado.

Devoluciones

Excepciones

Se produjo un error de autenticación o ésta no se produjo.

Se aplica a