Revert "added X509Certificate"

This reverts commit d9cd915db6466e6f0fbaf46097304a505b0f9a30.