summaryrefslogtreecommitdiff
path: root/src/lib/crypt/openssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt/openssl.h')
-rw-r--r--src/lib/crypt/openssl.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/crypt/openssl.h b/src/lib/crypt/openssl.h
index 5d6f50dd..d4ee73b9 100644
--- a/src/lib/crypt/openssl.h
+++ b/src/lib/crypt/openssl.h
@@ -57,6 +57,9 @@ int openssl_load_crt_file(const char * path,
int openssl_load_crt_str(const char * str,
void ** crt);
+int openssl_load_crt_der(buffer_t buf,
+ void ** crt);
+
int openssl_get_pubkey_crt(void * crt,
void ** pk);
@@ -82,8 +85,11 @@ void openssl_free_key(void * key);
int openssl_check_crt_name(void * crt,
const char * name);
-int openssl_crt_str(void * crt,
- char * str);
+int openssl_crt_str(const void * crt,
+ char * str);
+
+int openssl_crt_der(const void * crt,
+ buffer_t * buf);
void * openssl_auth_create_store(void);