We are trying to verify a DSA signature that was generated outside of NSS using NSS methods. It consists solely of the r+s elements put together. It seems that an NSS signature is ASN.1 encoded so if we pass the bare signature in we are getting SEC_ERROR_BAD_DER (-8183). I assume this is because it tries to decode the data we pass in but since it isn't encoded it gets an error. Ultimately we'd like to be able to go both ways and export a signature that is compatible with the outside method (bare r+s) as well as importing. Can you provide any insight on this?

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

Reply via email to