I am currently trying to sign some data in tbird and the signature is not valid.

The incoming data I get (C_Sign()) is an ASN1_STRING of the SHA1 hash of the message. Currently, I am encrypting the whole thing and returning raw data back.

Should I be decoding the ASN1 input, encrypting the hash, then returning it as ASN1 encoded?

Not sure what it expects.

Christian
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to