ReactOS 0.4.16-dev-340-g0540c21
schannel.h File Reference
#include <wincrypt.h>
Include dependency graph for schannel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SCHANNEL_CRED
 
struct  _SecPkgCred_SupportedAlgs
 
struct  _SecPkgCred_CipherStrengths
 
struct  _SecPkgCred_SupportedProtocols
 
struct  _SecPkgContext_IssuerListInfoEx
 
struct  _SecPkgContext_ConnectionInfo
 

Macros

#define SCHANNEL_NAME_A   "Schannel"
 
#define SCHANNEL_NAME_W   L"Schannel"
 
#define SCHANNEL_NAME   SCHANNEL_NAME_A
 
#define SCH_CRED_V1   1
 
#define SCH_CRED_V2   2
 
#define SCH_CRED_VERSION   2
 
#define SCH_CRED_V3   3
 
#define SCHANNEL_CRED_VERSION   4
 
#define SCHANNEL_RENEGOTIATE   0
 
#define SCHANNEL_SHUTDOWN   1
 
#define SCHANNEL_ALERT   2
 
#define SCHANNEL_SESSION   3
 
#define SP_PROT_SSL2_CLIENT   8
 
#define SP_PROT_SSL3_CLIENT   32
 
#define SP_PROT_TLS1_CLIENT   128
 
#define SP_PROT_TLS1_0_CLIENT   SP_PROT_TLS1_CLIENT
 
#define SP_PROT_TLS1_1_CLIENT   512
 
#define SP_PROT_TLS1_2_CLIENT   2048
 
#define SP_PROT_TLS1_3_CLIENT   8192
 
#define SP_PROT_SSL2_SERVER   4
 
#define SP_PROT_SSL3_SERVER   16
 
#define SP_PROT_TLS1_SERVER   64
 
#define SP_PROT_TLS1_0_SERVER   SP_PROT_TLS1_SERVER
 
#define SP_PROT_TLS1_1_SERVER   256
 
#define SP_PROT_TLS1_2_SERVER   1024
 
#define SP_PROT_PCT1_CLIENT   2
 
#define SP_PROT_PCT1_SERVER   1
 
#define SP_PROT_TLS1   (SP_PROT_TLS1_CLIENT | SP_PROT_TLS1_SERVER)
 
#define SP_PROT_SSL3   (SP_PROT_SSL3_CLIENT | SP_PROT_SSL3_SERVER)
 
#define SP_PROT_SSL2   (SP_PROT_SSL2_CLIENT | SP_PROT_SSL2_SERVER)
 
#define SP_PROT_PCT1   (SP_PROT_PCT1_CLIENT | SP_PROT_PCT1_SERVER)
 
#define SP_PROT_TLS1_1PLUS_CLIENT   (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT)
 
#define SCH_CRED_NO_SYSTEM_MAPPER   2
 
#define SCH_CRED_NO_SERVERNAME_CHECK   4
 
#define SCH_CRED_MANUAL_CRED_VALIDATION   8
 
#define SCH_CRED_NO_DEFAULT_CREDS   16
 
#define SCH_CRED_AUTO_CRED_VALIDATION   32
 
#define SCH_CRED_USE_DEFAULT_CREDS   64
 
#define SCH_CRED_REVOCATION_CHECK_CHAIN_END_CERT   256
 
#define SCH_CRED_REVOCATION_CHECK_CHAIN   512
 
#define SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT   1024
 
#define SCH_CRED_IGNORE_NO_REVOCATION_CHECK   2048
 
#define SCH_CRED_IGNORE_REVOCATION_OFFLINE   4096
 
#define SECPKG_ATTR_ISSUER_LIST   0x50
 
#define SECPKG_ATTR_REMOTE_CRED   0x51
 
#define SECPKG_ATTR_LOCAL_CRED   0x52
 
#define SECPKG_ATTR_REMOTE_CERT_CONTEXT   0x53
 
#define SECPKG_ATTR_LOCAL_CERT_CONTEXT   0x54
 
#define SECPKG_ATTR_ROOT_STORE   0x55
 
#define SECPKG_ATTR_SUPPORTED_ALGS   0x56
 
#define SECPKG_ATTR_CIPHER_STRENGTHS   0x57
 
#define SECPKG_ATTR_SUPPORTED_PROTOCOLS   0x58
 
#define SECPKG_ATTR_ISSUER_LIST_EX   0x59
 
#define SECPKG_ATTR_CONNECTION_INFO   0x5a
 
#define SECPKG_ATTR_EAP_KEY_BLOCK   0x5b
 
#define SECPKG_ATTR_MAPPED_CRED_ATTR   0x5c
 
#define SECPKG_ATTR_SESSION_INFO   0x5d
 
#define SECPKG_ATTR_APP_DATA   0x5e
 
#define UNISP_RPC_ID   14
 

Typedefs

typedef struct _SCHANNEL_CRED SCHANNEL_CRED
 
typedef struct _SCHANNEL_CREDPSCHANNEL_CRED
 
typedef struct _SecPkgCred_SupportedAlgs SecPkgCred_SupportedAlgs
 
typedef struct _SecPkgCred_SupportedAlgsPSecPkgCred_SupportedAlgs
 
typedef struct _SecPkgCred_CipherStrengths SecPkgCred_CipherStrengths
 
typedef struct _SecPkgCred_CipherStrengthsPSecPkgCred_CipherStrengths
 
typedef struct _SecPkgCred_SupportedProtocols SecPkgCred_SupportedProtocols
 
typedef struct _SecPkgCred_SupportedProtocolsPSecPkgCred_SupportedProtocols
 
typedef struct _SecPkgContext_IssuerListInfoEx SecPkgContext_IssuerListInfoEx
 
typedef struct _SecPkgContext_IssuerListInfoExPSecPkgContext_IssuerListInfoEx
 
typedef struct _SecPkgContext_ConnectionInfo SecPkgContext_ConnectionInfo
 
typedef struct _SecPkgContext_ConnectionInfoPSecPkgContext_ConnectionInfo
 

Macro Definition Documentation

◆ SCH_CRED_AUTO_CRED_VALIDATION

#define SCH_CRED_AUTO_CRED_VALIDATION   32

Definition at line 58 of file schannel.h.

◆ SCH_CRED_IGNORE_NO_REVOCATION_CHECK

#define SCH_CRED_IGNORE_NO_REVOCATION_CHECK   2048

Definition at line 63 of file schannel.h.

◆ SCH_CRED_IGNORE_REVOCATION_OFFLINE

#define SCH_CRED_IGNORE_REVOCATION_OFFLINE   4096

Definition at line 64 of file schannel.h.

◆ SCH_CRED_MANUAL_CRED_VALIDATION

#define SCH_CRED_MANUAL_CRED_VALIDATION   8

Definition at line 56 of file schannel.h.

◆ SCH_CRED_NO_DEFAULT_CREDS

#define SCH_CRED_NO_DEFAULT_CREDS   16

Definition at line 57 of file schannel.h.

◆ SCH_CRED_NO_SERVERNAME_CHECK

#define SCH_CRED_NO_SERVERNAME_CHECK   4

Definition at line 55 of file schannel.h.

◆ SCH_CRED_NO_SYSTEM_MAPPER

#define SCH_CRED_NO_SYSTEM_MAPPER   2

Definition at line 54 of file schannel.h.

◆ SCH_CRED_REVOCATION_CHECK_CHAIN

#define SCH_CRED_REVOCATION_CHECK_CHAIN   512

Definition at line 61 of file schannel.h.

◆ SCH_CRED_REVOCATION_CHECK_CHAIN_END_CERT

#define SCH_CRED_REVOCATION_CHECK_CHAIN_END_CERT   256

Definition at line 60 of file schannel.h.

◆ SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT

#define SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT   1024

Definition at line 62 of file schannel.h.

◆ SCH_CRED_USE_DEFAULT_CREDS

#define SCH_CRED_USE_DEFAULT_CREDS   64

Definition at line 59 of file schannel.h.

◆ SCH_CRED_V1

#define SCH_CRED_V1   1

Definition at line 18 of file schannel.h.

◆ SCH_CRED_V2

#define SCH_CRED_V2   2

Definition at line 19 of file schannel.h.

◆ SCH_CRED_V3

#define SCH_CRED_V3   3

Definition at line 21 of file schannel.h.

◆ SCH_CRED_VERSION

#define SCH_CRED_VERSION   2

Definition at line 20 of file schannel.h.

◆ SCHANNEL_ALERT

#define SCHANNEL_ALERT   2

Definition at line 26 of file schannel.h.

◆ SCHANNEL_CRED_VERSION

#define SCHANNEL_CRED_VERSION   4

Definition at line 22 of file schannel.h.

◆ SCHANNEL_NAME

#define SCHANNEL_NAME   SCHANNEL_NAME_A

Definition at line 15 of file schannel.h.

◆ SCHANNEL_NAME_A

#define SCHANNEL_NAME_A   "Schannel"

Definition at line 10 of file schannel.h.

◆ SCHANNEL_NAME_W

#define SCHANNEL_NAME_W   L"Schannel"

Definition at line 11 of file schannel.h.

◆ SCHANNEL_RENEGOTIATE

#define SCHANNEL_RENEGOTIATE   0

Definition at line 24 of file schannel.h.

◆ SCHANNEL_SESSION

#define SCHANNEL_SESSION   3

Definition at line 27 of file schannel.h.

◆ SCHANNEL_SHUTDOWN

#define SCHANNEL_SHUTDOWN   1

Definition at line 25 of file schannel.h.

◆ SECPKG_ATTR_APP_DATA

#define SECPKG_ATTR_APP_DATA   0x5e

Definition at line 80 of file schannel.h.

◆ SECPKG_ATTR_CIPHER_STRENGTHS

#define SECPKG_ATTR_CIPHER_STRENGTHS   0x57

Definition at line 73 of file schannel.h.

◆ SECPKG_ATTR_CONNECTION_INFO

#define SECPKG_ATTR_CONNECTION_INFO   0x5a

Definition at line 76 of file schannel.h.

◆ SECPKG_ATTR_EAP_KEY_BLOCK

#define SECPKG_ATTR_EAP_KEY_BLOCK   0x5b

Definition at line 77 of file schannel.h.

◆ SECPKG_ATTR_ISSUER_LIST

#define SECPKG_ATTR_ISSUER_LIST   0x50

Definition at line 66 of file schannel.h.

◆ SECPKG_ATTR_ISSUER_LIST_EX

#define SECPKG_ATTR_ISSUER_LIST_EX   0x59

Definition at line 75 of file schannel.h.

◆ SECPKG_ATTR_LOCAL_CERT_CONTEXT

#define SECPKG_ATTR_LOCAL_CERT_CONTEXT   0x54

Definition at line 70 of file schannel.h.

◆ SECPKG_ATTR_LOCAL_CRED

#define SECPKG_ATTR_LOCAL_CRED   0x52

Definition at line 68 of file schannel.h.

◆ SECPKG_ATTR_MAPPED_CRED_ATTR

#define SECPKG_ATTR_MAPPED_CRED_ATTR   0x5c

Definition at line 78 of file schannel.h.

◆ SECPKG_ATTR_REMOTE_CERT_CONTEXT

#define SECPKG_ATTR_REMOTE_CERT_CONTEXT   0x53

Definition at line 69 of file schannel.h.

◆ SECPKG_ATTR_REMOTE_CRED

#define SECPKG_ATTR_REMOTE_CRED   0x51

Definition at line 67 of file schannel.h.

◆ SECPKG_ATTR_ROOT_STORE

#define SECPKG_ATTR_ROOT_STORE   0x55

Definition at line 71 of file schannel.h.

◆ SECPKG_ATTR_SESSION_INFO

#define SECPKG_ATTR_SESSION_INFO   0x5d

Definition at line 79 of file schannel.h.

◆ SECPKG_ATTR_SUPPORTED_ALGS

#define SECPKG_ATTR_SUPPORTED_ALGS   0x56

Definition at line 72 of file schannel.h.

◆ SECPKG_ATTR_SUPPORTED_PROTOCOLS

#define SECPKG_ATTR_SUPPORTED_PROTOCOLS   0x58

Definition at line 74 of file schannel.h.

◆ SP_PROT_PCT1

Definition at line 50 of file schannel.h.

◆ SP_PROT_PCT1_CLIENT

#define SP_PROT_PCT1_CLIENT   2

Definition at line 44 of file schannel.h.

◆ SP_PROT_PCT1_SERVER

#define SP_PROT_PCT1_SERVER   1

Definition at line 45 of file schannel.h.

◆ SP_PROT_SSL2

Definition at line 49 of file schannel.h.

◆ SP_PROT_SSL2_CLIENT

#define SP_PROT_SSL2_CLIENT   8

Definition at line 29 of file schannel.h.

◆ SP_PROT_SSL2_SERVER

#define SP_PROT_SSL2_SERVER   4

Definition at line 37 of file schannel.h.

◆ SP_PROT_SSL3

Definition at line 48 of file schannel.h.

◆ SP_PROT_SSL3_CLIENT

#define SP_PROT_SSL3_CLIENT   32

Definition at line 30 of file schannel.h.

◆ SP_PROT_SSL3_SERVER

#define SP_PROT_SSL3_SERVER   16

Definition at line 38 of file schannel.h.

◆ SP_PROT_TLS1

Definition at line 47 of file schannel.h.

◆ SP_PROT_TLS1_0_CLIENT

#define SP_PROT_TLS1_0_CLIENT   SP_PROT_TLS1_CLIENT

Definition at line 32 of file schannel.h.

◆ SP_PROT_TLS1_0_SERVER

#define SP_PROT_TLS1_0_SERVER   SP_PROT_TLS1_SERVER

Definition at line 40 of file schannel.h.

◆ SP_PROT_TLS1_1_CLIENT

#define SP_PROT_TLS1_1_CLIENT   512

Definition at line 33 of file schannel.h.

◆ SP_PROT_TLS1_1_SERVER

#define SP_PROT_TLS1_1_SERVER   256

Definition at line 41 of file schannel.h.

◆ SP_PROT_TLS1_1PLUS_CLIENT

#define SP_PROT_TLS1_1PLUS_CLIENT   (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT)

Definition at line 52 of file schannel.h.

◆ SP_PROT_TLS1_2_CLIENT

#define SP_PROT_TLS1_2_CLIENT   2048

Definition at line 34 of file schannel.h.

◆ SP_PROT_TLS1_2_SERVER

#define SP_PROT_TLS1_2_SERVER   1024

Definition at line 42 of file schannel.h.

◆ SP_PROT_TLS1_3_CLIENT

#define SP_PROT_TLS1_3_CLIENT   8192

Definition at line 35 of file schannel.h.

◆ SP_PROT_TLS1_CLIENT

#define SP_PROT_TLS1_CLIENT   128

Definition at line 31 of file schannel.h.

◆ SP_PROT_TLS1_SERVER

#define SP_PROT_TLS1_SERVER   64

Definition at line 39 of file schannel.h.

◆ UNISP_RPC_ID

#define UNISP_RPC_ID   14

Definition at line 82 of file schannel.h.

Typedef Documentation

◆ PSCHANNEL_CRED

◆ PSecPkgContext_ConnectionInfo

◆ PSecPkgContext_IssuerListInfoEx

◆ PSecPkgCred_CipherStrengths

◆ PSecPkgCred_SupportedAlgs

◆ PSecPkgCred_SupportedProtocols

◆ SCHANNEL_CRED

◆ SecPkgContext_ConnectionInfo

◆ SecPkgContext_IssuerListInfoEx

◆ SecPkgCred_CipherStrengths

◆ SecPkgCred_SupportedAlgs

◆ SecPkgCred_SupportedProtocols