Read an X.509 certificate from a PEM-encoded BIO.
Declared in <openssl/pem.h>
X509*
PEM_read_bio_X509(
BIO* bp,
X509** x,
pem_password_cb* cb,
void* u);
Certificate on success, or NULL on failure.
| Name | Description |
|---|---|
| bp | BIO to read from. |
| x | Optional address of an X509 pointer to reuse, or NULL. |
| cb | Password callback for encrypted PEM, or NULL. |
| u | Application data passed to cb. |