Add implementation for converting encrypted key from PEM.

The implementation is ported from [jGlobus](http://www.globus.org/toolkit/jglobus/), a Java client libraries for [Globus Toolkit](http://www.globus.org/).