Share via


NegotiateAuthentication.UnwrapInPlace Méthode

Définition

Désencapsule, sur place, un message d’entrée avec signature ou chiffrement appliqué par l’autre partie.

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

Paramètres

input
Span<Byte>

Message d’entrée à décompresser. Lorsque cette méthode est retournée, contient les données décodées.

unwrappedOffset
Int32

Lorsque cette méthode est retournée, contient le décalage dans la mémoire tampon d’entrée où le message non décapité a été écrit.

unwrappedLength
Int32

Lorsque cette méthode est retournée, contient la longueur du message non décapité.

wasEncrypted
Boolean

Lorsque cette méthode est retournée, contient une valeur qui spécifie si le chiffrement a été appliqué au message encapsulé.

Retours

Exceptions

L'authentification a échoué ou n'a pas été effectuée.

S’applique à