Creates an X500PrivateCredential that associates an X.509 certificate,
a private key and the KeyStore alias.
Parameters:
- cert - X509Certificate
- key - PrivateKey for the certificate
- alias - KeyStore alias
Throws:
- IllegalArgumentException - if either cert
,
key
or alias
is null