mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 15:11:40 +01:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			419 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			419 B
		
	
	
	
		
			C
		
	
	
	
	
	
|   | #ifndef _SSL_RSA_H_
 | ||
|  | #define _SSL_RSA_H_
 | ||
|  | 
 | ||
|  | #include "ssl_lib.h"
 | ||
|  | 
 | ||
|  | int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x); | ||
|  | int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, | ||
|  |                                  const unsigned char *d); | ||
|  | 
 | ||
|  | int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey); | ||
|  | int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx, | ||
|  |                                 const unsigned char *d, long len); | ||
|  | 
 | ||
|  | #endif
 |