![]() |
|
SignDoc SDK (C++)
5.0.1.30
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- Any SignDoc*Parameters, for compatibility with SignDoc.
The type attribute is for SignDocSignatureParameters.-->
<!ELEMENT SignDocParameters ((Boolean|Integer|Number|String|Color|Blob|TextItem|ClearTextItems|VirtualButton)*)>
<!ATTLIST SignDocParameters
type CDATA ""
>
<!-- SignDocCaptureParameters. -->
<!ELEMENT SignDocCaptureParameters ((Boolean|Integer|Number|String|Color|Blob|VirtualButton)*)>
<!-- SignDocCheckSignatureParameters. -->
<!ELEMENT SignDocCheckSignatureParameters ((Boolean|Integer)*)>
<!-- SignDocCleanParameters. -->
<!ELEMENT SignDocCleanParameters ((Boolean|Integer|Number|Void)*)>
<!-- SignDocImageParameters. -->
<!ELEMENT SignDocImageParameters ((Boolean|Integer|Number|String|Color)*)>
<!-- SignDocMatchParameters. -->
<!ELEMENT SignDocMatchParameters ((Boolean|Integer|String)*)>
<!-- SignDocRenderParameters. -->
<!ELEMENT SignDocRenderParameters ((Boolean|Integer|Number|String|String2|Color)*)>
<!-- SignDocSignatureParameters. -->
<!ELEMENT SignDocSignatureParameters ((Boolean|Integer|String|Color|Blob|Length|TextItem|ClearTextItems|Callback)*)>
<!ATTLIST SignDocSignatureParameters
type CDATA #REQUIRED
>
<!-- SignDocVerificationParameters. -->
<!ELEMENT SignDocVerificationParameters ((String|Integer|Blob)*)>
<!-- One boolean parameter. The value is in the content. It can be
either false or true. -->
<!ELEMENT Boolean (#PCDATA)*>
<!ATTLIST Boolean
name CDATA #REQUIRED
>
<!-- One integer parameter. The value is in the content. It can be
either a decimal integer, a hexadecimal integer prefixed with 0x
or a named constant (such as m_digsig_cades_detached) defined
in the class for which the parameters are used. The names of the
constants are those of the C++ and Java classes.
The value can also be a sequence of values as defined before
separated by | (and optional whitespace) for bitwise or.
Example: vf_check_revocation | vf_use_ocsp_only -->
<!ELEMENT Integer (#PCDATA)*>
<!ATTLIST Integer
name CDATA #REQUIRED
>
<!-- One floating-point number parameter. The decimal value is in the
content. -->
<!ELEMENT Number (#PCDATA)*>
<!ATTLIST Number
name CDATA #REQUIRED
>
<!-- One string parameter. The value is in the content. Leading and
trailing whitespace will be removed unless attribute trim is
false. There is a special string parameter for SignDocSignatureParameters
named "FieldName" containing the field name. -->
<!ELEMENT String (#PCDATA)*>
<!ATTLIST String
name CDATA #REQUIRED
trim (false|true) "true"
>
<!-- One string parameter with two names. The value is in the content.
Leading and trailing whitespace will be removed unless attribute
trim is false. -->
<!ELEMENT String2 (#PCDATA)*>
<!ATTLIST String2
name CDATA #REQUIRED
name2 CDATA #REQUIRED
trim (false|true) "true"
>
<!-- One color parameter. The value is in the content. The type
attribute must be either gray or rgb. In the former case, the
value is a single integer, in the latter case, it is three
integers (red, green, blue). The integers are in the range 0
(dark) through 255 (bright) and are written in decimal. -->
<!ELEMENT Color (#PCDATA)*>
<!ATTLIST Color
name CDATA #REQUIRED
type CDATA #REQUIRED
>
<!-- One void parameter. No content. -->
<!ELEMENT Void EMPTY>
<!ATTLIST Void
name CDATA #REQUIRED
>
<!-- One blob parameter. The Base64-encoded value is in the content. -->
<!ELEMENT Blob (#PCDATA)*>
<!ATTLIST Blob
name CDATA #REQUIRED
>
<!-- One length parameter. The value is in the content. -->
<!ELEMENT Length (#PCDATA)*>
<!ATTLIST Length
name CDATA #REQUIRED
type (abs|field_height|field_width) #REQUIRED
>
<!-- Remove all text item, see clearTextItems() of
SignDocSignatureParameters. -->
<!ELEMENT ClearTextItems EMPTY>
<!-- One text item. The name of the string item is in the content. -->
<!ELEMENT TextItem (#PCDATA)*>
<!ATTLIST TextItem
group (primary|secondary) #REQUIRED
halignment (left|center|right|justify|auto|default) #REQUIRED
direction (zero|ltr|rtl|default_ltr|default_rtl) #REQUIRED
>
<!-- One virtual button. The coordinates are the content (4 decimal
integers).
The cc attribute contains the coordinate system:
is cs_digitizer, cs_capture, cs_window, or cs_integer, optionally
followed by "|cs_per_1000" with optional whitespace around the
vertical line.
The id attribute contains the button identifier. -->
<!ELEMENT VirtualButton (#PCDATA)*>
<!ATTLIST VirtualButton
cs CDATA #REQUIRED
id CDATA #REQUIRED
>
<!-- One callback parameter. It indicates that setECDSA(), setPKCS7(),
setRSA(), or setTimeStamper() was called. After deserialization,
the specified function must be called again to be able to sign. -->
<!ELEMENT Callback EMPTY>
<!ATTLIST Callback
name (ECDSA|PKCS7|RSA|TimeStamper) #REQUIRED
>