| SignDocSignatureParameters Methods |
The SignDocSignatureParameters type exposes the following members.
| Name | Description | |||||||
|---|---|---|---|---|---|---|---|---|
| addTextItem | Add another string to be displayed, top down.
For DigSig signature fields, this function adds another string to
the appearance stream of PDF documents.
The first call clears any default strings.
The default values depend on the profile passed to
SignDocDocument.createSignatureParameters().
| |||||||
| clearTextItems | ||||||||
| destroy | Destroy this object, overwriting sensitive data.
After calling this method, all methods of this object will throw.
| |||||||
| Dispose | ||||||||
| Equals | (Inherited from Object.) | |||||||
| getAvailableMethods | Get a bitset indicating which signing methods are available
for this signature field.
| |||||||
| getErrorMessage | Get an error message for the last function call. | |||||||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |||||||
| getStateBlob | Get the status of a parameter. | |||||||
| getStateCol | Get the status of a parameter. | |||||||
| getStateInt | Get the status of a parameter. | |||||||
| getStateLen | Get the status of a parameter. | |||||||
| getStateStr | Get the status of a parameter. | |||||||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |||||||
| setBlob | Set a blob parameter.
| |||||||
| setColor | Set a color parameter.
| |||||||
| setInteger | Set an integer parameter.
| |||||||
| setLength | Set a length parameter. | |||||||
| setPKCS7 | Set an object which will create a PKCS #7 or CAdES signature. By default, PKCS #7 and CAdES signatures are handled internally which means that the private key must be available on this machine.Requirements for string parameters: - CommonName must not be set - Country must not be set - Locality must not be set - Organization must not be set - OrganizationUnit must not be set Requirements for integer parameters: - GenerateKeyPair must not be set - Method must be #m_digsig_pkcs7_detached, #m_digsig_pkcs7_sha1, or #m_digsig_cades_detached - SelectCertificate must be zero (which is the default value) Requirements for blob parameters: - Certificate must not be set - CertificatePrivateKey must not be set The SignPKCS7 interface is quite hard to use, please use setRSA() and the SignRSA interface instead. | |||||||
| setRSA | Set an object which will compute an RSA signature.
By default, RSA signatures are computed internally which means
that the private key must be available on this machine.
Requirements for integer parameters:
- GenerateKeyPair must not be set
- SelectCertificate must be zero (which is the default value)
.
Requirements for blob parameters:
- Certificate must not be set
- CertificatePrivateKey must not be set
.
| |||||||
| setString | Set a string parameter.
| |||||||
| ToString | (Inherited from Object.) |