s-u/PKI — pull request #2 by mbjones (2014-09-23 22:46:09+00:00)
Title: Add PKI.get_subject() function

Please consider merging this function that exposes the OpenSSL X509_get_subject_name() method to get the subject name of an X509 certificate. I'm not seeing a testing framework to add my tests to, but I tested against several existing x509 certificates. I'd like to continue exposing additional certificate inspection functions from OpenSSL if you support that, so this is a trial run before I add the other wrappers. Let me know if you'd like any coding style changes. Thanks!