summaryrefslogtreecommitdiff
path: root/lib/x509/common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-01-15 23:32:26 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-01-15 23:34:50 +0100
commit98cdc97bd080cfaba6a6ada0ab9addb4adef66e0 (patch)
treea0f643fe100b6743857e49192bd889b059725308 /lib/x509/common.h
parente6c4ef2a361300a5542d4aac461a85b0edbda009 (diff)
downloadgnutls-98cdc97bd080cfaba6a6ada0ab9addb4adef66e0.tar.gz
Added functions to directly set the DN in a certificate or request from an RFC4514 string.
Diffstat (limited to 'lib/x509/common.h')
-rw-r--r--lib/x509/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/x509/common.h b/lib/x509/common.h
index faf29a12b2..023c22c016 100644
--- a/lib/x509/common.h
+++ b/lib/x509/common.h
@@ -78,6 +78,8 @@ int _gnutls_x509_encode_string(unsigned int etype,
int _gnutls_x509_dn_to_string (const char *OID, void *value,
int value_size, gnutls_datum_t* out);
+const char* _gnutls_ldap_string_to_oid (const char* str, unsigned str_len);
+
int _gnutls_x509_data2hex (const void * data, size_t data_size,
void * out, size_t * sizeof_out);