Summary

  

This chapter discussed how Java implements key generation from the key generator engine classes. Several key sets for both key pairs and secret keys are supported by the out-of-the-box providers. The key generators have engine classes that perform the lookup for service providers. Keys have specific key parameters that can be saved to a stream and retrieved for later use.

An understanding is needed on how to look up the service provider to avoid any issues during the lookup, such as an incorrect classpath. The keys that are generated are the secret key and key pair. The key pair is used when two keys are required to encrypt and decrypt messages where the private key is always kept protected. The secret key is used for both encryption and decryption. With the secret key, the distribution is believed to be secure, meaning that the people and systems that get the key can be trusted.

  


Java Security Solutions
Java Security Solutions
ISBN: 0764549286
EAN: 2147483647
Year: 2001
Pages: 222

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net