Internal+External Data In One Digital Signature
Is it possible to generate a single digital signature for both external data (a file) and internal data (XML metadata relevant to the file)? From the Java Digital Signature API documentation, it would appear that "detached" can handle external data OR internal "sibling" data but not both. And it would appear that both "enveloping" and "enveloped" are strictly internal. If the answer is "yes", a link to sample code would be greatly appreciated.

