20 #ifndef WINPR_SSPI_SCHANNEL_OPENSSL_H
21 #define WINPR_SSPI_SCHANNEL_OPENSSL_H
23 #include <winpr/sspi.h>
28 #include <winpr/windows.h>
30 typedef struct S_SCHANNEL_OPENSSL SCHANNEL_OPENSSL;
32 int schannel_openssl_client_init(SCHANNEL_OPENSSL* context);
33 int schannel_openssl_server_init(SCHANNEL_OPENSSL* context);
35 SECURITY_STATUS schannel_openssl_client_process_tokens(SCHANNEL_OPENSSL* context,
38 SECURITY_STATUS schannel_openssl_server_process_tokens(SCHANNEL_OPENSSL* context,
42 SECURITY_STATUS schannel_openssl_encrypt_message(SCHANNEL_OPENSSL* context,
44 SECURITY_STATUS schannel_openssl_decrypt_message(SCHANNEL_OPENSSL* context,
47 void schannel_openssl_free(SCHANNEL_OPENSSL* context);
49 WINPR_ATTR_MALLOC(schannel_openssl_free, 1)
50 SCHANNEL_OPENSSL* schannel_openssl_new(
void);