SSL/TLS Library

Dependents:  

CyaSSL is SSL/TLS library for embedded systems.

wolfssl.com

Committer:
wolfSSL
Date:
Sun Apr 20 12:40:57 2014 +0000
Revision:
0:9d17e4342598
CyaSSL SSL/TLS Library 2.9.4;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wolfSSL 0:9d17e4342598 1 /* pem.h for openssl */
wolfSSL 0:9d17e4342598 2
wolfSSL 0:9d17e4342598 3
wolfSSL 0:9d17e4342598 4 #ifndef CYASSL_PEM_H_
wolfSSL 0:9d17e4342598 5 #define CYASSL_PEM_H_
wolfSSL 0:9d17e4342598 6
wolfSSL 0:9d17e4342598 7 #include <cyassl/openssl/evp.h>
wolfSSL 0:9d17e4342598 8 #include <cyassl/openssl/bio.h>
wolfSSL 0:9d17e4342598 9 #include <cyassl/openssl/rsa.h>
wolfSSL 0:9d17e4342598 10 #include <cyassl/openssl/dsa.h>
wolfSSL 0:9d17e4342598 11
wolfSSL 0:9d17e4342598 12 #ifdef __cplusplus
wolfSSL 0:9d17e4342598 13 extern "C" {
wolfSSL 0:9d17e4342598 14 #endif
wolfSSL 0:9d17e4342598 15
wolfSSL 0:9d17e4342598 16
wolfSSL 0:9d17e4342598 17 CYASSL_API int CyaSSL_PEM_write_bio_RSAPrivateKey(CYASSL_BIO* bio, RSA* rsa,
wolfSSL 0:9d17e4342598 18 const EVP_CIPHER* cipher,
wolfSSL 0:9d17e4342598 19 unsigned char* passwd, int len,
wolfSSL 0:9d17e4342598 20 pem_password_cb cb, void* arg);
wolfSSL 0:9d17e4342598 21
wolfSSL 0:9d17e4342598 22 CYASSL_API int CyaSSL_PEM_write_bio_DSAPrivateKey(CYASSL_BIO* bio, DSA* rsa,
wolfSSL 0:9d17e4342598 23 const EVP_CIPHER* cipher,
wolfSSL 0:9d17e4342598 24 unsigned char* passwd, int len,
wolfSSL 0:9d17e4342598 25 pem_password_cb cb, void* arg);
wolfSSL 0:9d17e4342598 26
wolfSSL 0:9d17e4342598 27 CYASSL_API CYASSL_EVP_PKEY* CyaSSL_PEM_read_bio_PrivateKey(CYASSL_BIO* bio,
wolfSSL 0:9d17e4342598 28 CYASSL_EVP_PKEY**, pem_password_cb cb, void* arg);
wolfSSL 0:9d17e4342598 29
wolfSSL 0:9d17e4342598 30 #define PEM_write_bio_RSAPrivateKey CyaSSL_PEM_write_bio_RSAPrivateKey
wolfSSL 0:9d17e4342598 31 #define PEM_write_bio_DSAPrivateKey CyaSSL_PEM_write_bio_DSAPrivateKey
wolfSSL 0:9d17e4342598 32 #define PEM_read_bio_PrivateKey CyaSSL_PEM_read_bio_PrivateKey
wolfSSL 0:9d17e4342598 33
wolfSSL 0:9d17e4342598 34
wolfSSL 0:9d17e4342598 35 #ifdef __cplusplus
wolfSSL 0:9d17e4342598 36 } /* extern "C" */
wolfSSL 0:9d17e4342598 37 #endif
wolfSSL 0:9d17e4342598 38
wolfSSL 0:9d17e4342598 39
wolfSSL 0:9d17e4342598 40 #endif /* CYASSL_PEM_H_ */
wolfSSL 0:9d17e4342598 41