/* 45 */ this.store = store;
/* */ }
/* */
/* */ public Collection<String> process(Document message, SecurityProcess process) throws WSSecurityException
/* */ {
/* 50 */ Signature signature = (Signature)process;
/* 51 */ XMLSignature xmlSig = signature.getSignature();
/* */
/* 53 */ xmlSig.addResourceResolver(new WsuIdResolver(message));
/* 54 */ STRTransform.setSecurityStore(this.store);
/* */ try
/* */ {
/* 58 */ if (!xmlSig.checkSignatureValue(signature.getPublicKey()))
/* 59 */ throw new FailedCheckException("Signature is invalid.");
/* */ }
/* */ catch (XMLSignatureException e)
/* */ {
/* 63 */ throw new WSSecurityException("An unexpected error occured while verifying signature", e);