Friday, October 23, 2009

Chapter 5: Object Description in Cryptography Using ASN.1















































Chapter 5: Object Description in Cryptography Using ASN.1




Overview



At
this point one thing probably has become obvious to you. There are a
number of areas in cryptography that, in order for communication to
take place, require two implementations to have the same idea about how
algorithms are implemented as well as have a common language for
exchanging required parameter information for those algorithms.


This chapter introduces ASN.1, which is a language designed for just this purpose. By the end of this chapter, you should




  • Have enough knowledge to read and understand most ASN.1 modules related to cryptography




  • Understand the basic ASN.1 types and the relevant ASN.1 binary encoding rules




  • Understand how ASN.1 binary encoding can be used with the Java APIs for encoding AlgorithmParameters




  • Understand how public and private keys can be encoded as ASN.1 objects and re-created later




Finally, you will see how to use the EncryptedPrivateKeyInfo class defined in the JCE, as well as see what is taking place when it does its job.







































No comments: