Next: Protocol States
Up: Secure Transaction Protocol
Previous: Overview
Our protocol contains the following message types:
- transaction start
-
The T-start message is used to begin a transaction. This message contains:
- the identity certificate of the sender
- the signature
- transaction accept
-
The T-accept message is sent in response to a T-start message
if the process decides to accept the transaction. This message contains:
- the TID from the T-start message
- the process's own identity certificate
- the signature
- transaction data
-
Once the transaction has been established, the processes may exchange data
with T-data messages. These messages contain:
- the TID
- the data
- the context
- the signature
- transaction token
-
Communication in STP is half duplex. When one process is through
sending T-data messages, it will send a T-token message to
allow the other process to transmit. This message contains:
- the TID
- the context
- the signature
- transaction commit
-
When a process wishes to conclude a transaction successfully, it sends
a T-commit message to the other process. This message contains:
- the TID
- the context
- the signature
- transaction abort
-
When a transaction wishes to terminate a transaction without commitment,
it sends a T-abort message to the other process. This message contains:
- the TID
- the signature
- transaction fault
-
If there is a failure in communications,
the communication system will `send' a T-fault message to the
process for each message sent by that process which cannot be delivered
with the defined semantics. This message contains the TID for the
transaction during which the message was sent. Note that the T-fault
message does not indicate that the message was not transmitted correctly,
but only that the communication subsystem cannot verify the correct
transmission.
Douglas H. Steves
Sun May 4 15:10:15 CDT 1997