diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-15 23:32:26 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-15 23:34:50 +0100 |
commit | 98cdc97bd080cfaba6a6ada0ab9addb4adef66e0 (patch) | |
tree | a0f643fe100b6743857e49192bd889b059725308 /lib/x509/common.h | |
parent | e6c4ef2a361300a5542d4aac461a85b0edbda009 (diff) | |
download | gnutls-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.h | 2 |
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); |