How to set Clear Policy while creating a Signature Field with CoSign Signature API programmatically in order to protect the signature from changes? I've found an enum SAPI_ENUM_SIG_CLEAR_POLICY in the documentaion but the usage of can't be found.
EDIT: Is it possible to realize from c# using the CoSign via SAPILib COM.
The clear policy is an extended information that is set as a custom field within the SAPI_CUSTOM_FIELD_ELEMENTS_STRUCT structure. The code below, which is based on the DevPortal's Hello World example, demonstrates how to set the clear policy of a signature field to SAPI_ENUM_SIG_CLEAR_POLICY_NEVER (the signature cannot be cleared).