Hello Geoff,
Try the following function, receive the serial number via the "pserial"
pointer. But avoid changing the number via the pserial pointer because it
points inside the OCSP_CERTID structure.
int OCSP_id_get0_info(ASN1_OCTET_STRING **piNameHash, ASN1_OBJECT **pmd,
Thanks Alexei,
I've got the OCSP_CERTID now, are there methods for getting the serial
number as a string from this?
Something like this, which does not appear to work any more:
i2s_ASN1_INTEGER(NULL, cid->serialNumber)
- Geoff
On 2022-10-31 9:00 am, Alexei Khlebnikov wrote:
fre. 28. okt.
fre. 28. okt. 2022 kl. 05:25 skrev Geoff Swan :
> I'm trying to get the cert serial number (or the ocsp_certid structure)
> from an OCSP single response
The following function gets you OCSP_CERTID from OCSP_SINGLERESP:
const OCSP_CERTID *OCSP_SINGLERESP_get0_id(const OCSP_SINGLERESP *x);
Med
https://www.openssl.org/docs/manmaster/man7/provider.html ("service
unavailable")
https://wiki.openssl.org/index.php/OpenSSL_3.0 ("unable to connect")
The urls above do not seem to work. Is this a consequence with the
recent release withdrawal?
The main web page, www.openssl.org, seems to