====== API Configuration ====== A sample configuration file is coming with ESYA Signature API. By editing this file, signature creation and verification settings can be specified and modified at run-time. ===== Language Settings ===== Specifies the language of the API messages. ===== HTTP and Proxy Settings ===== If the API runs behind a proxy server, then the http settings take place in this section 2000 ===== Timestamp Server ===== If the signature type is more advanced than the basic electronic signature (ES-BES), then it includes one or more timestamps. Thetimestamp related configuration (i.e timestamp server address etc.) can be performed here. You can leave fields ''userid-passwords'' empty if you are using a timestamp server other than ESYA Timestamp Server. http://10.3.0.21 1 12345678 SHA-1 ===== Algorithms ===== The digest algorithm to be used when creating hash of the content to be signed is determined by ''digest-alg''. ''signature-alg'' parameter defines the signature algorithm. SHA-256 RSA-with-SHA256 ===== Certificate Validation ===== Certificate validation parameters are defined within the tag '''' Those parameters are: ^ certificate-validation-policy-file | certificate validation policy file. used as default if the attribute 'for' is not used. This attribute can be assigned as ''QualifiedCertificate'', ''MaliMuhurCertificate'', ''TimeStampingCertificate'' to define a policy file according to the certificate type. | ^ grace-period-in-seconds | The minimum required time the CRL(Certificate Revocation List) must be created after the certificate validation time | ^ last-revocation-period-in-seconds | the maximum time before which the crls published after the certificate validation time are considered as valid. | ^ use-validation-data-published-after-creation | The revocation info is required to be published after the signature creation time. | ^ validate-certificate-before-signing | Validate the signer certificate before signing. For example, you can set this false in order not to repeat validation of the user certificates unnecessarily if you validate once at the system startup. | MA3/api-signature/testresources/certval-ug-policy.xml //path/to/certval-mm-policy.xml 86400 17280000 false false ===== Parameters ===== Other validation parameters are define within the tag ''. Those are: Diğer doğrulama parametreleri '''' tag'ı içinde belirtilir. Bunlar: **force-strict-reference-use**: Use only the validation data included in the signature. **check-policy-uri**: Check the policy info in the signature is the digest of the policy info at the specified url. **validate-timestamp-while-signing**: Validate the timestamp while creating signature. **write-referencedvalidationdata-to-file-on-upgrade**: Write the certificate validation references to a file (For debug purposes) false false false false