src/share/classes/org/jcp/xml/dsig/internal/dom/DOMReference.java
Print this page
*** 291,301 ****
public String getType() {
return type;
}
! public List getTransforms() {
return Collections.unmodifiableList(allTransforms);
}
public byte[] getDigestValue() {
return (digestValue == null ? null : digestValue.clone());
--- 291,301 ----
public String getType() {
return type;
}
! public List<Transform> getTransforms() {
return Collections.unmodifiableList(allTransforms);
}
public byte[] getDigestValue() {
return (digestValue == null ? null : digestValue.clone());
*** 641,651 ****
XMLSignatureInput xsi = ad.getXMLSignatureInput();
if (xsi.isNodeSet()) {
try {
final Set<Node> s = xsi.getNodeSet();
return new NodeSetData() {
! public Iterator iterator() { return s.iterator(); }
};
} catch (Exception e) {
// log a warning
log.log(java.util.logging.Level.WARNING, "cannot cache dereferenced data: " + e);
return null;
--- 641,651 ----
XMLSignatureInput xsi = ad.getXMLSignatureInput();
if (xsi.isNodeSet()) {
try {
final Set<Node> s = xsi.getNodeSet();
return new NodeSetData() {
! public Iterator<Node> iterator() { return s.iterator(); }
};
} catch (Exception e) {
// log a warning
log.log(java.util.logging.Level.WARNING, "cannot cache dereferenced data: " + e);
return null;