Set a legacy PEM password callback used to prompt for a passphrase.
Synopsis
Declared in <openssl/encoder.h>
int
OSSL_ENCODER_CTX_set_pem_password_cb(
OSSL_ENCODER_CTX* ctx,
pem_password_cb* cb,
void* cbarg);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Encoder context to configure. |
cb |
PEM‐style password callback, or NULL to clear. |
cbarg |
Opaque argument passed to |
Created with MrDocs