1 /* pem.h for openssl */
7 #include <cyassl/openssl/evp.h>
8 #include <cyassl/openssl/bio.h>
9 #include <cyassl/openssl/rsa.h>
10 #include <cyassl/openssl/dsa.h>
17 CYASSL_API int CyaSSL_PEM_write_bio_RSAPrivateKey(CYASSL_BIO* bio, RSA* rsa,
18 const EVP_CIPHER* cipher,
19 unsigned char* passwd, int len,
20 pem_password_cb cb, void* arg);
22 CYASSL_API int CyaSSL_PEM_write_bio_DSAPrivateKey(CYASSL_BIO* bio, DSA* rsa,
23 const EVP_CIPHER* cipher,
24 unsigned char* passwd, int len,
25 pem_password_cb cb, void* arg);
27 CYASSL_API CYASSL_EVP_PKEY* CyaSSL_PEM_read_bio_PrivateKey(CYASSL_BIO* bio,
28 CYASSL_EVP_PKEY**, pem_password_cb cb, void* arg);
30 #define PEM_write_bio_RSAPrivateKey CyaSSL_PEM_write_bio_RSAPrivateKey
31 #define PEM_write_bio_DSAPrivateKey CyaSSL_PEM_write_bio_DSAPrivateKey
32 #define PEM_read_bio_PrivateKey CyaSSL_PEM_read_bio_PrivateKey
40 #endif /* CYASSL_PEM_H_ */