Parsing ocsp response data to locate the correct one

2013-03-04 Thread Geoff Swan
Hi, I have an ocsp response in memory. The response may contain 1 or more (probably about 20) ocsp responses for certificates based on the same issuer name and issuer key. I need to locate the response that is relevant for the certificate of interest. Is the usual method to parse each response an

Parsing ocsp response to locate the correct one

2013-03-05 Thread Geoff Swan
Hi, I have an ocsp response in memory. The response may contain 1 or more (probably about 20) ocsp responses for certificates based on teh same issuer name and issuer key. I need to locate the response that is relevant for the certificate of interest. Is the usual method to parse each response and

Re: Parsing ocsp response data to locate the correct one

2013-03-05 Thread Geoff Swan
On 5/03/2013 10:56 PM, Dr. Stephen Henson wrote: > On Tue, Mar 05, 2013, Geoff Swan wrote: > >> Hi, >> >> I have an ocsp response in memory. The response may contain 1 or more >> (probably about 20) ocsp responses for certificates based on the same >> issuer

Getting cert serial from an OCSP single response

2022-10-27 Thread Geoff Swan
I've been going over the openssl-3 documentation, trying to upgrade some 1.0.2 code but I think I might have missed something somewhere. I'm trying to get the cert serial number (or the ocsp_certid structure) from an OCSP single response, obtained from a basic respose such as: single = OCSP_r

Re: Getting cert serial from an OCSP single response

2022-10-30 Thread Geoff Swan
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);

Re: [openssl-users] LMDB use of sparse or non-sparse data file

2015-03-21 Thread Geoff Swan
Sorry, wrong mailing list! On 22/03/2015 10:47 AM, Geoff Swan wrote: > I had to duplicate an LMDB database for replication recently, and used > mdb_copy to do so. > One server is using the original data.mdb database (which is sparse) and > the other is using the mdb_copy non-sparse d

[openssl-users] LMDB use of sparse or non-sparse data file

2015-03-21 Thread Geoff Swan
I had to duplicate an LMDB database for replication recently, and used mdb_copy to do so. One server is using the original data.mdb database (which is sparse) and the other is using the mdb_copy non-sparse data.mdb file. The two servers are identical (hardware, OS, software and configuration). Open