2.2.2.2.5 CompareCredentials

The CompareCredentials structure is used to decrypt and compare the provided credentials to determine which fields match and if the credentials are identical.

When populating this field of the NtlmCredIsoRemoteInput structure, the CallId field MUST be set to RemoteCallNtlmCompareCredentials.

 struct
 {
     PMSV1_0_REMOTE_ENCRYPTED_SECRETS LhsCredential;
     PMSV1_0_REMOTE_ENCRYPTED_SECRETS RhsCredential;
 } CompareCredentials;

LhsCredential: A pointer to an MSV1_0_REMOTE_ENCRYPTED_SECRETS structure that contains the first credential to be compared.

RhsCredential: A pointer to an MSV1_0_REMOTE_ENCRYPTED_SECRETS structure that contains the second credential to be compared.

When populating this field of the NtlmCredIsoRemoteOutput structure, the CallId field MUST be set to RemoteCallNtlmCompareCredentials.

 struct
 {
     BOOL AreNtOwfsEqual;
     BOOL AreLmOwfsEqual;
     BOOL AreShaOwfsEqual;
 } CompareCredentials;

AreNtOwfsEqual: A BOOL. If TRUE, indicates that the NTOWF values in the credentials matched. 

AreLmOwfsEqual: A BOOL. If TRUE, indicates that the LMOWF values in the credentials matched.

AreShaOwfsEqual: A BOOL. If TRUE, indicates that the SHAOWF values in the credentials matched.