O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

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

Signed Code

Beans can be digitally signed to guarantee the end user that a third party has not modified the file. Users must decide if they trust the author, but at least they know who created the bean. When you digitally sign a bean, you actually add a digital signature to the bean's JAR file, which means you end up digitally signing the whole JAR package.

Creating Digitally Signed JAR Files

Digitally sign your beans by generating your own digital signature and then including the signature in the bean's JAR file. To generate a digital signature, your identity profile must be included in your keystore file as a digital certificate along with a pair of encryption keys.

Creating a Keystore and Keys Using keytool

The first step to creating your ...

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