Added support code for RSA and EC key encoding (including reconstruction of all publi...