Since Finansiell ID-Teknik BID AB (a swedish company that provides e-legitimation (BankID)) does not support 64-bit Linux they have decided that you are not even allowed to download their application anymore.. Which is stupid, since it works on 64-bit Linux. So from now on we'll have to fake running on 32 bit to even be allowed to download it..
Anyhow, to get your (previously downloaded) bankid up and running on your 64-bit Linux in Firefox you have to install nspluginwrapper and also ia32 for the required shared 32-bit libraries:
First install the bankid application (after unpacking it of course) by using their installscript
$ sudo ./install.x.y.z.sh i
Then install ia32 and nspluginwrapper to be able to wrap the 32-bit plugin so it can run on 64-bit
$ sudo apt-get install ia32
$ sudo apt-get install nspluginwrapper
$ sudo nspluginwrapper -i /usr/lib/firefox-addons/plugin/libplugins.so
Then you should be good to go. Try it, worked for me in 64-bit Ubuntu and 64-bit Linux Mint.
And btw, this should work on a number of 32-bit plugins, not only BankID.
For swedish 64-bit Opera users, here is a guide for you! : http://blogg.solstad.se/2012/09/en-64bitars-opera-for-shb.html