On Mon, Apr 6, 2020 at 9:44 PM William Roberts <bill.c.roberts@xxxxxxxxx> wrote: > > > There's setter functions now. See: > https://www.openssl.org/docs/man1.1.0/man3/RSA_set0_key.html Thanks, yes it does look like that replaces direct access to "n" and "e". It's a hack, but it might work for the moment. Ideally though I wouldn't be reliant on offsets into the binary SPKI structure :-) any help with SPKI welcome! J