Download Technical Manual
Transcript
HANDLE.NET (Ver. 7) Technical Manual Use the following lines to specify mandatory and optional session setup data: USESESSION:<session_on_or_off_flag> PUBEXNGKEYFILE:public_exchange_key_file PUBEXNGKEYREF:pub_exchange_key_ref_index:pub_exchange_key_ ref_handle PRIVEXNGKEYFILE:private_exchange_key_file PASSPHRASE:pass_phrase_for_private_exchange_key OPTIONS:<encrypt><authenticate><fallback on challenge response> TIMEOUT:time_out_in_hours End the 'SESSIONSETUP' operation with a blank line. In the above lines, the 'USESESSION' flag is mandatory. Either 'PUBEXNGKEYFILE:' or 'PUBEXNGKEYREF:', and 'PRIVEXNGKEYFILE:', 'OPTIONS:', 'TIMEOUT:' are optional. 'PASSPHRASE:' is conditional. If 'OPTIONS:' is omitted, session messages will neither be encrypted nor authenticated; however, the "If session fails, use challenge response" flag will be set to make sure requests are carried through without session. The 'SESSIONSETUP' line must come first. The remaining lines can be in any order. Do not include a blank line until it ends. Example 1: Use public exchange key from server. SESSIONSETUP USESESSION:1 Example 2: Use public exchange key from a file (client provides exchange keys). SESSIONSETUP USESESSION:1 PUBEXNGKEYFILE:c:\hs\bin\PubKey.bin PRIVEXNGKEYFILE:c:\hs\bin\PrivKey.bin PASSPHRASE:secret OPTIONS:111 TIMEOUT:24 Example 3: Use public exchange key from a handle value reference (client provides exchange keys). SESSIONSETUP USESESSION:1 PUBEXNGKEYREF:300:0.NA/12345 PRIVEXNGKEYFILE:c:\hs\bin\PrivKey.bin 3.9 Handle Value Line Format Each handle value line is composed of: 26