Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | 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 .