gnupg_setsignmode
Sets the mode for signing
&reftitle.description;
boolgnupg_setsignmode
resourceidentifier
intsignmode
Sets the mode for signing.
&reftitle.parameters;
identifier
&gnupg.identifier;
sigmode
The mode for signing.
signmode takes a constant indicating what type of
signature should be produced. The possible values are
GNUPG_SIG_MODE_NORMAL,
GNUPG_SIG_MODE_DETACH and
GNUPG_SIG_MODE_CLEAR.
By default GNUPG_SIG_MODE_CLEAR is used.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
Procedural gnupg_setsignmode example
]]>
OO gnupg_setsignmode example
setsignmode(gnupg::SIG_MODE_DETACH); // produce a detached signature
?>
]]>