Scenario: Selective signing and encrypting
BookStore creates a form that will be filled in by Alfred and sent on to EasyPay.
- BookStore signs all of the form except for shipping address and credit card information, which is filled in by Alfred.
- Alfred fills in the form, encrypts the payment authorization element in a key shared with EasyPay, signs and returns it to BookStore.
- BookStore processes the form and confirms the integrity of the order (the book title and price) and passes the encrypted credit card info to EasyPay.