mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-18 09:34:38 +00:00
components/openssl: add base function version
This commit is contained in:
14
components/openssl/include/internal/ssl_rsa.h
Normal file
14
components/openssl/include/internal/ssl_rsa.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
Reference in New Issue
Block a user