NegotiateAuthentication.VerifyIntegrityCheck Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Verifies the message integrity check of a given message.
public:
bool VerifyIntegrityCheck(ReadOnlySpan<System::Byte> message, ReadOnlySpan<System::Byte> signature);
public bool VerifyIntegrityCheck(ReadOnlySpan<byte> message, ReadOnlySpan<byte> signature);
member this.VerifyIntegrityCheck : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Function VerifyIntegrityCheck (message As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte)) As Boolean
- message
- ReadOnlySpan<Byte>
Input message for MIC calculation.
- signature
- ReadOnlySpan<Byte>
MIC to be verified.
true
if the MIC is successfully verified, otherwise false
.
Authentication failed or has not occurred.
Implements the GSSAPI VerifyMIC operation.
The method modifies the internal state and may update sequence numbers depending on the selected algorithm. Two successive invocations thus don't produce the same result and it's important to carefully pair GetMIC and VerifyMIC calls on the both sides of the authenticated session.
Product | Versions |
---|---|
.NET | 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: