Moved NymID and PublicKey to ICrypto