sign data(a, b, c, d, e, f)


Returns the signed data a by using charset b, certificate c, signature algorithm d and encoding e. If f is true, data a is added to the signed data.

Parameter Description

Parameter

Description

a

Data to sign.

b

Charset. Default: 8859_1

c

Certificate ID (local certificate).

d

Signature algorithm. Allowed values: See here. Default: SHA-1

e

Encoding. Allowed values: p7m, p7m_direct, sigdata. Default: p7m.

f

If true, the data a is added to signed data. Default: true.