A library for setting up Secure Socket Layer (SSL) connections and verifying remote hosts using certificates. Contains only the source files for mbed platform implementation of the library.
Dependents: HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL
cyassl/openssl/pem.h@0:b86d15c6ba29, 2015-01-19 (annotated)
- Committer:
- Vanger
- Date:
- Mon Jan 19 21:45:42 2015 +0000
- Revision:
- 0:b86d15c6ba29
Updated CyaSSL Library to 3.3.0. Changed Settings and functions to be implemented for mbed platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Vanger | 0:b86d15c6ba29 | 1 | /* pem.h for openssl */ |
Vanger | 0:b86d15c6ba29 | 2 | |
Vanger | 0:b86d15c6ba29 | 3 | |
Vanger | 0:b86d15c6ba29 | 4 | #ifndef CYASSL_PEM_H_ |
Vanger | 0:b86d15c6ba29 | 5 | #define CYASSL_PEM_H_ |
Vanger | 0:b86d15c6ba29 | 6 | |
Vanger | 0:b86d15c6ba29 | 7 | #include <cyassl/openssl/evp.h> |
Vanger | 0:b86d15c6ba29 | 8 | #include <cyassl/openssl/bio.h> |
Vanger | 0:b86d15c6ba29 | 9 | #include <cyassl/openssl/rsa.h> |
Vanger | 0:b86d15c6ba29 | 10 | #include <cyassl/openssl/dsa.h> |
Vanger | 0:b86d15c6ba29 | 11 | |
Vanger | 0:b86d15c6ba29 | 12 | #ifdef __cplusplus |
Vanger | 0:b86d15c6ba29 | 13 | extern "C" { |
Vanger | 0:b86d15c6ba29 | 14 | #endif |
Vanger | 0:b86d15c6ba29 | 15 | |
Vanger | 0:b86d15c6ba29 | 16 | |
Vanger | 0:b86d15c6ba29 | 17 | CYASSL_API int CyaSSL_PEM_write_bio_RSAPrivateKey(CYASSL_BIO* bio, RSA* rsa, |
Vanger | 0:b86d15c6ba29 | 18 | const EVP_CIPHER* cipher, |
Vanger | 0:b86d15c6ba29 | 19 | unsigned char* passwd, int len, |
Vanger | 0:b86d15c6ba29 | 20 | pem_password_cb cb, void* arg); |
Vanger | 0:b86d15c6ba29 | 21 | |
Vanger | 0:b86d15c6ba29 | 22 | CYASSL_API int CyaSSL_PEM_write_bio_DSAPrivateKey(CYASSL_BIO* bio, DSA* rsa, |
Vanger | 0:b86d15c6ba29 | 23 | const EVP_CIPHER* cipher, |
Vanger | 0:b86d15c6ba29 | 24 | unsigned char* passwd, int len, |
Vanger | 0:b86d15c6ba29 | 25 | pem_password_cb cb, void* arg); |
Vanger | 0:b86d15c6ba29 | 26 | |
Vanger | 0:b86d15c6ba29 | 27 | CYASSL_API CYASSL_EVP_PKEY* CyaSSL_PEM_read_bio_PrivateKey(CYASSL_BIO* bio, |
Vanger | 0:b86d15c6ba29 | 28 | CYASSL_EVP_PKEY**, pem_password_cb cb, void* arg); |
Vanger | 0:b86d15c6ba29 | 29 | |
Vanger | 0:b86d15c6ba29 | 30 | #define PEM_write_bio_RSAPrivateKey CyaSSL_PEM_write_bio_RSAPrivateKey |
Vanger | 0:b86d15c6ba29 | 31 | #define PEM_write_bio_DSAPrivateKey CyaSSL_PEM_write_bio_DSAPrivateKey |
Vanger | 0:b86d15c6ba29 | 32 | #define PEM_read_bio_PrivateKey CyaSSL_PEM_read_bio_PrivateKey |
Vanger | 0:b86d15c6ba29 | 33 | |
Vanger | 0:b86d15c6ba29 | 34 | |
Vanger | 0:b86d15c6ba29 | 35 | #ifdef __cplusplus |
Vanger | 0:b86d15c6ba29 | 36 | } /* extern "C" */ |
Vanger | 0:b86d15c6ba29 | 37 | #endif |
Vanger | 0:b86d15c6ba29 | 38 | |
Vanger | 0:b86d15c6ba29 | 39 | |
Vanger | 0:b86d15c6ba29 | 40 | #endif /* CYASSL_PEM_H_ */ |
Vanger | 0:b86d15c6ba29 | 41 |