X509_STORE_CTX object doubt

Matt Caswell matt at openssl.org
Thu May 5 12:40:16 UTC 2022



On 05/05/2022 13:02, Srinivas, Saketh (c) wrote:
> Hi,
> 
> for X509_STORE_CTX object we have a function X509_STORE_CTX_set_cert to 
> set the cert pointer  (x509* cert)
> is there any get function for this variable.
> 
> X509_STORE_CTX_get_current_cert**is not for cert. Because, there is 
> another variable current_cert.


X509_STORE_CTX_get0_cert() does this:

https://www.openssl.org/docs/man3.0/man3/X509_STORE_CTX_get0_cert.html

Matt

> 
> thanks,
> Saketh.
> 
> 
> Notice: This e-mail together with any attachments may contain 
> information of Ribbon Communications Inc. and its Affiliates that is 
> confidential and/or proprietary for the sole use of the intended 
> recipient. Any review, disclosure, reliance or distribution by others or 
> forwarding without express permission is strictly prohibited. If you are 
> not the intended recipient, please notify the sender immediately and 
> then delete all copies, including any attachments.


More information about the openssl-users mailing list