Java & XMLDSig: Reference with no URI
问题 I'm trying to sign some text using XMLDSig with javax.xml.crypto.dsig.* package. I need to make a reference to some content being signed. And according to project requirements this reference should not have any URI, it means not <Reference URI="">...</Reference>, but <Reference>...</Reference>. I haven't found any info whether it is possible and correct, but requirement says that XMLDSig allows such references, maximum one per signature. Have someone faced the same problem? What can be done