Modified KeyManager to support reading in encrypted public keys and to expect a public key for the KDC. Also cleaned up some of the other methods to accept the current message formats.