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. Firstly, because I don't know EXACTLY how the signature is constructed. I've read PKCS#7 and the WAP specs, but they're not specific enough.
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 ???