}
private synchronized CertStore getCertStoreUsingCallback(Map runtimeProps) {
if (this.certstoreHandler != null) {
//keep the certstore handy...
CertStoreCallback cb = new CertStoreCallback();
SecurityUtil.copy(cb.getRuntimeProperties(), runtimeProps);
Callback[] callbacks = new Callback[]{cb};
try {
this.certstoreHandler.handle(callbacks);
this.certStore = cb.getCertStore();
} catch (UnsupportedCallbackException ex) {
log.log(Level.SEVERE, LogStringsMessages.WSS_1529_EXCEPTION_IN_CERTSTORE_CALLBACK(), ex);
throw new XWSSecurityRuntimeException(ex);
} catch (IOException ex) {
log.log(Level.SEVERE, LogStringsMessages.WSS_1529_EXCEPTION_IN_CERTSTORE_CALLBACK(), ex);