epg-sign-string

epg-sign-string is a compiled Lisp function in `epg.el'.

(epg-sign-string CONTEXT PLAIN &optional MODE)

Sign a string PLAIN and return the output as string.
If optional 3rd argument MODE is t or 'detached, it makes a detached signature.
If it is nil or 'normal, it makes a normal signature.
Otherwise, it makes a cleartext signature.