added getProxyPublicKey, but it has some problems with PEMReader