1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/soap_or_rpc_tsa.cfg
2015-01-23 17:24:36 +01:00

87 lines
3.3 KiB
INI

## ------------------------------------------------------------------------------------------------------
## soap or rpc - plugin parameters
## ------------------------------------------------------------------------------------------------------
## METHOD_NAME name of method
## COMMAND command to execute
## ENVIRONMENT environment for command to execute
## RESPONSE_TYPE input/output type of the command ( success_or_failure |
## stdin_success_or_failure |
## standard_output |
## stdin_standard_output |
## standard_output_binary |
## stdin_standard_output_binary )
## ------------------------------------------------------------------------------------------------------
## rpc {
## soap {
## SOAP or RPC services
## ------------------------------------------------------------------------------------------------------
## ENV[HOME] = Base directory for op
## ENV[FILE_LOG] = Log file for command
## ENV[MSG_LOG] = Log separator
## ENV[DEBUG] = Enable debugging
## ENV[OPENSSL] = Openssl path
## ENV[ENGINE] = Openssl Engine to use
## ------------------------------------------------------------------------------------------------------
Method_01 {
## Creazione time stamp response....
## request = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input (binary)
## token = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input
## tsa_section = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input
## policy = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input
METHOD_NAME RPL1
## ENV[OPENSSL_CNF] = Openssl configuration
## ENV[TSA_CACERT] = TSA CA chain certificate
## ENV[TSA_CERT] = TSA certificate
## ENV[TSA_KEY] = TSA private key
## ENV[PASSWORD] = Password for key decryption
ENVIRONMENT "HOME=TSA \
OPENSSL=bin/openssl \
OPENSSL_CNF=CA/openssl.cnf \
TSA_CACERT=CA/cacert.pem \
TSA_CERT=CA/server.crt \
TSA_KEY=CA/server.key \
PASSWORD=caciucco"
COMMAND TSA_command/tsa_REPLY_BIN.sh
RESPONSE_TYPE stdin_standard_output
}
Method_02 {
## Creazione time stamp response....
## request = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input (base64 encoded)
## token = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input
## tsa_section = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input
## policy = stringa "xxxxxxxxxxxxxxxxxxxxxxx" input
METHOD_NAME RPL2
## ENV[OPENSSL_CNF] = Openssl configuration
## ENV[TSA_CACERT] = TSA CA chain certificate
## ENV[TSA_CERT] = TSA certificate
## ENV[TSA_KEY] = TSA private key
## ENV[PASSWORD] = Password for key decryption
ENVIRONMENT "HOME=TSA \
OPENSSL=bin/openssl \
OPENSSL_CNF=CA/openssl.cnf \
TSA_CACERT=CA/cacert.pem \
TSA_CERT=CA/server.crt \
TSA_KEY=CA/server.key"
COMMAND TSA_command/tsa_REPLY_B64.sh
RESPONSE_TYPE standard_output_binary
}
##}