I need to know what encoding
https://msdn.microsoft.com/en-us/library/bb347054(v=vs.110).aspx
ECDsaCng.SignData Method (Byte[])
is using for it's byte array by default and how to convert it to a DER format accepted by
https://www.openssl.org/docs/manmaster/crypto/i2d_ECDSA_SIG.html
so that I can verify my C# generated ECDSA signature in OpenSSL using the method ECDSA_do_verify
.
I know its SHA1 and I know how to load that digest, I just don't know what the byte encoding is for the ECDsaCng.SignData
method, nor how to convert it to DER format, if I even need to do that.