Agent GET_CONFIRMATION - Using the GNU Privacy Guard
Description: Using the GNU Privacy Guard

Next: Agent HAVEKEY, Previous: Agent GET_PASSPHRASE, Up: Agent Protocol

#### 2.6.8 Ask for confirmation

This command may be used to ask for a simple confirmation by presenting a text and 2 buttons: Okay and Cancel.

           GET_CONFIRMATION description

descriptionis displayed along with a Okay and Cancel button. Blanks must be percent escaped or replaced by `+`. A `X` may be used to display confirmation dialog with a default text.

The agent either returns with an error or with a OK. Note, that the length of description is implicitly limited by the maximum length of a command.