I'm completely stumped.
I have got the SignedContent from the Crypto.signText call, and I don't know how to get the digest from it.
All i've done so far is decoded it from base64.
Possibly it is BER encoded and if it is how do I extract the message digest ???