Integration Server 10.11 | Built-In Services Reference Guide | Security Folder | Summary of Elements in this Folder | pub.security.keystore:getKeyAndChain
 
pub.security.keystore:getKeyAndChain
WmPublic. Returns a private key and its associated certificate chain from a designated keystore.
Input Parameters
keyStoreAlias
String Alias for the keystore that contains the private key of interest and its certificate.
keyAlias
String Alias for the private key stored in the specified keystore.
Output Parameters
privateKey
java.security.PrivateKey Object representing the private key.
certChain
byte[ ] [ ] List of byte arrays representing the certificate chain associated with the private key.
Usage Notes
For information about using aliases for keystores, truststores, and private keys, see the section Keystores and Truststores in the webMethods Integration Server Administrator’s Guide . Creating a Keystore and Truststore.