load Certificate From Stream
Convenience method to load a X.509 certificate from an InputStream.
Return
A X509Certificate instance if the certificate is loaded.
Parameters
input Stream
Input stream containing certificate in PKCS#7 format.
Throws
If loading failed or certificate isn't of X.509 type.