[#OSSL_DECODER_CTX_set_passphrase_ui] = OSSL_DECODER_CTX_set_passphrase_ui :mrdocs: Set a UI method for passphrase prompting on a decoder context. == Synopsis Declared in `<openssl/decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_DECODER_CTX_set_passphrase_ui( xref:OSSL_DECODER_CTX.adoc[OSSL_DECODER_CTX]* ctx, xref:UI_METHOD.adoc[UI_METHOD] const* ui_method, void* ui_data); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Decoder context to configure. | *ui_method* | UI_METHOD used to read passphrases, or NULL for the default. | *ui_data* | Application data passed to the UI method. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#