The notes on this page shows what I did to get a spine certificate working
I may have the code for access the token from the smart card if you need that?
p.s. I knew it took around a week to get this all working, the API is pretty straight forward once you’ve got past all the tokens.