private String getAlgorithm(MessageContext msgCtxt) throws Exception {
String algorithm = ((String) this.properties.get("algorithm")).trim();
if (algorithm == null || algorithm.equals("")) {
throw new IllegalStateException("algorithm is not specified or is empty.");
}
<BUG>algorithm = resolvePropertyValue(algorithm, msgCtxt);
</BUG>
if (algorithm == null || algorithm.equals("")) {
throw new IllegalStateException("issuer is not specified or is empty.");
}

private String getAlgorithm(MessageContext msgCtxt) throws Exception {
String algorithm = ((String) this.properties.get("algorithm")).trim();
if (algorithm == null || algorithm.equals("")) {
throw new IllegalStateException("algorithm is not specified or is empty.");
}
algorithm = (String) resolvePropertyValue(algorithm, msgCtxt);
if (algorithm == null || algorithm.equals("")) {
throw new IllegalStateException("issuer is not specified or is empty.");
}
