Hi Yvan,

yes this was helpfull. I wrote a RessourceResolver that handels a
InputStream.

Thanks a lot!

Am Mi 21.03.2007 14:50 schrieb Hess Yvan <[EMAIL PROTECTED]>:

> Hi Jochen,
> 
> In my case, I sign XML documents having also external reference (non
> XML document).
> What you have to do is to add an URI refererence to your external
> document to your XMLSignature element using something like that
> 
> sig.addDocument(uri, null, Constants.ALGO_ID_DIGEST_SHA1);
> 
> And then you have to provide a URI relover extending
> ResourceResolverSpi that will resolve your URI
> 
> sig.addResourceResolver(uriResolver);
> 
> Hope it help you.
> 
> Regards. Yvan
> 
> -----Original Message-----
> From: Jochen Zink [mailto:[EMAIL PROTECTED] 
> Sent: mercredi, 21. mars 2007 11:19
> To: security-dev@xml.apache.org
> Subject: Problems with creating a detached Signature with Java
> 
> Hello,
> 
> I'm using the security Library for java and i'm not able to create a
> detached signature of an non-xml file. Has anyone a basic example?
> With study the examples, which shipped out with the distribution, I
> was able to sign enveloped and enveloping. But I can't find a way to
> sign a binary file with a detached signature. Thanks for any Help!!!
> 
> 
> Beste Grüße/Best regards
> Jochen Zink
> 


Beste Grüße/Best regards
Jochen Zink

________________________________________________________
Jochen Zink
       
nepatec GmbH & Co. KG
Hindenburgstr. 37
30175 Hannover
Fon: 0511/935.946.51
Fax: 0511/935.946.57
Mail: [EMAIL PROTECTED]

nepatec GmbH & Co. KG
Sitz Hannover . Amtsgericht Hannover . HRA 200338
Persönlich haftende Gesellschafterin:
nepatec Verwaltungs-GmbH . Amtsgericht Hannover
HRB 200954 . Geschäftsführer: Claudius Grieser .
Burkhard Gerlts . Jörg Neumann . Frank Nitze    

Reply via email to