This thread actually has some code on it for doing this:
https://www.mail-archive.com/openssl-users@openssl.org/msg86672.html
Bill
On Mon, Aug 26, 2019 at 9:46 AM Ken Goldman wrote:
>
> On 8/17/2019 5:35 AM, Billy Brumley wrote:
> > Hey Ken,
> >
> >> I have an ECDSA signature supplied to me as
On 8/17/2019 5:35 AM, Billy Brumley wrote:
Hey Ken,
I have an ECDSA signature supplied to me as R and S byte arrays and
lengths (from an HSM).
How do I add them to the X509 structure?
Is there an API, a set of calls, or do you have any hints?
You might be looking for ECDSA_SIG_set0:
Hey Ken,
> I have an ECDSA signature supplied to me as R and S byte arrays and
> lengths (from an HSM).
>
> How do I add them to the X509 structure?
>
> Is there an API, a set of calls, or do you have any hints?
You might be looking for ECDSA_SIG_set0:
I have an ECDSA signature supplied to me as R and S byte arrays and
lengths (from an HSM).
How do I add them to the X509 structure?
Is there an API, a set of calls, or do you have any hints?
~~
For RSA, I simply filled in the ASN1_BIT_STRING length, data, and flags,
but an RSA signature is