Hello,

I'm trying to understand or create an efficient procedure for using ECDSA for authentication of a file. As far as I can see, one sends the file, and sends the signature as a DER encoded pair or integers, in a separate file. The receiver does need the public key point to verify the signature, though, as well as knowledge of the EC curve parameters or curve name, and the receiver also needs to know which digest was used for the signature. I am wondering if there is a standard for ASN.1 / DER file packaging of the curve, public point, digest, and signature as a single DER encoded file? If so,

1. Can OpenSSL generate that packaged file? If so, where is this documented?

2.  Where is such a format standard itself documented?

I suppose I could make up such a format, such a as an ASN.1 sequence of curve oid, Q point octet, and signature, but I hope that somewhere, someone has already standardized this?


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]
  • [no subject] Michael Fedor
    • ECDSA and signatures William Hererra

Reply via email to