KeyManager.getPublicKeyFromTrustore

Returns Key from the system key store for a given alias name and password. The system trust store is used to store third party trusted certificates and keys

returns java.security.Key

Parameters

java.lang.String  alias,  java.lang.String  password,