*/
private synchronized KeyStore getTrustStoreUsingCallback(Map runtimeProps) {
if (trustStore == null && truststoreHandler != null) {
try {
KeyStoreCallback cb = new KeyStoreCallback();
SecurityUtil.copy(cb.getRuntimeProperties(), runtimeProps);
Callback[] cbs = new Callback[]{cb};
this.truststoreHandler.handle(cbs);
trustStore = cb.getKeystore();
if (trustStore == null) {
log.log(Level.SEVERE, LogStringsMessages.WSS_1536_NO_TRUSTSTORE_SET_IN_TRUSTSTORECALLBACK());
throw new XWSSecurityRuntimeException("No TrustStore set in KeyStorCallback by CallbackHandler");
}
} catch (IOException ex) {