Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sspicon.py 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. # Generated by h2py from c:\microsoft sdk\include\sspi.h
  2. ISSP_LEVEL = 32
  3. ISSP_MODE = 1
  4. def SEC_SUCCESS(Status):
  5. return (Status) >= 0
  6. SECPKG_FLAG_INTEGRITY = 1
  7. SECPKG_FLAG_PRIVACY = 2
  8. SECPKG_FLAG_TOKEN_ONLY = 4
  9. SECPKG_FLAG_DATAGRAM = 8
  10. SECPKG_FLAG_CONNECTION = 16
  11. SECPKG_FLAG_MULTI_REQUIRED = 32
  12. SECPKG_FLAG_CLIENT_ONLY = 64
  13. SECPKG_FLAG_EXTENDED_ERROR = 128
  14. SECPKG_FLAG_IMPERSONATION = 256
  15. SECPKG_FLAG_ACCEPT_WIN32_NAME = 512
  16. SECPKG_FLAG_STREAM = 1024
  17. SECPKG_FLAG_NEGOTIABLE = 2048
  18. SECPKG_FLAG_GSS_COMPATIBLE = 4096
  19. SECPKG_FLAG_LOGON = 8192
  20. SECPKG_FLAG_ASCII_BUFFERS = 16384
  21. SECPKG_FLAG_FRAGMENT = 32768
  22. SECPKG_FLAG_MUTUAL_AUTH = 65536
  23. SECPKG_FLAG_DELEGATION = 131072
  24. SECPKG_FLAG_READONLY_WITH_CHECKSUM = 262144
  25. SECPKG_ID_NONE = 65535
  26. SECBUFFER_VERSION = 0
  27. SECBUFFER_EMPTY = 0
  28. SECBUFFER_DATA = 1
  29. SECBUFFER_TOKEN = 2
  30. SECBUFFER_PKG_PARAMS = 3
  31. SECBUFFER_MISSING = 4
  32. SECBUFFER_EXTRA = 5
  33. SECBUFFER_STREAM_TRAILER = 6
  34. SECBUFFER_STREAM_HEADER = 7
  35. SECBUFFER_NEGOTIATION_INFO = 8
  36. SECBUFFER_PADDING = 9
  37. SECBUFFER_STREAM = 10
  38. SECBUFFER_MECHLIST = 11
  39. SECBUFFER_MECHLIST_SIGNATURE = 12
  40. SECBUFFER_TARGET = 13
  41. SECBUFFER_CHANNEL_BINDINGS = 14
  42. SECBUFFER_ATTRMASK = -268435456
  43. SECBUFFER_READONLY = -2147483648
  44. SECBUFFER_READONLY_WITH_CHECKSUM = 268435456
  45. SECBUFFER_RESERVED = 1610612736
  46. SECURITY_NATIVE_DREP = 16
  47. SECURITY_NETWORK_DREP = 0
  48. SECPKG_CRED_INBOUND = 1
  49. SECPKG_CRED_OUTBOUND = 2
  50. SECPKG_CRED_BOTH = 3
  51. SECPKG_CRED_DEFAULT = 4
  52. SECPKG_CRED_RESERVED = -268435456
  53. ISC_REQ_DELEGATE = 1
  54. ISC_REQ_MUTUAL_AUTH = 2
  55. ISC_REQ_REPLAY_DETECT = 4
  56. ISC_REQ_SEQUENCE_DETECT = 8
  57. ISC_REQ_CONFIDENTIALITY = 16
  58. ISC_REQ_USE_SESSION_KEY = 32
  59. ISC_REQ_PROMPT_FOR_CREDS = 64
  60. ISC_REQ_USE_SUPPLIED_CREDS = 128
  61. ISC_REQ_ALLOCATE_MEMORY = 256
  62. ISC_REQ_USE_DCE_STYLE = 512
  63. ISC_REQ_DATAGRAM = 1024
  64. ISC_REQ_CONNECTION = 2048
  65. ISC_REQ_CALL_LEVEL = 4096
  66. ISC_REQ_FRAGMENT_SUPPLIED = 8192
  67. ISC_REQ_EXTENDED_ERROR = 16384
  68. ISC_REQ_STREAM = 32768
  69. ISC_REQ_INTEGRITY = 65536
  70. ISC_REQ_IDENTIFY = 131072
  71. ISC_REQ_NULL_SESSION = 262144
  72. ISC_REQ_MANUAL_CRED_VALIDATION = 524288
  73. ISC_REQ_RESERVED1 = 1048576
  74. ISC_REQ_FRAGMENT_TO_FIT = 2097152
  75. ISC_REQ_HTTP = 0x10000000
  76. ISC_RET_DELEGATE = 1
  77. ISC_RET_MUTUAL_AUTH = 2
  78. ISC_RET_REPLAY_DETECT = 4
  79. ISC_RET_SEQUENCE_DETECT = 8
  80. ISC_RET_CONFIDENTIALITY = 16
  81. ISC_RET_USE_SESSION_KEY = 32
  82. ISC_RET_USED_COLLECTED_CREDS = 64
  83. ISC_RET_USED_SUPPLIED_CREDS = 128
  84. ISC_RET_ALLOCATED_MEMORY = 256
  85. ISC_RET_USED_DCE_STYLE = 512
  86. ISC_RET_DATAGRAM = 1024
  87. ISC_RET_CONNECTION = 2048
  88. ISC_RET_INTERMEDIATE_RETURN = 4096
  89. ISC_RET_CALL_LEVEL = 8192
  90. ISC_RET_EXTENDED_ERROR = 16384
  91. ISC_RET_STREAM = 32768
  92. ISC_RET_INTEGRITY = 65536
  93. ISC_RET_IDENTIFY = 131072
  94. ISC_RET_NULL_SESSION = 262144
  95. ISC_RET_MANUAL_CRED_VALIDATION = 524288
  96. ISC_RET_RESERVED1 = 1048576
  97. ISC_RET_FRAGMENT_ONLY = 2097152
  98. ASC_REQ_DELEGATE = 1
  99. ASC_REQ_MUTUAL_AUTH = 2
  100. ASC_REQ_REPLAY_DETECT = 4
  101. ASC_REQ_SEQUENCE_DETECT = 8
  102. ASC_REQ_CONFIDENTIALITY = 16
  103. ASC_REQ_USE_SESSION_KEY = 32
  104. ASC_REQ_ALLOCATE_MEMORY = 256
  105. ASC_REQ_USE_DCE_STYLE = 512
  106. ASC_REQ_DATAGRAM = 1024
  107. ASC_REQ_CONNECTION = 2048
  108. ASC_REQ_CALL_LEVEL = 4096
  109. ASC_REQ_EXTENDED_ERROR = 32768
  110. ASC_REQ_STREAM = 65536
  111. ASC_REQ_INTEGRITY = 131072
  112. ASC_REQ_LICENSING = 262144
  113. ASC_REQ_IDENTIFY = 524288
  114. ASC_REQ_ALLOW_NULL_SESSION = 1048576
  115. ASC_REQ_ALLOW_NON_USER_LOGONS = 2097152
  116. ASC_REQ_ALLOW_CONTEXT_REPLAY = 4194304
  117. ASC_REQ_FRAGMENT_TO_FIT = 8388608
  118. ASC_REQ_FRAGMENT_SUPPLIED = 8192
  119. ASC_REQ_NO_TOKEN = 16777216
  120. ASC_RET_DELEGATE = 1
  121. ASC_RET_MUTUAL_AUTH = 2
  122. ASC_RET_REPLAY_DETECT = 4
  123. ASC_RET_SEQUENCE_DETECT = 8
  124. ASC_RET_CONFIDENTIALITY = 16
  125. ASC_RET_USE_SESSION_KEY = 32
  126. ASC_RET_ALLOCATED_MEMORY = 256
  127. ASC_RET_USED_DCE_STYLE = 512
  128. ASC_RET_DATAGRAM = 1024
  129. ASC_RET_CONNECTION = 2048
  130. ASC_RET_CALL_LEVEL = 8192
  131. ASC_RET_THIRD_LEG_FAILED = 16384
  132. ASC_RET_EXTENDED_ERROR = 32768
  133. ASC_RET_STREAM = 65536
  134. ASC_RET_INTEGRITY = 131072
  135. ASC_RET_LICENSING = 262144
  136. ASC_RET_IDENTIFY = 524288
  137. ASC_RET_NULL_SESSION = 1048576
  138. ASC_RET_ALLOW_NON_USER_LOGONS = 2097152
  139. ASC_RET_ALLOW_CONTEXT_REPLAY = 4194304
  140. ASC_RET_FRAGMENT_ONLY = 8388608
  141. SECPKG_CRED_ATTR_NAMES = 1
  142. SECPKG_ATTR_SIZES = 0
  143. SECPKG_ATTR_NAMES = 1
  144. SECPKG_ATTR_LIFESPAN = 2
  145. SECPKG_ATTR_DCE_INFO = 3
  146. SECPKG_ATTR_STREAM_SIZES = 4
  147. SECPKG_ATTR_KEY_INFO = 5
  148. SECPKG_ATTR_AUTHORITY = 6
  149. SECPKG_ATTR_PROTO_INFO = 7
  150. SECPKG_ATTR_PASSWORD_EXPIRY = 8
  151. SECPKG_ATTR_SESSION_KEY = 9
  152. SECPKG_ATTR_PACKAGE_INFO = 10
  153. SECPKG_ATTR_USER_FLAGS = 11
  154. SECPKG_ATTR_NEGOTIATION_INFO = 12
  155. SECPKG_ATTR_NATIVE_NAMES = 13
  156. SECPKG_ATTR_FLAGS = 14
  157. SECPKG_ATTR_USE_VALIDATED = 15
  158. SECPKG_ATTR_CREDENTIAL_NAME = 16
  159. SECPKG_ATTR_TARGET_INFORMATION = 17
  160. SECPKG_ATTR_ACCESS_TOKEN = 18
  161. SECPKG_ATTR_TARGET = 19
  162. SECPKG_ATTR_AUTHENTICATION_ID = 20
  163. ## attributes from schannel.h
  164. SECPKG_ATTR_REMOTE_CERT_CONTEXT = 83
  165. SECPKG_ATTR_LOCAL_CERT_CONTEXT = 84
  166. SECPKG_ATTR_ROOT_STORE = 85
  167. SECPKG_ATTR_SUPPORTED_ALGS = 86
  168. SECPKG_ATTR_CIPHER_STRENGTHS = 87
  169. SECPKG_ATTR_SUPPORTED_PROTOCOLS = 88
  170. SECPKG_ATTR_ISSUER_LIST_EX = 89
  171. SECPKG_ATTR_CONNECTION_INFO = 90
  172. SECPKG_ATTR_EAP_KEY_BLOCK = 91
  173. SECPKG_ATTR_MAPPED_CRED_ATTR = 92
  174. SECPKG_ATTR_SESSION_INFO = 93
  175. SECPKG_ATTR_APP_DATA = 94
  176. SECPKG_NEGOTIATION_COMPLETE = 0
  177. SECPKG_NEGOTIATION_OPTIMISTIC = 1
  178. SECPKG_NEGOTIATION_IN_PROGRESS = 2
  179. SECPKG_NEGOTIATION_DIRECT = 3
  180. SECPKG_NEGOTIATION_TRY_MULTICRED = 4
  181. SECPKG_CONTEXT_EXPORT_RESET_NEW = 1
  182. SECPKG_CONTEXT_EXPORT_DELETE_OLD = 2
  183. SECQOP_WRAP_NO_ENCRYPT = -2147483647
  184. SECURITY_ENTRYPOINT_ANSIW = "InitSecurityInterfaceW"
  185. SECURITY_ENTRYPOINT_ANSIA = "InitSecurityInterfaceA"
  186. SECURITY_ENTRYPOINT16 = "INITSECURITYINTERFACEA"
  187. SECURITY_ENTRYPOINT = SECURITY_ENTRYPOINT16
  188. SECURITY_ENTRYPOINT_ANSI = SECURITY_ENTRYPOINT16
  189. SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION = 1
  190. SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2 = 2
  191. SASL_OPTION_SEND_SIZE = 1
  192. SASL_OPTION_RECV_SIZE = 2
  193. SASL_OPTION_AUTHZ_STRING = 3
  194. SASL_OPTION_AUTHZ_PROCESSING = 4
  195. SEC_WINNT_AUTH_IDENTITY_ANSI = 1
  196. SEC_WINNT_AUTH_IDENTITY_UNICODE = 2
  197. SEC_WINNT_AUTH_IDENTITY_VERSION = 512
  198. SEC_WINNT_AUTH_IDENTITY_MARSHALLED = 4
  199. SEC_WINNT_AUTH_IDENTITY_ONLY = 8
  200. SECPKG_OPTIONS_TYPE_UNKNOWN = 0
  201. SECPKG_OPTIONS_TYPE_LSA = 1
  202. SECPKG_OPTIONS_TYPE_SSPI = 2
  203. SECPKG_OPTIONS_PERMANENT = 1
  204. SEC_E_INSUFFICIENT_MEMORY = -2146893056
  205. SEC_E_INVALID_HANDLE = -2146893055
  206. SEC_E_UNSUPPORTED_FUNCTION = -2146893054
  207. SEC_E_TARGET_UNKNOWN = -2146893053
  208. SEC_E_INTERNAL_ERROR = -2146893052
  209. SEC_E_SECPKG_NOT_FOUND = -2146893051
  210. SEC_E_NOT_OWNER = -2146893050
  211. SEC_E_CANNOT_INSTALL = -2146893049
  212. SEC_E_INVALID_TOKEN = -2146893048
  213. SEC_E_CANNOT_PACK = -2146893047
  214. SEC_E_QOP_NOT_SUPPORTED = -2146893046
  215. SEC_E_NO_IMPERSONATION = -2146893045
  216. SEC_E_LOGON_DENIED = -2146893044
  217. SEC_E_UNKNOWN_CREDENTIALS = -2146893043
  218. SEC_E_NO_CREDENTIALS = -2146893042
  219. SEC_E_MESSAGE_ALTERED = -2146893041
  220. SEC_E_OUT_OF_SEQUENCE = -2146893040
  221. SEC_E_NO_AUTHENTICATING_AUTHORITY = -2146893039
  222. SEC_I_CONTINUE_NEEDED = 590610
  223. SEC_I_COMPLETE_NEEDED = 590611
  224. SEC_I_COMPLETE_AND_CONTINUE = 590612
  225. SEC_I_LOCAL_LOGON = 590613
  226. SEC_E_BAD_PKGID = -2146893034
  227. SEC_E_CONTEXT_EXPIRED = -2146893033
  228. SEC_I_CONTEXT_EXPIRED = 590615
  229. SEC_E_INCOMPLETE_MESSAGE = -2146893032
  230. SEC_E_INCOMPLETE_CREDENTIALS = -2146893024
  231. SEC_E_BUFFER_TOO_SMALL = -2146893023
  232. SEC_I_INCOMPLETE_CREDENTIALS = 590624
  233. SEC_I_RENEGOTIATE = 590625
  234. SEC_E_WRONG_PRINCIPAL = -2146893022
  235. SEC_I_NO_LSA_CONTEXT = 590627
  236. SEC_E_TIME_SKEW = -2146893020
  237. SEC_E_UNTRUSTED_ROOT = -2146893019
  238. SEC_E_ILLEGAL_MESSAGE = -2146893018
  239. SEC_E_CERT_UNKNOWN = -2146893017
  240. SEC_E_CERT_EXPIRED = -2146893016
  241. SEC_E_ENCRYPT_FAILURE = -2146893015
  242. SEC_E_DECRYPT_FAILURE = -2146893008
  243. SEC_E_ALGORITHM_MISMATCH = -2146893007
  244. SEC_E_SECURITY_QOS_FAILED = -2146893006
  245. SEC_E_UNFINISHED_CONTEXT_DELETED = -2146893005
  246. SEC_E_NO_TGT_REPLY = -2146893004
  247. SEC_E_NO_IP_ADDRESSES = -2146893003
  248. SEC_E_WRONG_CREDENTIAL_HANDLE = -2146893002
  249. SEC_E_CRYPTO_SYSTEM_INVALID = -2146893001
  250. SEC_E_MAX_REFERRALS_EXCEEDED = -2146893000
  251. SEC_E_MUST_BE_KDC = -2146892999
  252. SEC_E_STRONG_CRYPTO_NOT_SUPPORTED = -2146892998
  253. SEC_E_TOO_MANY_PRINCIPALS = -2146892997
  254. SEC_E_NO_PA_DATA = -2146892996
  255. SEC_E_PKINIT_NAME_MISMATCH = -2146892995
  256. SEC_E_SMARTCARD_LOGON_REQUIRED = -2146892994
  257. SEC_E_SHUTDOWN_IN_PROGRESS = -2146892993
  258. SEC_E_KDC_INVALID_REQUEST = -2146892992
  259. SEC_E_KDC_UNABLE_TO_REFER = -2146892991
  260. SEC_E_KDC_UNKNOWN_ETYPE = -2146892990
  261. SEC_E_UNSUPPORTED_PREAUTH = -2146892989
  262. SEC_E_DELEGATION_REQUIRED = -2146892987
  263. SEC_E_BAD_BINDINGS = -2146892986
  264. SEC_E_MULTIPLE_ACCOUNTS = -2146892985
  265. SEC_E_NO_KERB_KEY = -2146892984
  266. ERROR_IPSEC_QM_POLICY_EXISTS = 13000
  267. ERROR_IPSEC_QM_POLICY_NOT_FOUND = 13001
  268. ERROR_IPSEC_QM_POLICY_IN_USE = 13002
  269. ERROR_IPSEC_MM_POLICY_EXISTS = 13003
  270. ERROR_IPSEC_MM_POLICY_NOT_FOUND = 13004
  271. ERROR_IPSEC_MM_POLICY_IN_USE = 13005
  272. ERROR_IPSEC_MM_FILTER_EXISTS = 13006
  273. ERROR_IPSEC_MM_FILTER_NOT_FOUND = 13007
  274. ERROR_IPSEC_TRANSPORT_FILTER_EXISTS = 13008
  275. ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND = 13009
  276. ERROR_IPSEC_MM_AUTH_EXISTS = 13010
  277. ERROR_IPSEC_MM_AUTH_NOT_FOUND = 13011
  278. ERROR_IPSEC_MM_AUTH_IN_USE = 13012
  279. ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND = 13013
  280. ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND = 13014
  281. ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND = 13015
  282. ERROR_IPSEC_TUNNEL_FILTER_EXISTS = 13016
  283. ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND = 13017
  284. ERROR_IPSEC_MM_FILTER_PENDING_DELETION = 13018
  285. ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION = 13019
  286. ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION = 13020
  287. ERROR_IPSEC_MM_POLICY_PENDING_DELETION = 13021
  288. ERROR_IPSEC_MM_AUTH_PENDING_DELETION = 13022
  289. ERROR_IPSEC_QM_POLICY_PENDING_DELETION = 13023
  290. WARNING_IPSEC_MM_POLICY_PRUNED = 13024
  291. WARNING_IPSEC_QM_POLICY_PRUNED = 13025
  292. ERROR_IPSEC_IKE_NEG_STATUS_BEGIN = 13800
  293. ERROR_IPSEC_IKE_AUTH_FAIL = 13801
  294. ERROR_IPSEC_IKE_ATTRIB_FAIL = 13802
  295. ERROR_IPSEC_IKE_NEGOTIATION_PENDING = 13803
  296. ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR = 13804
  297. ERROR_IPSEC_IKE_TIMED_OUT = 13805
  298. ERROR_IPSEC_IKE_NO_CERT = 13806
  299. ERROR_IPSEC_IKE_SA_DELETED = 13807
  300. ERROR_IPSEC_IKE_SA_REAPED = 13808
  301. ERROR_IPSEC_IKE_MM_ACQUIRE_DROP = 13809
  302. ERROR_IPSEC_IKE_QM_ACQUIRE_DROP = 13810
  303. ERROR_IPSEC_IKE_QUEUE_DROP_MM = 13811
  304. ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM = 13812
  305. ERROR_IPSEC_IKE_DROP_NO_RESPONSE = 13813
  306. ERROR_IPSEC_IKE_MM_DELAY_DROP = 13814
  307. ERROR_IPSEC_IKE_QM_DELAY_DROP = 13815
  308. ERROR_IPSEC_IKE_ERROR = 13816
  309. ERROR_IPSEC_IKE_CRL_FAILED = 13817
  310. ERROR_IPSEC_IKE_INVALID_KEY_USAGE = 13818
  311. ERROR_IPSEC_IKE_INVALID_CERT_TYPE = 13819
  312. ERROR_IPSEC_IKE_NO_PRIVATE_KEY = 13820
  313. ERROR_IPSEC_IKE_DH_FAIL = 13822
  314. ERROR_IPSEC_IKE_INVALID_HEADER = 13824
  315. ERROR_IPSEC_IKE_NO_POLICY = 13825
  316. ERROR_IPSEC_IKE_INVALID_SIGNATURE = 13826
  317. ERROR_IPSEC_IKE_KERBEROS_ERROR = 13827
  318. ERROR_IPSEC_IKE_NO_PUBLIC_KEY = 13828
  319. ERROR_IPSEC_IKE_PROCESS_ERR = 13829
  320. ERROR_IPSEC_IKE_PROCESS_ERR_SA = 13830
  321. ERROR_IPSEC_IKE_PROCESS_ERR_PROP = 13831
  322. ERROR_IPSEC_IKE_PROCESS_ERR_TRANS = 13832
  323. ERROR_IPSEC_IKE_PROCESS_ERR_KE = 13833
  324. ERROR_IPSEC_IKE_PROCESS_ERR_ID = 13834
  325. ERROR_IPSEC_IKE_PROCESS_ERR_CERT = 13835
  326. ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ = 13836
  327. ERROR_IPSEC_IKE_PROCESS_ERR_HASH = 13837
  328. ERROR_IPSEC_IKE_PROCESS_ERR_SIG = 13838
  329. ERROR_IPSEC_IKE_PROCESS_ERR_NONCE = 13839
  330. ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY = 13840
  331. ERROR_IPSEC_IKE_PROCESS_ERR_DELETE = 13841
  332. ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR = 13842
  333. ERROR_IPSEC_IKE_INVALID_PAYLOAD = 13843
  334. ERROR_IPSEC_IKE_LOAD_SOFT_SA = 13844
  335. ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN = 13845
  336. ERROR_IPSEC_IKE_INVALID_COOKIE = 13846
  337. ERROR_IPSEC_IKE_NO_PEER_CERT = 13847
  338. ERROR_IPSEC_IKE_PEER_CRL_FAILED = 13848
  339. ERROR_IPSEC_IKE_POLICY_CHANGE = 13849
  340. ERROR_IPSEC_IKE_NO_MM_POLICY = 13850
  341. ERROR_IPSEC_IKE_NOTCBPRIV = 13851
  342. ERROR_IPSEC_IKE_SECLOADFAIL = 13852
  343. ERROR_IPSEC_IKE_FAILSSPINIT = 13853
  344. ERROR_IPSEC_IKE_FAILQUERYSSP = 13854
  345. ERROR_IPSEC_IKE_SRVACQFAIL = 13855
  346. ERROR_IPSEC_IKE_SRVQUERYCRED = 13856
  347. ERROR_IPSEC_IKE_GETSPIFAIL = 13857
  348. ERROR_IPSEC_IKE_INVALID_FILTER = 13858
  349. ERROR_IPSEC_IKE_OUT_OF_MEMORY = 13859
  350. ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED = 13860
  351. ERROR_IPSEC_IKE_INVALID_POLICY = 13861
  352. ERROR_IPSEC_IKE_UNKNOWN_DOI = 13862
  353. ERROR_IPSEC_IKE_INVALID_SITUATION = 13863
  354. ERROR_IPSEC_IKE_DH_FAILURE = 13864
  355. ERROR_IPSEC_IKE_INVALID_GROUP = 13865
  356. ERROR_IPSEC_IKE_ENCRYPT = 13866
  357. ERROR_IPSEC_IKE_DECRYPT = 13867
  358. ERROR_IPSEC_IKE_POLICY_MATCH = 13868
  359. ERROR_IPSEC_IKE_UNSUPPORTED_ID = 13869
  360. ERROR_IPSEC_IKE_INVALID_HASH = 13870
  361. ERROR_IPSEC_IKE_INVALID_HASH_ALG = 13871
  362. ERROR_IPSEC_IKE_INVALID_HASH_SIZE = 13872
  363. ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG = 13873
  364. ERROR_IPSEC_IKE_INVALID_AUTH_ALG = 13874
  365. ERROR_IPSEC_IKE_INVALID_SIG = 13875
  366. ERROR_IPSEC_IKE_LOAD_FAILED = 13876
  367. ERROR_IPSEC_IKE_RPC_DELETE = 13877
  368. ERROR_IPSEC_IKE_BENIGN_REINIT = 13878
  369. ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY = 13879
  370. ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN = 13881
  371. ERROR_IPSEC_IKE_MM_LIMIT = 13882
  372. ERROR_IPSEC_IKE_NEGOTIATION_DISABLED = 13883
  373. ERROR_IPSEC_IKE_NEG_STATUS_END = 13884
  374. CRYPT_E_MSG_ERROR = -2146889727
  375. CRYPT_E_UNKNOWN_ALGO = -2146889726
  376. CRYPT_E_OID_FORMAT = -2146889725
  377. CRYPT_E_INVALID_MSG_TYPE = -2146889724
  378. CRYPT_E_UNEXPECTED_ENCODING = -2146889723
  379. CRYPT_E_AUTH_ATTR_MISSING = -2146889722
  380. CRYPT_E_HASH_VALUE = -2146889721
  381. CRYPT_E_INVALID_INDEX = -2146889720
  382. CRYPT_E_ALREADY_DECRYPTED = -2146889719
  383. CRYPT_E_NOT_DECRYPTED = -2146889718
  384. CRYPT_E_RECIPIENT_NOT_FOUND = -2146889717
  385. CRYPT_E_CONTROL_TYPE = -2146889716
  386. CRYPT_E_ISSUER_SERIALNUMBER = -2146889715
  387. CRYPT_E_SIGNER_NOT_FOUND = -2146889714
  388. CRYPT_E_ATTRIBUTES_MISSING = -2146889713
  389. CRYPT_E_STREAM_MSG_NOT_READY = -2146889712
  390. CRYPT_E_STREAM_INSUFFICIENT_DATA = -2146889711
  391. CRYPT_I_NEW_PROTECTION_REQUIRED = 593938
  392. CRYPT_E_BAD_LEN = -2146885631
  393. CRYPT_E_BAD_ENCODE = -2146885630
  394. CRYPT_E_FILE_ERROR = -2146885629
  395. CRYPT_E_NOT_FOUND = -2146885628
  396. CRYPT_E_EXISTS = -2146885627
  397. CRYPT_E_NO_PROVIDER = -2146885626
  398. CRYPT_E_SELF_SIGNED = -2146885625
  399. CRYPT_E_DELETED_PREV = -2146885624
  400. CRYPT_E_NO_MATCH = -2146885623
  401. CRYPT_E_UNEXPECTED_MSG_TYPE = -2146885622
  402. CRYPT_E_NO_KEY_PROPERTY = -2146885621
  403. CRYPT_E_NO_DECRYPT_CERT = -2146885620
  404. CRYPT_E_BAD_MSG = -2146885619
  405. CRYPT_E_NO_SIGNER = -2146885618
  406. CRYPT_E_PENDING_CLOSE = -2146885617
  407. CRYPT_E_REVOKED = -2146885616
  408. CRYPT_E_NO_REVOCATION_DLL = -2146885615
  409. CRYPT_E_NO_REVOCATION_CHECK = -2146885614
  410. CRYPT_E_REVOCATION_OFFLINE = -2146885613
  411. CRYPT_E_NOT_IN_REVOCATION_DATABASE = -2146885612
  412. CRYPT_E_INVALID_NUMERIC_STRING = -2146885600
  413. CRYPT_E_INVALID_PRINTABLE_STRING = -2146885599
  414. CRYPT_E_INVALID_IA5_STRING = -2146885598
  415. CRYPT_E_INVALID_X500_STRING = -2146885597
  416. CRYPT_E_NOT_CHAR_STRING = -2146885596
  417. CRYPT_E_FILERESIZED = -2146885595
  418. CRYPT_E_SECURITY_SETTINGS = -2146885594
  419. CRYPT_E_NO_VERIFY_USAGE_DLL = -2146885593
  420. CRYPT_E_NO_VERIFY_USAGE_CHECK = -2146885592
  421. CRYPT_E_VERIFY_USAGE_OFFLINE = -2146885591
  422. CRYPT_E_NOT_IN_CTL = -2146885590
  423. CRYPT_E_NO_TRUSTED_SIGNER = -2146885589
  424. CRYPT_E_MISSING_PUBKEY_PARA = -2146885588
  425. CRYPT_E_OSS_ERROR = -2146881536
  426. ## Kerberos message types for LsaCallAuthenticationPackage (from ntsecapi.h)
  427. KerbDebugRequestMessage = 0
  428. KerbQueryTicketCacheMessage = 1
  429. KerbChangeMachinePasswordMessage = 2
  430. KerbVerifyPacMessage = 3
  431. KerbRetrieveTicketMessage = 4
  432. KerbUpdateAddressesMessage = 5
  433. KerbPurgeTicketCacheMessage = 6
  434. KerbChangePasswordMessage = 7
  435. KerbRetrieveEncodedTicketMessage = 8
  436. KerbDecryptDataMessage = 9
  437. KerbAddBindingCacheEntryMessage = 10
  438. KerbSetPasswordMessage = 11
  439. KerbSetPasswordExMessage = 12
  440. KerbVerifyCredentialsMessage = 13
  441. KerbQueryTicketCacheExMessage = 14
  442. KerbPurgeTicketCacheExMessage = 15
  443. KerbRefreshSmartcardCredentialsMessage = 16
  444. KerbAddExtraCredentialsMessage = 17
  445. KerbQuerySupplementalCredentialsMessage = 18
  446. ## messages used with msv1_0 from ntsecapi.h
  447. MsV1_0Lm20ChallengeRequest = 0
  448. MsV1_0Lm20GetChallengeResponse = 1
  449. MsV1_0EnumerateUsers = 2
  450. MsV1_0GetUserInfo = 3
  451. MsV1_0ReLogonUsers = 4
  452. MsV1_0ChangePassword = 5
  453. MsV1_0ChangeCachedPassword = 6
  454. MsV1_0GenericPassthrough = 7
  455. MsV1_0CacheLogon = 8
  456. MsV1_0SubAuth = 9
  457. MsV1_0DeriveCredential = 10
  458. MsV1_0CacheLookup = 11
  459. MsV1_0SetProcessOption = 12
  460. SEC_E_OK = 0