title: How to instantiate javax.security.X509Certficate object from a p12 certificate (contains certificate + private key)
body: <p>X509Certificate is only instantiatable using the contents of a certificate (.cer file). How to instantiate this object using a .p12 file that contains both the certificate and the private key?</p>