FormSigner¶
-
public class
FormSigner
¶
Constructors¶
Methods¶
signForm¶
-
public void
signForm
(JID to, Form form)¶ Sign given form with current time. Signature will be added to form.
Parameters: - to – the full destination address, including resource, if any.
- form – form form to sign.
Throws: - FormSignerException – when the key is invalid or the algorithm is not supported