I will change the patch to use commons-codec for Base64 encoding.
> Does this code only support RSA keys? Should we generalize to support DSA keys too?
It supports only RSA keys but this limitation was already in the code base. Should we keep things the way they are? I will add a note to confluence explaining the restriction.
> Nits: the indentation should be two spaces, and star imports should be avoided.
Ok. I will fix that.