O'Reilly logo

J2EE™ Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice by Pankaj Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java API for XML Encryption

The state of a standard Java API for the XML Encryption is no better than that of the XML Signature. A Java Specification Request, JSR-106 titled XML Digital Encryption APIs, was accepted by JCP at the same time as the JSR for the XML Signature. However, at the time of writing this chapter (March 2003), no public specification has been published.

We used VeriSign's TSIK for writing XML Signature earlier in this chapter. This toolkit also supports XML Encryption, following the same structure of API classes as the XML Signature. Again, the emphasis is on ease of use, and not on comprehensive support for the complete specification.

Let us use TSIK to perform XML Encryption operations.

XML Encryption with TSIK

The best ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required