OLD | NEW |
1 /* ssl/ssl.h */ | 1 /* ssl/ssl.h */ |
2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * This package is an SSL implementation written | 5 * This package is an SSL implementation written |
6 * by Eric Young (eay@cryptsoft.com). | 6 * by Eric Young (eay@cryptsoft.com). |
7 * The implementation was written so as to conform with Netscapes SSL. | 7 * The implementation was written so as to conform with Netscapes SSL. |
8 * | 8 * |
9 * This library is free for commercial and non-commercial use as long as | 9 * This library is free for commercial and non-commercial use as long as |
10 * the following conditions are aheared to. The following conditions | 10 * the following conditions are aheared to. The following conditions |
(...skipping 1971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1982 const char *SSL_alert_desc_string_long(int value); | 1982 const char *SSL_alert_desc_string_long(int value); |
1983 const char *SSL_alert_desc_string(int value); | 1983 const char *SSL_alert_desc_string(int value); |
1984 | 1984 |
1985 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list); | 1985 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list); |
1986 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list); | 1986 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list); |
1987 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s); | 1987 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s); |
1988 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s); | 1988 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s); |
1989 int SSL_add_client_CA(SSL *ssl,X509 *x); | 1989 int SSL_add_client_CA(SSL *ssl,X509 *x); |
1990 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x); | 1990 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x); |
1991 | 1991 |
| 1992 void SSL_get_client_certificate_types(const SSL *s, const unsigned char **ctype, |
| 1993 size_t *ctype_num); |
| 1994 |
1992 void SSL_set_connect_state(SSL *s); | 1995 void SSL_set_connect_state(SSL *s); |
1993 void SSL_set_accept_state(SSL *s); | 1996 void SSL_set_accept_state(SSL *s); |
1994 | 1997 |
1995 long SSL_get_default_timeout(const SSL *s); | 1998 long SSL_get_default_timeout(const SSL *s); |
1996 | 1999 |
1997 int SSL_library_init(void ); | 2000 int SSL_library_init(void ); |
1998 | 2001 |
1999 char *SSL_CIPHER_description(const SSL_CIPHER *,char *buf,int size); | 2002 char *SSL_CIPHER_description(const SSL_CIPHER *,char *buf,int size); |
2000 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk); | 2003 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk); |
2001 | 2004 |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2669 #define SSL_R_WRONG_SIGNATURE_TYPE 370 | 2672 #define SSL_R_WRONG_SIGNATURE_TYPE 370 |
2670 #define SSL_R_WRONG_SSL_VERSION 266 | 2673 #define SSL_R_WRONG_SSL_VERSION 266 |
2671 #define SSL_R_WRONG_VERSION_NUMBER 267 | 2674 #define SSL_R_WRONG_VERSION_NUMBER 267 |
2672 #define SSL_R_X509_LIB 268 | 2675 #define SSL_R_X509_LIB 268 |
2673 #define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269 | 2676 #define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269 |
2674 | 2677 |
2675 #ifdef __cplusplus | 2678 #ifdef __cplusplus |
2676 } | 2679 } |
2677 #endif | 2680 #endif |
2678 #endif | 2681 #endif |
OLD | NEW |