throw new RuntimeException(e);
}
}
public OutflowConfiguration getClientOutflowConfiguration() {
OutflowConfiguration ofc = new OutflowConfiguration();
// ofc.setActionItems("Timestamp Signature Encrypt");
ofc.setActionItems("Signature Encrypt Timestamp");
ofc.setUser("alice");
ofc.setEncryptionUser("ip");
ofc.setSignaturePropFile("rahas/rahas-sec.properties");
ofc.setSignatureKeyIdentifier(WSSHandlerConstants.BST_DIRECT_REFERENCE);
ofc.setEncryptionKeyIdentifier(WSSHandlerConstants.SKI_KEY_IDENTIFIER);
ofc.setEncryptionKeyTransportAlgorithm(XMLCipher.RSA_OAEP);
// ofc.setEncryptionSymAlgorithm(EncryptionConstants.ALGO_ID_BLOCKCIPHER_AES256);
ofc.setPasswordCallbackClass(PWCallback.class.getName());
ofc.setEnableSignatureConfirmation(false);
// ofc.setSignatureParts("{Element}{http://schemas.xmlsoap.org/soap/envelope/}Body;" +
// "{Element}{" + RahasConstants.WSA_NS + "}To;" +
// "{Element}{" + RahasConstants.WSA_NS + "}ReplyTo;" +
// "{Element}{" + RahasConstants.WSA_NS + "}MessageID;" +
// "{Element}{" + RahasConstants.WSA_NS + "}Action;" +