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_rsign.cfg
2015-01-23 17:24:36 +01:00

74 lines
2.7 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
## ENV[PASSWORD] = Password for key decryption
## ENV[OPENSSL_CNF] = Openssl configuration
## ------------------------------------------------------------------------------------------------------
Method_01 {
## Firma dati...
## data = stringa "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" input (binary)
## key = stringa "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" input (formato PEM)
## result = signed data
METHOD_NAME SIG1
## ENV[OPENSSL_CNF] = Openssl configuration
## ENV[PASSWORD] = Password for key decryption
## ENV[TMPDIR] = Temporary directory
ENVIRONMENT "HOME=RSIGN \
PASSWORD=caciucco"
COMMAND RSIGN/RSIGN_command/rsign_SIGN_BIN.sh
RESPONSE_TYPE stdin_standard_output
}
Method_02 {
## Firma dati...
## data = stringa "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" input (base64 encoded)
## key = stringa "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" input (formato PEM)
## result = signed data
METHOD_NAME SIG2
## ENV[OPENSSL_CNF] = Openssl configuration
## ENV[PASSWORD] = Password for key decryption
## ENV[TMPDIR] = Temporary directory
ENVIRONMENT "HOME=RSIGN \
PASSWORD=caciucco"
COMMAND RSIGN/RSIGN_command/rsign_SIGN_B64.sh
RESPONSE_TYPE standard_output_binary
}
##}