FreeRDP
include/winpr/schannel.h File Reference
#include <winpr/sspi.h>
#include <winpr/crypto.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  SecPkgCred_SupportedAlgs
 
struct  SecPkgCred_CipherStrengths
 
struct  SecPkgCred_SupportedProtocols
 
struct  SCHANNEL_CRED
 
struct  SCHANNEL_CERT_HASH
 
struct  SCHANNEL_CERT_HASH_STORE
 
struct  SCHANNEL_ALERT_TOKEN
 
struct  SCHANNEL_SESSION_TOKEN
 
struct  SCHANNEL_CLIENT_SIGNATURE
 

Macros

#define SCHANNEL_NAME_A   "Schannel"
 
#define SCHANNEL_NAME_W   L"Schannel"
 
#define SCHANNEL_NAME   SCHANNEL_NAME_A
 
#define SECPKG_ATTR_SUPPORTED_ALGS   86
 
#define SECPKG_ATTR_CIPHER_STRENGTHS   87
 
#define SECPKG_ATTR_SUPPORTED_PROTOCOLS   88
 
#define SCH_CRED_V1   0x00000001
 
#define SCH_CRED_V2   0x00000002
 
#define SCH_CRED_VERSION   0x00000002
 
#define SCH_CRED_V3   0x00000003
 
#define SCHANNEL_CRED_VERSION   0x00000004
 
#define SCH_CRED_FORMAT_CERT_CONTEXT   0x00000000
 
#define SCH_CRED_FORMAT_CERT_HASH   0x00000001
 
#define SCH_CRED_FORMAT_CERT_HASH_STORE   0x00000002
 
#define SCH_CRED_MAX_STORE_NAME_SIZE   128
 
#define SCH_CRED_MAX_SUPPORTED_ALGS   256
 
#define SCH_CRED_MAX_SUPPORTED_CERTS   100
 
#define SCH_MACHINE_CERT_HASH   0x00000001
 
#define SCH_CRED_NO_SYSTEM_MAPPER   0x00000002
 
#define SCH_CRED_NO_SERVERNAME_CHECK   0x00000004
 
#define SCH_CRED_MANUAL_CRED_VALIDATION   0x00000008
 
#define SCH_CRED_NO_DEFAULT_CREDS   0x00000010
 
#define SCH_CRED_AUTO_CRED_VALIDATION   0x00000020
 
#define SCH_CRED_USE_DEFAULT_CREDS   0x00000040
 
#define SCH_CRED_DISABLE_RECONNECTS   0x00000080
 
#define SCH_CRED_REVOCATION_CHECK_END_CERT   0x00000100
 
#define SCH_CRED_REVOCATION_CHECK_CHAIN   0x00000200
 
#define SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT   0x00000400
 
#define SCH_CRED_IGNORE_NO_REVOCATION_CHECK   0x00000800
 
#define SCH_CRED_IGNORE_REVOCATION_OFFLINE   0x00001000
 
#define SCH_CRED_RESTRICTED_ROOTS   0x00002000
 
#define SCH_CRED_REVOCATION_CHECK_CACHE_ONLY   0x00004000
 
#define SCH_CRED_CACHE_ONLY_URL_RETRIEVAL   0x00008000
 
#define SCH_CRED_MEMORY_STORE_CERT   0x00010000
 
#define SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE   0x00020000
 
#define SCH_SEND_ROOT_CERT   0x00040000
 
#define SCH_CRED_SNI_CREDENTIAL   0x00080000
 
#define SCH_CRED_SNI_ENABLE_OCSP   0x00100000
 
#define SCH_SEND_AUX_RECORD   0x00200000
 
#define SCHANNEL_RENEGOTIATE   0
 
#define SCHANNEL_SHUTDOWN   1
 
#define SCHANNEL_ALERT   2
 
#define SCHANNEL_SESSION   3
 
#define TLS1_ALERT_WARNING   1
 
#define TLS1_ALERT_FATAL   2
 
#define TLS1_ALERT_CLOSE_NOTIFY   0
 
#define TLS1_ALERT_UNEXPECTED_MESSAGE   10
 
#define TLS1_ALERT_BAD_RECORD_MAC   20
 
#define TLS1_ALERT_DECRYPTION_FAILED   21
 
#define TLS1_ALERT_RECORD_OVERFLOW   22
 
#define TLS1_ALERT_DECOMPRESSION_FAIL   30
 
#define TLS1_ALERT_HANDSHAKE_FAILURE   40
 
#define TLS1_ALERT_BAD_CERTIFICATE   42
 
#define TLS1_ALERT_UNSUPPORTED_CERT   43
 
#define TLS1_ALERT_CERTIFICATE_REVOKED   44
 
#define TLS1_ALERT_CERTIFICATE_EXPIRED   45
 
#define TLS1_ALERT_CERTIFICATE_UNKNOWN   46
 
#define TLS1_ALERT_ILLEGAL_PARAMETER   47
 
#define TLS1_ALERT_UNKNOWN_CA   48
 
#define TLS1_ALERT_ACCESS_DENIED   49
 
#define TLS1_ALERT_DECODE_ERROR   50
 
#define TLS1_ALERT_DECRYPT_ERROR   51
 
#define TLS1_ALERT_EXPORT_RESTRICTION   60
 
#define TLS1_ALERT_PROTOCOL_VERSION   70
 
#define TLS1_ALERT_INSUFFIENT_SECURITY   71
 
#define TLS1_ALERT_INTERNAL_ERROR   80
 
#define TLS1_ALERT_USER_CANCELED   90
 
#define TLS1_ALERT_NO_RENEGOTIATION   100
 
#define TLS1_ALERT_UNSUPPORTED_EXT   110
 
#define SSL_SESSION_ENABLE_RECONNECTS   1
 
#define SSL_SESSION_DISABLE_RECONNECTS   2
 
#define SP_PROT_SSL3_SERVER   0x00000010
 
#define SP_PROT_SSL3_CLIENT   0x00000020
 
#define SP_PROT_SSL3   (SP_PROT_SSL3_SERVER | SP_PROT_SSL3_CLIENT)
 
#define SP_PROT_TLS1_SERVER   0x00000040
 
#define SP_PROT_TLS1_CLIENT   0x00000080
 
#define SP_PROT_TLS1   (SP_PROT_TLS1_SERVER | SP_PROT_TLS1_CLIENT)
 
#define SP_PROT_SSL3TLS1_CLIENTS   (SP_PROT_TLS1_CLIENT | SP_PROT_SSL3_CLIENT)
 
#define SP_PROT_SSL3TLS1_SERVERS   (SP_PROT_TLS1_SERVER | SP_PROT_SSL3_SERVER)
 
#define SP_PROT_SSL3TLS1   (SP_PROT_SSL3 | SP_PROT_TLS1)
 
#define SP_PROT_UNI_SERVER   0x40000000
 
#define SP_PROT_UNI_CLIENT   0x80000000
 
#define SP_PROT_UNI   (SP_PROT_UNI_SERVER | SP_PROT_UNI_CLIENT)
 
#define SP_PROT_ALL   0xFFFFFFFF
 
#define SP_PROT_NONE   0
 
#define SP_PROT_CLIENTS   (SP_PROT_SSL3_CLIENT | SP_PROT_UNI_CLIENT | SP_PROT_TLS1_CLIENT)
 
#define SP_PROT_SERVERS   (SP_PROT_SSL3_SERVER | SP_PROT_UNI_SERVER | SP_PROT_TLS1_SERVER)
 
#define SP_PROT_TLS1_0_SERVER   SP_PROT_TLS1_SERVER
 
#define SP_PROT_TLS1_0_CLIENT   SP_PROT_TLS1_CLIENT
 
#define SP_PROT_TLS1_0   (SP_PROT_TLS1_0_SERVER | SP_PROT_TLS1_0_CLIENT)
 
#define SP_PROT_TLS1_1_SERVER   0x00000100
 
#define SP_PROT_TLS1_1_CLIENT   0x00000200
 
#define SP_PROT_TLS1_1   (SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_1_CLIENT)
 
#define SP_PROT_TLS1_2_SERVER   0x00000400
 
#define SP_PROT_TLS1_2_CLIENT   0x00000800
 
#define SP_PROT_TLS1_2   (SP_PROT_TLS1_2_SERVER | SP_PROT_TLS1_2_CLIENT)
 
#define SP_PROT_DTLS_SERVER   0x00010000
 
#define SP_PROT_DTLS_CLIENT   0x00020000
 
#define SP_PROT_DTLS   (SP_PROT_DTLS_SERVER | SP_PROT_DTLS_CLIENT)
 
#define SP_PROT_DTLS1_0_SERVER   SP_PROT_DTLS_SERVER
 
#define SP_PROT_DTLS1_0_CLIENT   SP_PROT_DTLS_CLIENT
 
#define SP_PROT_DTLS1_0   (SP_PROT_DTLS1_0_SERVER | SP_PROT_DTLS1_0_CLIENT)
 
#define SP_PROT_DTLS1_X_SERVER   SP_PROT_DTLS1_0_SERVER
 
#define SP_PROT_DTLS1_X_CLIENT   SP_PROT_DTLS1_0_CLIENT
 
#define SP_PROT_DTLS1_X   (SP_PROT_DTLS1_X_SERVER | SP_PROT_DTLS1_X_CLIENT)
 
#define SP_PROT_TLS1_1PLUS_SERVER   (SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER)
 
#define SP_PROT_TLS1_1PLUS_CLIENT   (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT)
 
#define SP_PROT_TLS1_1PLUS   (SP_PROT_TLS1_1PLUS_SERVER | SP_PROT_TLS1_1PLUS_CLIENT)
 
#define SP_PROT_TLS1_X_SERVER    (SP_PROT_TLS1_0_SERVER | SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER)
 
#define SP_PROT_TLS1_X_CLIENT    (SP_PROT_TLS1_0_CLIENT | SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT)
 
#define SP_PROT_TLS1_X   (SP_PROT_TLS1_X_SERVER | SP_PROT_TLS1_X_CLIENT)
 
#define SP_PROT_SSL3TLS1_X_CLIENTS   (SP_PROT_TLS1_X_CLIENT | SP_PROT_SSL3_CLIENT)
 
#define SP_PROT_SSL3TLS1_X_SERVERS   (SP_PROT_TLS1_X_SERVER | SP_PROT_SSL3_SERVER)
 
#define SP_PROT_SSL3TLS1_X   (SP_PROT_SSL3 | SP_PROT_TLS1_X)
 
#define SP_PROT_X_CLIENTS   (SP_PROT_CLIENTS | SP_PROT_TLS1_X_CLIENT | SP_PROT_DTLS1_X_CLIENT)
 
#define SP_PROT_X_SERVERS   (SP_PROT_SERVERS | SP_PROT_TLS1_X_SERVER | SP_PROT_DTLS1_X_SERVER)
 

Typedefs

typedef struct SecPkgCred_SupportedAlgsPSecPkgCred_SupportedAlgs
 
typedef struct SecPkgCred_CipherStrengthsPSecPkgCred_CipherStrengths
 
typedef struct SecPkgCred_SupportedProtocolsPSecPkgCred_SupportedProtocols
 
typedef struct SCHANNEL_CREDPSCHANNEL_CRED
 
typedef struct SCHANNEL_CERT_HASHPSCHANNEL_CERT_HASH
 
typedef struct SCHANNEL_CERT_HASH_STOREPSCHANNEL_CERT_HASH_STORE
 
typedef struct SCHANNEL_CLIENT_SIGNATUREPSCHANNEL_CLIENT_SIGNATURE
 

Enumerations

enum  eTlsSignatureAlgorithm { TlsSignatureAlgorithm_Anonymous = 0 , TlsSignatureAlgorithm_Rsa = 1 , TlsSignatureAlgorithm_Dsa = 2 , TlsSignatureAlgorithm_Ecdsa = 3 }
 
enum  eTlsHashAlgorithm {
  TlsHashAlgorithm_None = 0 , TlsHashAlgorithm_Md5 = 1 , TlsHashAlgorithm_Sha1 = 2 , TlsHashAlgorithm_Sha224 = 3 ,
  TlsHashAlgorithm_Sha256 = 4 , TlsHashAlgorithm_Sha384 = 5 , TlsHashAlgorithm_Sha512 = 6
}
 

Macro Definition Documentation

◆ SCH_CRED_AUTO_CRED_VALIDATION

#define SCH_CRED_AUTO_CRED_VALIDATION   0x00000020

◆ SCH_CRED_CACHE_ONLY_URL_RETRIEVAL

#define SCH_CRED_CACHE_ONLY_URL_RETRIEVAL   0x00008000

◆ SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE

#define SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE   0x00020000

◆ SCH_CRED_DISABLE_RECONNECTS

#define SCH_CRED_DISABLE_RECONNECTS   0x00000080

◆ SCH_CRED_FORMAT_CERT_CONTEXT

#define SCH_CRED_FORMAT_CERT_CONTEXT   0x00000000

◆ SCH_CRED_FORMAT_CERT_HASH

#define SCH_CRED_FORMAT_CERT_HASH   0x00000001

◆ SCH_CRED_FORMAT_CERT_HASH_STORE

#define SCH_CRED_FORMAT_CERT_HASH_STORE   0x00000002

◆ SCH_CRED_IGNORE_NO_REVOCATION_CHECK

#define SCH_CRED_IGNORE_NO_REVOCATION_CHECK   0x00000800

◆ SCH_CRED_IGNORE_REVOCATION_OFFLINE

#define SCH_CRED_IGNORE_REVOCATION_OFFLINE   0x00001000

◆ SCH_CRED_MANUAL_CRED_VALIDATION

#define SCH_CRED_MANUAL_CRED_VALIDATION   0x00000008

◆ SCH_CRED_MAX_STORE_NAME_SIZE

#define SCH_CRED_MAX_STORE_NAME_SIZE   128

◆ SCH_CRED_MAX_SUPPORTED_ALGS

#define SCH_CRED_MAX_SUPPORTED_ALGS   256

◆ SCH_CRED_MAX_SUPPORTED_CERTS

#define SCH_CRED_MAX_SUPPORTED_CERTS   100

◆ SCH_CRED_MEMORY_STORE_CERT

#define SCH_CRED_MEMORY_STORE_CERT   0x00010000

◆ SCH_CRED_NO_DEFAULT_CREDS

#define SCH_CRED_NO_DEFAULT_CREDS   0x00000010

◆ SCH_CRED_NO_SERVERNAME_CHECK

#define SCH_CRED_NO_SERVERNAME_CHECK   0x00000004

◆ SCH_CRED_NO_SYSTEM_MAPPER

#define SCH_CRED_NO_SYSTEM_MAPPER   0x00000002

◆ SCH_CRED_RESTRICTED_ROOTS

#define SCH_CRED_RESTRICTED_ROOTS   0x00002000

◆ SCH_CRED_REVOCATION_CHECK_CACHE_ONLY

#define SCH_CRED_REVOCATION_CHECK_CACHE_ONLY   0x00004000

◆ SCH_CRED_REVOCATION_CHECK_CHAIN

#define SCH_CRED_REVOCATION_CHECK_CHAIN   0x00000200

◆ SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT

#define SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT   0x00000400

◆ SCH_CRED_REVOCATION_CHECK_END_CERT

#define SCH_CRED_REVOCATION_CHECK_END_CERT   0x00000100

◆ SCH_CRED_SNI_CREDENTIAL

#define SCH_CRED_SNI_CREDENTIAL   0x00080000

◆ SCH_CRED_SNI_ENABLE_OCSP

#define SCH_CRED_SNI_ENABLE_OCSP   0x00100000

◆ SCH_CRED_USE_DEFAULT_CREDS

#define SCH_CRED_USE_DEFAULT_CREDS   0x00000040

◆ SCH_CRED_V1

#define SCH_CRED_V1   0x00000001

◆ SCH_CRED_V2

#define SCH_CRED_V2   0x00000002

◆ SCH_CRED_V3

#define SCH_CRED_V3   0x00000003

◆ SCH_CRED_VERSION

#define SCH_CRED_VERSION   0x00000002

◆ SCH_MACHINE_CERT_HASH

#define SCH_MACHINE_CERT_HASH   0x00000001

◆ SCH_SEND_AUX_RECORD

#define SCH_SEND_AUX_RECORD   0x00200000

◆ SCH_SEND_ROOT_CERT

#define SCH_SEND_ROOT_CERT   0x00040000

◆ SCHANNEL_ALERT

#define SCHANNEL_ALERT   2

◆ SCHANNEL_CRED_VERSION

#define SCHANNEL_CRED_VERSION   0x00000004

◆ SCHANNEL_NAME

#define SCHANNEL_NAME   SCHANNEL_NAME_A

◆ SCHANNEL_NAME_A

#define SCHANNEL_NAME_A   "Schannel"

WinPR: Windows Portable Runtime Schannel Security Package

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ SCHANNEL_NAME_W

#define SCHANNEL_NAME_W   L"Schannel"

◆ SCHANNEL_RENEGOTIATE

#define SCHANNEL_RENEGOTIATE   0

◆ SCHANNEL_SESSION

#define SCHANNEL_SESSION   3

◆ SCHANNEL_SHUTDOWN

#define SCHANNEL_SHUTDOWN   1

◆ SECPKG_ATTR_CIPHER_STRENGTHS

#define SECPKG_ATTR_CIPHER_STRENGTHS   87

◆ SECPKG_ATTR_SUPPORTED_ALGS

#define SECPKG_ATTR_SUPPORTED_ALGS   86

◆ SECPKG_ATTR_SUPPORTED_PROTOCOLS

#define SECPKG_ATTR_SUPPORTED_PROTOCOLS   88

◆ SP_PROT_ALL

#define SP_PROT_ALL   0xFFFFFFFF

◆ SP_PROT_CLIENTS

#define SP_PROT_CLIENTS   (SP_PROT_SSL3_CLIENT | SP_PROT_UNI_CLIENT | SP_PROT_TLS1_CLIENT)

◆ SP_PROT_DTLS

#define SP_PROT_DTLS   (SP_PROT_DTLS_SERVER | SP_PROT_DTLS_CLIENT)

◆ SP_PROT_DTLS1_0

#define SP_PROT_DTLS1_0   (SP_PROT_DTLS1_0_SERVER | SP_PROT_DTLS1_0_CLIENT)

◆ SP_PROT_DTLS1_0_CLIENT

#define SP_PROT_DTLS1_0_CLIENT   SP_PROT_DTLS_CLIENT

◆ SP_PROT_DTLS1_0_SERVER

#define SP_PROT_DTLS1_0_SERVER   SP_PROT_DTLS_SERVER

◆ SP_PROT_DTLS1_X

#define SP_PROT_DTLS1_X   (SP_PROT_DTLS1_X_SERVER | SP_PROT_DTLS1_X_CLIENT)

◆ SP_PROT_DTLS1_X_CLIENT

#define SP_PROT_DTLS1_X_CLIENT   SP_PROT_DTLS1_0_CLIENT

◆ SP_PROT_DTLS1_X_SERVER

#define SP_PROT_DTLS1_X_SERVER   SP_PROT_DTLS1_0_SERVER

◆ SP_PROT_DTLS_CLIENT

#define SP_PROT_DTLS_CLIENT   0x00020000

◆ SP_PROT_DTLS_SERVER

#define SP_PROT_DTLS_SERVER   0x00010000

◆ SP_PROT_NONE

#define SP_PROT_NONE   0

◆ SP_PROT_SERVERS

#define SP_PROT_SERVERS   (SP_PROT_SSL3_SERVER | SP_PROT_UNI_SERVER | SP_PROT_TLS1_SERVER)

◆ SP_PROT_SSL3

#define SP_PROT_SSL3   (SP_PROT_SSL3_SERVER | SP_PROT_SSL3_CLIENT)

◆ SP_PROT_SSL3_CLIENT

#define SP_PROT_SSL3_CLIENT   0x00000020

◆ SP_PROT_SSL3_SERVER

#define SP_PROT_SSL3_SERVER   0x00000010

◆ SP_PROT_SSL3TLS1

#define SP_PROT_SSL3TLS1   (SP_PROT_SSL3 | SP_PROT_TLS1)

◆ SP_PROT_SSL3TLS1_CLIENTS

#define SP_PROT_SSL3TLS1_CLIENTS   (SP_PROT_TLS1_CLIENT | SP_PROT_SSL3_CLIENT)

◆ SP_PROT_SSL3TLS1_SERVERS

#define SP_PROT_SSL3TLS1_SERVERS   (SP_PROT_TLS1_SERVER | SP_PROT_SSL3_SERVER)

◆ SP_PROT_SSL3TLS1_X

#define SP_PROT_SSL3TLS1_X   (SP_PROT_SSL3 | SP_PROT_TLS1_X)

◆ SP_PROT_SSL3TLS1_X_CLIENTS

#define SP_PROT_SSL3TLS1_X_CLIENTS   (SP_PROT_TLS1_X_CLIENT | SP_PROT_SSL3_CLIENT)

◆ SP_PROT_SSL3TLS1_X_SERVERS

#define SP_PROT_SSL3TLS1_X_SERVERS   (SP_PROT_TLS1_X_SERVER | SP_PROT_SSL3_SERVER)

◆ SP_PROT_TLS1

#define SP_PROT_TLS1   (SP_PROT_TLS1_SERVER | SP_PROT_TLS1_CLIENT)

◆ SP_PROT_TLS1_0

#define SP_PROT_TLS1_0   (SP_PROT_TLS1_0_SERVER | SP_PROT_TLS1_0_CLIENT)

◆ SP_PROT_TLS1_0_CLIENT

#define SP_PROT_TLS1_0_CLIENT   SP_PROT_TLS1_CLIENT

◆ SP_PROT_TLS1_0_SERVER

#define SP_PROT_TLS1_0_SERVER   SP_PROT_TLS1_SERVER

◆ SP_PROT_TLS1_1

#define SP_PROT_TLS1_1   (SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_1_CLIENT)

◆ SP_PROT_TLS1_1_CLIENT

#define SP_PROT_TLS1_1_CLIENT   0x00000200

◆ SP_PROT_TLS1_1_SERVER

#define SP_PROT_TLS1_1_SERVER   0x00000100

◆ SP_PROT_TLS1_1PLUS

#define SP_PROT_TLS1_1PLUS   (SP_PROT_TLS1_1PLUS_SERVER | SP_PROT_TLS1_1PLUS_CLIENT)

◆ SP_PROT_TLS1_1PLUS_CLIENT

#define SP_PROT_TLS1_1PLUS_CLIENT   (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT)

◆ SP_PROT_TLS1_1PLUS_SERVER

#define SP_PROT_TLS1_1PLUS_SERVER   (SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER)

◆ SP_PROT_TLS1_2

#define SP_PROT_TLS1_2   (SP_PROT_TLS1_2_SERVER | SP_PROT_TLS1_2_CLIENT)

◆ SP_PROT_TLS1_2_CLIENT

#define SP_PROT_TLS1_2_CLIENT   0x00000800

◆ SP_PROT_TLS1_2_SERVER

#define SP_PROT_TLS1_2_SERVER   0x00000400

◆ SP_PROT_TLS1_CLIENT

#define SP_PROT_TLS1_CLIENT   0x00000080

◆ SP_PROT_TLS1_SERVER

#define SP_PROT_TLS1_SERVER   0x00000040

◆ SP_PROT_TLS1_X

#define SP_PROT_TLS1_X   (SP_PROT_TLS1_X_SERVER | SP_PROT_TLS1_X_CLIENT)

◆ SP_PROT_TLS1_X_CLIENT

#define SP_PROT_TLS1_X_CLIENT    (SP_PROT_TLS1_0_CLIENT | SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT)

◆ SP_PROT_TLS1_X_SERVER

#define SP_PROT_TLS1_X_SERVER    (SP_PROT_TLS1_0_SERVER | SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER)

◆ SP_PROT_UNI

#define SP_PROT_UNI   (SP_PROT_UNI_SERVER | SP_PROT_UNI_CLIENT)

◆ SP_PROT_UNI_CLIENT

#define SP_PROT_UNI_CLIENT   0x80000000

◆ SP_PROT_UNI_SERVER

#define SP_PROT_UNI_SERVER   0x40000000

◆ SP_PROT_X_CLIENTS

#define SP_PROT_X_CLIENTS   (SP_PROT_CLIENTS | SP_PROT_TLS1_X_CLIENT | SP_PROT_DTLS1_X_CLIENT)

◆ SP_PROT_X_SERVERS

#define SP_PROT_X_SERVERS   (SP_PROT_SERVERS | SP_PROT_TLS1_X_SERVER | SP_PROT_DTLS1_X_SERVER)

◆ SSL_SESSION_DISABLE_RECONNECTS

#define SSL_SESSION_DISABLE_RECONNECTS   2

◆ SSL_SESSION_ENABLE_RECONNECTS

#define SSL_SESSION_ENABLE_RECONNECTS   1

◆ TLS1_ALERT_ACCESS_DENIED

#define TLS1_ALERT_ACCESS_DENIED   49

◆ TLS1_ALERT_BAD_CERTIFICATE

#define TLS1_ALERT_BAD_CERTIFICATE   42

◆ TLS1_ALERT_BAD_RECORD_MAC

#define TLS1_ALERT_BAD_RECORD_MAC   20

◆ TLS1_ALERT_CERTIFICATE_EXPIRED

#define TLS1_ALERT_CERTIFICATE_EXPIRED   45

◆ TLS1_ALERT_CERTIFICATE_REVOKED

#define TLS1_ALERT_CERTIFICATE_REVOKED   44

◆ TLS1_ALERT_CERTIFICATE_UNKNOWN

#define TLS1_ALERT_CERTIFICATE_UNKNOWN   46

◆ TLS1_ALERT_CLOSE_NOTIFY

#define TLS1_ALERT_CLOSE_NOTIFY   0

◆ TLS1_ALERT_DECODE_ERROR

#define TLS1_ALERT_DECODE_ERROR   50

◆ TLS1_ALERT_DECOMPRESSION_FAIL

#define TLS1_ALERT_DECOMPRESSION_FAIL   30

◆ TLS1_ALERT_DECRYPT_ERROR

#define TLS1_ALERT_DECRYPT_ERROR   51

◆ TLS1_ALERT_DECRYPTION_FAILED

#define TLS1_ALERT_DECRYPTION_FAILED   21

◆ TLS1_ALERT_EXPORT_RESTRICTION

#define TLS1_ALERT_EXPORT_RESTRICTION   60

◆ TLS1_ALERT_FATAL

#define TLS1_ALERT_FATAL   2

◆ TLS1_ALERT_HANDSHAKE_FAILURE

#define TLS1_ALERT_HANDSHAKE_FAILURE   40

◆ TLS1_ALERT_ILLEGAL_PARAMETER

#define TLS1_ALERT_ILLEGAL_PARAMETER   47

◆ TLS1_ALERT_INSUFFIENT_SECURITY

#define TLS1_ALERT_INSUFFIENT_SECURITY   71

◆ TLS1_ALERT_INTERNAL_ERROR

#define TLS1_ALERT_INTERNAL_ERROR   80

◆ TLS1_ALERT_NO_RENEGOTIATION

#define TLS1_ALERT_NO_RENEGOTIATION   100

◆ TLS1_ALERT_PROTOCOL_VERSION

#define TLS1_ALERT_PROTOCOL_VERSION   70

◆ TLS1_ALERT_RECORD_OVERFLOW

#define TLS1_ALERT_RECORD_OVERFLOW   22

◆ TLS1_ALERT_UNEXPECTED_MESSAGE

#define TLS1_ALERT_UNEXPECTED_MESSAGE   10

◆ TLS1_ALERT_UNKNOWN_CA

#define TLS1_ALERT_UNKNOWN_CA   48

◆ TLS1_ALERT_UNSUPPORTED_CERT

#define TLS1_ALERT_UNSUPPORTED_CERT   43

◆ TLS1_ALERT_UNSUPPORTED_EXT

#define TLS1_ALERT_UNSUPPORTED_EXT   110

◆ TLS1_ALERT_USER_CANCELED

#define TLS1_ALERT_USER_CANCELED   90

◆ TLS1_ALERT_WARNING

#define TLS1_ALERT_WARNING   1

Typedef Documentation

◆ PSCHANNEL_CERT_HASH

◆ PSCHANNEL_CERT_HASH_STORE

◆ PSCHANNEL_CLIENT_SIGNATURE

◆ PSCHANNEL_CRED

typedef struct SCHANNEL_CRED * PSCHANNEL_CRED

◆ PSecPkgCred_CipherStrengths

◆ PSecPkgCred_SupportedAlgs

◆ PSecPkgCred_SupportedProtocols

Enumeration Type Documentation

◆ eTlsHashAlgorithm

Enumerator
TlsHashAlgorithm_None 
TlsHashAlgorithm_Md5 
TlsHashAlgorithm_Sha1 
TlsHashAlgorithm_Sha224 
TlsHashAlgorithm_Sha256 
TlsHashAlgorithm_Sha384 
TlsHashAlgorithm_Sha512 

◆ eTlsSignatureAlgorithm

Enumerator
TlsSignatureAlgorithm_Anonymous 
TlsSignatureAlgorithm_Rsa 
TlsSignatureAlgorithm_Dsa 
TlsSignatureAlgorithm_Ecdsa