Both Apple's original kerberos project and the popular PyKerberos fork both implement this function. It would be trivial to implement in WinKerberos. DecryptMessage provides this information in the pfQOP out parameter. The implementation can be, essentially:
Both Apple's original kerberos project and the popular PyKerberos fork both implement this function. It would be trivial to implement in WinKerberos. DecryptMessage provides this information in the pfQOP out parameter. The implementation can be, essentially:
return pfQOP != SECQOP_WRAP_NO_ENCRYPT
References: https://github.com/apple/ccs-pykerberos/blob/PyKerberos-1.2.5/pysrc/kerberos.py#L222 https://github.com/02strich/pykerberos/blob/v1.1.9/pysrc/kerberos.py#L148 https://msdn.microsoft.com/en-us/library/windows/desktop/aa375215(v=vs.85).aspx