getIdentity
Get a TLSIdentity backed by the information for the passed alias.
Return
the identity
Parameters
alias
the keystore alias for the identity's entry.
Throws
on failure to get identity
Get a TLSIdentity object from the give KeyStore, key alias, and key password. The KeyStore must contain the private key along with the certificate chain at the given key alias and password, otherwise null will be returned.
Return
A TLSIdentity object.
Parameters
keyStore
KeyStore
alias
key alias
keyPassword
key password if available
Throws
on error