You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!this.contains(Transforms.TRANSFORM_ENVELOPED_SIGNATURE)) throwSignatureException("Transform: ${Transforms.TRANSFORM_ENVELOPED_SIGNATURE} mangler! $this")
102
+
if (!this.contains(Transforms.TRANSFORM_XPATH)) log.warn("Transform: ${Transforms.TRANSFORM_XPATH} mangler! $this") // throw SignatureException(("Transform 2 har feil uri! ${reference.transforms.item(1).uri}"))
103
+
if (!this.contains(Transforms.TRANSFORM_C14N_OMIT_COMMENTS)) throwSignatureException(("Transform: ${Transforms.TRANSFORM_C14N_OMIT_COMMENTS} mangler! $this"))
106
104
}
107
-
if (reference.transforms.item(index).uri !=Transforms.TRANSFORM_C14N_OMIT_COMMENTS) throwSignatureException(("Transform: ${Transforms.TRANSFORM_C14N_OMIT_COMMENTS} har feil uri! ${reference.transforms.item(index).uri}"))
108
105
} elseif (!uri.startsWith(CID_PREFIX)) throwSignatureException("Ugyldig URI $uri! Kun reference uri som starter med $CID_PREFIX er tillatt")
109
106
}
110
107
if (!foundRootReference) throwSignatureException("Root reference mangler!")
0 commit comments