Update X509.py

integrate data from 
https://github.com/mrjefftang/M2Crypto/commit/5b817887d561fedafd705c42270c0ab5ca609a29