Added an API for converting X509 to/from cryptography (#640)

* Added an API for converting X509 to/from cryptography

* changelog
3 files changed