(No version information available, might be only in CVS)
GSSAPIContext::verifyMic — Verifies a MIC calculated by the remote party
Verifies a MIC calculated by the remote party
Message to verify MIC
MIC
true if the passed MIC is valid for the message and false otherwise.
Example #1 GSSAPIContext::verifyMic() example
<?php
// assume $cgssapi is the initiator of some context
// and $sgssapi is the acceptor of the context
$message = 'foo';
$mic = $cgssapi->getMic($message);
$sgssapi->verifyMic($message, $mic); // will return true if valid
?>