]> git.proxmox.com Git - rustc.git/blame - vendor/winapi/src/um/minschannel.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / vendor / winapi / src / um / minschannel.rs
CommitLineData
ff7c6d11
XL
1// Licensed under the Apache License, Version 2.0
2// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4// All files in the project carrying such notice may not be copied, modified, or distributed
5// except according to those terms.
6//! Public Definitions for MIN SCHANNEL Security Provider
7use shared::guiddef::GUID;
8use shared::minwindef::{BOOL, DWORD};
9use um::wincrypt::ALG_ID;
10use um::winnt::LPWSTR;
11pub const SECPKG_ATTR_ISSUER_LIST: DWORD = 0x50;
12pub const SECPKG_ATTR_REMOTE_CRED: DWORD = 0x51;
13pub const SECPKG_ATTR_LOCAL_CRED: DWORD = 0x52;
14pub const SECPKG_ATTR_REMOTE_CERT_CONTEXT: DWORD = 0x53;
15pub const SECPKG_ATTR_LOCAL_CERT_CONTEXT: DWORD = 0x54;
16pub const SECPKG_ATTR_ROOT_STORE: DWORD = 0x55;
17pub const SECPKG_ATTR_SUPPORTED_ALGS: DWORD = 0x56;
18pub const SECPKG_ATTR_CIPHER_STRENGTHS: DWORD = 0x57;
19pub const SECPKG_ATTR_SUPPORTED_PROTOCOLS: DWORD = 0x58;
20pub const SECPKG_ATTR_ISSUER_LIST_EX: DWORD = 0x59;
21pub const SECPKG_ATTR_CONNECTION_INFO: DWORD = 0x5a;
22pub const SECPKG_ATTR_EAP_KEY_BLOCK: DWORD = 0x5b;
23pub const SECPKG_ATTR_MAPPED_CRED_ATTR: DWORD = 0x5c;
24pub const SECPKG_ATTR_SESSION_INFO: DWORD = 0x5d;
25pub const SECPKG_ATTR_APP_DATA: DWORD = 0x5e;
26pub const SECPKG_ATTR_REMOTE_CERTIFICATES: DWORD = 0x5F;
27pub const SECPKG_ATTR_CLIENT_CERT_POLICY: DWORD = 0x60;
28pub const SECPKG_ATTR_CC_POLICY_RESULT: DWORD = 0x61;
29pub const SECPKG_ATTR_USE_NCRYPT: DWORD = 0x62;
30pub const SECPKG_ATTR_LOCAL_CERT_INFO: DWORD = 0x63;
31pub const SECPKG_ATTR_CIPHER_INFO: DWORD = 0x64;
32pub const SECPKG_ATTR_EAP_PRF_INFO: DWORD = 0x65;
33pub const SECPKG_ATTR_SUPPORTED_SIGNATURES: DWORD = 0x66;
34pub const SECPKG_ATTR_REMOTE_CERT_CHAIN: DWORD = 0x67;
35pub const SECPKG_ATTR_UI_INFO: DWORD = 0x68;
36pub const SECPKG_ATTR_EARLY_START: DWORD = 0x69;
37STRUCT!{struct SecPkgCred_SupportedAlgs {
38 cSupportedAlgs: DWORD,
8faf50e0 39 palgSupportedAlgs: *mut ALG_ID,
ff7c6d11
XL
40}}
41STRUCT!{struct SecPkgCred_CipherStrengths {
42 dwMinimumCipherStrength: DWORD,
43 dwMaximumCipherStrength: DWORD,
44}}
45STRUCT!{struct SecPkgCred_SupportedProtocols {
46 grbitProtocol: DWORD,
47}}
48STRUCT!{struct SecPkgCred_ClientCertPolicy {
49 dwFlags: DWORD,
50 guidPolicyId: GUID,
51 dwCertFlags: DWORD,
52 dwUrlRetrievalTimeout: DWORD,
53 fCheckRevocationFreshnessTime: BOOL,
54 dwRevocationFreshnessTime: DWORD,
55 fOmitUsageCheck: BOOL,
56 pwszSslCtlStoreName: LPWSTR,
57 pwszSslCtlIdentifier: LPWSTR,
58}}