diff options
author | Andre Caron <andre.l.caron@gmail.com> | 2015-05-31 17:16:53 -0400 |
---|---|---|
committer | Andre Caron <andre.l.caron@gmail.com> | 2015-05-31 17:16:53 -0400 |
commit | 7ca68cda69f6904459f7362ed60ea3027a01e564 (patch) | |
tree | b2494bafaf71eeef037920e1aa1cc3703faf7d46 | |
parent | b5bb49d115e9f325d90bb96aebc15e6a1ef30f0d (diff) | |
download | cryptography-7ca68cda69f6904459f7362ed60ea3027a01e564.tar.gz cryptography-7ca68cda69f6904459f7362ed60ea3027a01e564.tar.bz2 cryptography-7ca68cda69f6904459f7362ed60ea3027a01e564.zip |
Adds OpenSSL binding for X509 names.
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/x509name.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/x509name.py b/src/cryptography/hazmat/bindings/openssl/x509name.py index a7dde87c..be5b3a75 100644 --- a/src/cryptography/hazmat/bindings/openssl/x509name.py +++ b/src/cryptography/hazmat/bindings/openssl/x509name.py @@ -34,6 +34,8 @@ unsigned long X509_NAME_hash(X509_NAME *); int i2d_X509_NAME(X509_NAME *, unsigned char **); int X509_NAME_add_entry_by_txt(X509_NAME *, const char *, int, const unsigned char *, int, int, int); +int X509_NAME_add_entry_by_OBJ(X509_NAME *, ASN1_OBJECT *, int, + unsigned char *, int, int, int); int X509_NAME_add_entry_by_NID(X509_NAME *, int, int, unsigned char *, int, int, int); X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *, int); |