X-Git-Url: https://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fx509.py;h=a3335fb67aacc5d3c2211d0da6b45d58b8e8636b;hb=182740bfaccacd20d10148b7d9bf7ed588d31ce4;hp=b018f782b90f6f56edd6ef3ab7c271796ffcf67e;hpb=9f76d65e4f372faa0f96d873d3ef07ca027038b9;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/x509.py b/ctypescrypto/x509.py index b018f78..a3335fb 100644 --- a/ctypescrypto/x509.py +++ b/ctypescrypto/x509.py @@ -622,10 +622,17 @@ libcrypto.PEM_write_bio_X509.argtypes = (c_void_p, c_void_p) libcrypto.ASN1_TIME_print.argtypes = (c_void_p, c_void_p) libcrypto.ASN1_INTEGER_get.argtypes = (c_void_p, ) libcrypto.ASN1_INTEGER_get.restype = c_long +libcrypto.X509_check_ca.argtypes = (c_void_p, ) libcrypto.X509_get_serialNumber.argtypes = (c_void_p, ) libcrypto.X509_get_serialNumber.restype = c_void_p +libcrypto.X509_get_subject_name.argtypes = (c_void_p, ) +libcrypto.X509_get_subject_name.restype = c_void_p +libcrypto.X509_get_issuer_name.argtypes = (c_void_p, ) +libcrypto.X509_get_issuer_name.restype = c_void_p libcrypto.X509_NAME_ENTRY_get_object.restype = c_void_p libcrypto.X509_NAME_ENTRY_get_object.argtypes = (c_void_p, ) +libcrypto.X509_NAME_ENTRY_get_data.restype = c_void_p +libcrypto.X509_NAME_ENTRY_get_data.argtypes = (c_void_p, ) libcrypto.OBJ_obj2nid.argtypes = (c_void_p, ) libcrypto.X509_NAME_get_entry.restype = c_void_p libcrypto.X509_NAME_get_entry.argtypes = (c_void_p, c_int) @@ -657,3 +664,4 @@ libcrypto.sk_pop_free.argtypes = (c_void_p, c_void_p) libcrypto.sk_push.argtypes = (c_void_p, c_void_p) libcrypto.X509_NAME_hash.restype = c_long libcrypto.X509_NAME_hash.argtypes = (c_void_p, ) +libcrypto.X509_NAME_get_index_by_NID.argtypes = (c_void_p, c_int, c_int)