generateX509Certificate(PrivateKey key,
String provider)
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing, and the passed in source
of randomness (if required).