5 Secure Electronic Transactions And Protocols

E-Commerce · Unit 5

Secure Electronic Transactions and Protocols

Exam-focused notes for Secure Electronic Transactions and Protocols (E-Commerce, BIT403): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

Secure Electronic Transactions and Protocols in short

Early online card payments worried both buyers and sellers. Visa and Mastercard developed the Secure Electronic Transaction (SET) protocol to make card payment on open networks safe.

Secure Electronic Transactions and Protocols: notes

SET protocol features and participants

SET (Secure Electronic Transaction) is a protocol designed to protect credit card payments over the internet. It was developed by Visa and Mastercard in the mid-1990s.

Features:

  • Confidentiality of payment and order data through encryption.
  • Integrity of messages through digital signatures.
  • Authentication of cardholder, merchant and bank through digital certificates.
  • Privacy: the merchant does not see the card number, and the bank does not see the order details.
  • Fixed message formats so different software can work together.

Participants:

  1. Cardholder: the customer who uses a payment card.
  2. Merchant: the seller of goods or services.
  3. Issuer: the bank that gave the card to the cardholder and bears the debt.
  4. Acquirer: the merchant's bank, which processes card payments for the merchant.
  5. Payment gateway: a system run by the acquirer or a third party that links SET messages to the card network.
  6. Certification authority (CA): a trusted body that issues digital certificates to the other participants.

SET gave strong security, but it needed special software for customers and was complex. It was replaced in practice by simpler TLS-based payment pages.

What this unit covers

  • SET protocol features and participants
  • Dual signature generation and application
  • Payment authorization in SET
  • Purchase request operations in SET
  • SET protocol implementation in e-commerce

SET protocol features and participants

2082 · 10 marks

What are the SET participants? Explain how dual signature is used in SET protocol? Explain the purchase request operation in SET. [10]

Show solved answer

SET Protocol: Participants, Dual Signature, and Purchase Request

1. SET Participants

The Secure Electronic Transaction (SET) protocol involves five main participants:

  1. Cardholder (Customer): The individual making the purchase using a credit or debit card. They initiate transactions and provide payment information.

  2. Merchant: The seller who receives orders from cardholders and requests payment authorization through the SET protocol.

  3. Issuer (Card Issuer Bank): The financial institution that issued the credit/debit card to the cardholder. They authorize or decline payment requests.

  4. Acquirer (Merchant's Bank): The financial institution that maintains the merchant's account and processes payment on behalf of the merchant.

  5. Payment Gateway: The intermediary system that facilitates communication between merchants and acquirers, routing transaction information securely.


2. Dual Signature in SET Protocol

Dual Signature is a cryptographic mechanism that provides authentication and non-repudiation while maintaining privacy in SET transactions.

Purpose:

  • Allows the cardholder to send order information to the merchant and payment information to the payment gateway simultaneously
  • Ensures neither the merchant nor the payment gateway can see both pieces of information
  • Provides proof that the cardholder authorized both the order and payment

How Dual Signature Works:

  1. Cardholder creates two messages:

    • Order Information (OI): Contains order details sent to merchant
    • Payment Information (PI): Contains payment/card details sent to payment gateway
  2. Hash both messages:

    • H(OI) = hash of order information
    • H(PI) = hash of payment information
  3. Concatenate the hashes:

    • Combined = H(OI) || H(PI)
  4. Create dual signature:

    • DS = E_private[H(H(OI) || H(PI))]
    • Sign the hash of concatenated hashes using cardholder's private key
  5. Send to both parties:

    • To Merchant: OI + DS
    • To Payment Gateway: PI + DS

Verification:

  • Merchant can verify DS using cardholder's public key and confirm OI integrity
  • Payment Gateway can verify DS using cardholder's public key and confirm PI integrity
  • Neither party can forge or alter the other's information without detection

3. Purchase Request Operation in SET

The purchase request is the initial phase where the cardholder sends order details to the merchant.

Steps in Purchase Request:

  1. Cardholder initiates purchase:

    • Customer selects items and decides to checkout using SET
  2. Cardholder prepares order information:

    • Creates Order Information (OI) containing:
      • Order details (items, quantities, prices)
      • Merchant identifier
      • Transaction ID
      • Amount
  3. Cardholder prepares payment information:

    • Creates Payment Information (PI) containing:
      • Card details (card number, expiry)
      • Cardholder account information
      • Amount
  4. Generate dual signature:

    • Compute H(OI) and H(PI)
    • Create DS = E_private[H(H(OI) || H(PI))]
  5. Send purchase request to merchant:

    • Transmit: OI + DS + Cardholder Certificate
    • Merchant receives order details and can verify signature
  6. Merchant verification:

    • Verifies cardholder's certificate
    • Verifies dual signature using cardholder's public key
    • Confirms order integrity
  7. Merchant forwards to payment gateway:

    • Sends: PI + DS + Cardholder Certificate
    • Payment gateway verifies payment information and signature
  8. Authorization response:

    • Payment gateway authorizes or declines
    • Response sent back through merchant to cardholder

Key Security Features:

  • Merchant never sees payment information (card details)
  • Payment gateway never sees order details
  • Dual signature prevents repudiation by cardholder
  • All communications are encrypted using certificates
Open this answer on its own page →

2081 · 10 marks

Explain about the SET participants. Discuss the status of E-payment system in Nepal.[10]

SET (Secure Electronic Transaction) is a security protocol for electronic credit card transactions over the internet. The main participants in the SET system are: - The individual who initiates the transaction - Holds a credit/debit card issued by a card issuer (bank) - Uses SET-enabled software ...

Open this answer on its own page →

0 · 10 marks

What is Secured Electronic Transaction (SET) Protocol? List the features of SET. Discuss the SET participants.[10]

Secured Electronic Transaction (SET) is a cryptographic protocol designed to secure credit card transactions over the Internet. It was developed jointly by Visa and Mastercard in the mid-1990s to provide a secure framework for electronic commerce by ensuring confidentiality, authentication, and i...

Open this answer on its own page →

Dual signature generation and application

2080 · 10 marks

What is a dual signature? How is the dual signature generated? Describe the payment authorization in SET.[10]

A dual signature is a cryptographic mechanism used in the Secure Electronic Transaction (SET) protocol to link two separate messages (the order information and payment information) while maintaining the privacy of each party involved. Specifically, the dual signature: - Binds together two differe...

Open this answer on its own page →