Read a PKCS#7 structure from a PEM-encoded FILE stream.
Declared in <openssl/pem.h>
PKCS7*
PEM_read_PKCS7(
FILE* fp,
PKCS7** x,
pem_password_cb* cb,
void* u);
PKCS#7 object on success, or NULL on failure.
| Name | Description |
|---|---|
| fp | FILE to read from. |
| x | Optional address of a PKCS7 pointer to reuse, or NULL. |
| cb | Password callback for encrypted PEM, or NULL. |
| u | Application data passed to cb. |