setKeyEntry
, or by a call to setEntry
with a PrivateKeyEntry
or SecretKeyEntry
.
@param alias the alias name
@param password the password for recovering the key
@return the requested key, or null if the given alias does not existor does not identify a key-related entry.
@exception NoSuchAlgorithmException if the algorithm for recovering thekey cannot be found
@exception UnrecoverableKeyException if the key cannot be recovered(e.g., the given password is wrong).
|
|
|
|
|
|
|
|