to be honest I do not know if PCKS#11 requires some standard behaviour
on the part of the applet, if so I dont see how we will conditionally
sign while displaying the amount and adress
I have never programmed with PCKS#11 but I had the impression its more
of a suite of cryptographic protocols (in cryptography sense)
implemented with carefully verified padding etc, an out of the box
suite you can install and deploy on javacards such that a computer
knowing your public key can log you in if you enter your SC and PIN.
But really I dont know, just dont see ECDSA stuff, cant imagine myself
forcing me to use a (probably very good quality) crypto suite, if
bitcoin doesnt use the suite (full of its own idiosynchrancies, own
double hashing throw in some RIPEMD because we can, incoherent padding
etc) im not sure it would help. I *would* use this suit in projects
where I have to make/glue code to a PCKS#11 target... in our case we
cant change/dictate the bitcion client to accept PCKS#11 signatures,
so out with the suite. (for completely different project I intend to
use this or similar suite though)