Hi HC,

If the CryptoApplet JavaScript interface you only have one method exposed:

public String[] verifyXAdESDataUrl(final String input)

This method only allows to verify XAdES signatures, but more
verification methods could be added (all crypto formats have a
sign/verify classes implemented).

For XML Signature you have and example showing verification process:

http://forja.uji.es/plugins/scmsvn/viewcvs.php/trunk/uji-tests/src/test/java/es/uji/security/crypto/xmldsign/TestXMLDsigVerifier.java?revision=389&root=cryptoapplet&view=markup

---
Regards,
====================================
Ricardo Borillo Domenech
http://xml-utils.com / http://twitter.com/borillo



On Sat, Jun 26, 2010 at 18:29, Hoi Yuen Chong <[email protected]> wrote:
> Hi,
> Any suggestions?
> By the way, in order to get XMLDSIG signature to work, I have to use:
> cryptoapplet.setSignatureOutputFormat("XMLSIGNATURE");
> instead of
> cryptoapplet.setSignatureOutputFormat("XMLDSIG");
>
> Thank you.
> HC
>
>
> On Thu, Jun 24, 2010 at 6:08 PM, Hoi Yuen Chong <[email protected]>
> wrote:
>>
>> Hi,
>> I am currently testing the CryptoApplet, manage to get the XMLDSIG
>> signature to work nicely.
>> Do you have any tips or suggestions on how I can validate or verify the
>> signature?
>> Is there a feature in the Applet to do this?
>> Thank you and regards.
>> Hoi Chong
>
>
> _______________________________________________
> CryptoApplet mailing list
> [email protected]
> http://llistes.uji.es/mailman/listinfo/cryptoapplet
>
>
_______________________________________________
CryptoApplet mailing list
[email protected]
http://llistes.uji.es/mailman/listinfo/cryptoapplet

Responder a