Hi, you can find this sort of information in the manual pages,
either on you UNIX*SH operating system, or online on our website: HTH, Matthias https://www.openssl.org/docs/man1.1.1/man3/PEM_read_bio_X509.html:
RETURN VALUES
The read routines return either a pointer to the structure read or NULL if an error occurred.
https://www.openssl.org/docs/man1.1.1/man3/d2i_X509_bio.html
RETURN VALUES d2i_TYPE(), d2i_TYPE_bio() and d2i_TYPE_fp() return a valid
TYPE structure or NULL if an error occurs. If the "reuse" capability has been used with a valid structure being passed in via
a, then the object is freed in the event of error and *a is set to NULL. i2d_TYPE() returns the number of bytes successfully encoded or a negative value if an
error occurs. i2d_TYPE_bio() and i2d_TYPE_fp() return 1 for success and 0 if an error occurs.
From:
openssl-users <openssl-users-bounces@xxxxxxxxxxx>
On Behalf Of Kumar Mishra, Sanjeev Hi ,
I have two queries to be asked.
Thanks, Sanjeev
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature