![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
int
DESCRIPTION
The PEM header may indicate that the following data is encrypted; if so, the data is decrypted, optionally using cb and u, as described in pem_password_cb(3). Some data types have compatibility aliases, such as a file
containing X509 CERTIFICATE matching a request for the deprecated type
CERTIFICATE. The actual type indicated by the file is returned in
*pnm if pnm is
non- The returned data is the DER-encoded form of the requested type, in *pdata with length *plen. The caller must free the storage pointed to by *pdata. RETURN VALUES
ERRORSDiagnostics that can be retrieved with ERR_get_error(3), ERR_GET_REASON(3), and ERR_reason_error_string(3) include:
Additional types of errors can result from PEM_read_bio(3). SEE ALSOPEM_ASN1_read(3), PEM_read(3), PEM_read_bio_PrivateKey(3), PEM_X509_INFO_read(3) STANDARDSRFC 1421: Privacy Enhancement for Internet Electronic Mail (PEM), Part I HISTORY
|