Set a legacy PEM password callback used to prompt for a passphrase.
Declared in <openssl/decoder.h>
int
OSSL_DECODER_CTX_set_pem_password_cb(
OSSL_DECODER_CTX* ctx,
pem_password_cb* cb,
void* cbarg);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| ctx | Decoder context to configure. |
| cb | PEM-style password callback, or NULL to clear. |
| cbarg | Opaque argument passed to cb. |