X509: factorize some code in prevision of CRL support.
X509: factorize some code in prevision of CRL support.

phpseclib/phpseclib,melya/phpseclib,kenichiii/phpseclib,danog/phpseclib,metaclassing/phpseclib,phpseclib/phpseclib-php5,ericariyanto/phpseclib,creatuity/phpseclib,thaigialai1987/phpseclib,creatuity/phpseclib,splitice/phpseclib,splitice/phpseclib,ericariyanto/phpseclib,danog/phpseclib,metaclassing/phpseclib,melya/phpseclib,paragonie-scott/phpseclib,terrafrost/phpseclib,kenichiii/phpseclib,phpseclib/phpseclib-php5,paragonie-scott/phpseclib,thaigialai1987/phpseclib