From a25a7028ad919054bd2b3b1f7e3d647617e5e7e6 Mon Sep 17 00:00:00 2001 From: James Sangalli Date: Tue, 10 Dec 2019 16:39:53 +1300 Subject: [PATCH 1/3] add base files for alipay --- examples/AliPay/Airline/Airline.en.shtml | 164 ++++++++++++++++++ examples/AliPay/Airline/Airline.xml | 152 ++++++++++++++++ examples/AliPay/Hotel/Hotel.en.shtml | 164 ++++++++++++++++++ examples/AliPay/Hotel/Hotel.xml | 152 ++++++++++++++++ examples/AliPay/Makefile | 38 ++++ examples/AliPay/Summit/Summit.en.shtml | 164 ++++++++++++++++++ examples/AliPay/Summit/Summit.xml | 152 ++++++++++++++++ examples/AliPay/Tour Package A/TourA.en.shtml | 164 ++++++++++++++++++ examples/AliPay/Tour Package A/TourA.xml | 152 ++++++++++++++++ examples/AliPay/Tour Package B/TourB.en.shtml | 164 ++++++++++++++++++ examples/AliPay/Tour Package B/TourB.xml | 152 ++++++++++++++++ examples/AliPay/shared.css | 127 ++++++++++++++ 12 files changed, 1745 insertions(+) create mode 100644 examples/AliPay/Airline/Airline.en.shtml create mode 100644 examples/AliPay/Airline/Airline.xml create mode 100644 examples/AliPay/Hotel/Hotel.en.shtml create mode 100644 examples/AliPay/Hotel/Hotel.xml create mode 100644 examples/AliPay/Makefile create mode 100644 examples/AliPay/Summit/Summit.en.shtml create mode 100644 examples/AliPay/Summit/Summit.xml create mode 100644 examples/AliPay/Tour Package A/TourA.en.shtml create mode 100644 examples/AliPay/Tour Package A/TourA.xml create mode 100644 examples/AliPay/Tour Package B/TourB.en.shtml create mode 100644 examples/AliPay/Tour Package B/TourB.xml create mode 100644 examples/AliPay/shared.css diff --git a/examples/AliPay/Airline/Airline.en.shtml b/examples/AliPay/Airline/Airline.en.shtml new file mode 100644 index 00000000..50e5ddb0 --- /dev/null +++ b/examples/AliPay/Airline/Airline.en.shtml @@ -0,0 +1,164 @@ + + +
diff --git a/examples/AliPay/Airline/Airline.xml b/examples/AliPay/Airline/Airline.xml new file mode 100644 index 00000000..2d9146fc --- /dev/null +++ b/examples/AliPay/Airline/Airline.xml @@ -0,0 +1,152 @@ + + + + ]> + + + + Ticket + Tickets + + + + + 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + + + + + + + + + + + + &Airline.en; + + + &Airline.en; + + + + + + + + + Time + + + + + + + + + + City + + + + + + Shanghai + + + London + + + + + + + + + Venue + + + + + + Shanghai Pudong Airport + + + London Heathrow Airport + + + + + + + + + + From + + + + + + + + + To + + + + + + + + + Cat + 等级 + Cat + + + + + + Business Class + + + + + + + + + + + + + + + + + + Redeemed + + + + + + + + + + + + diff --git a/examples/AliPay/Hotel/Hotel.en.shtml b/examples/AliPay/Hotel/Hotel.en.shtml new file mode 100644 index 00000000..50e5ddb0 --- /dev/null +++ b/examples/AliPay/Hotel/Hotel.en.shtml @@ -0,0 +1,164 @@ + + +
diff --git a/examples/AliPay/Hotel/Hotel.xml b/examples/AliPay/Hotel/Hotel.xml new file mode 100644 index 00000000..f3174f16 --- /dev/null +++ b/examples/AliPay/Hotel/Hotel.xml @@ -0,0 +1,152 @@ + + + + ]> + + + + Ticket + Tickets + + + + + 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + + + + + + + + + + + + &Airline.en; + + + &Airline.en; + + + + + + + + + Time + + + + + + + + + + City + + + + + + Shanghai + + + London + + + + + + + + + Venue + + + + + + Shanghai Pudong Airport + + + London Heathrow Airport + + + + + + + + + + From + + + + + + + + + To + + + + + + + + + Cat + 等级 + Cat + + + + + + Business Class + + + + + + + + + + + + + + + + + + Redeemed + + + + + + + + + + + + diff --git a/examples/AliPay/Makefile b/examples/AliPay/Makefile new file mode 100644 index 00000000..f23ccd51 --- /dev/null +++ b/examples/AliPay/Makefile @@ -0,0 +1,38 @@ +XMLSECTOOL=xmlsectool +KEYSTORE= +KEY=1 +KEYPASSWORD= +SIGNATURE_ALGORITHM=rsa-sha256 + +help: + # Needs a target, example: $$ make EntryToken.canonicalized.xml + # + # Let's say you have a TokenScript "EntryToken.xml" + #- to validate and canonicalize, add 'canonicalized' in the filename + @echo $$ make EntryToken.canonicalized.xml + # - to sign, use tsml as file extension: + @echo $$ make EntryToken.tsml + +%.canonicalized.xml : %.xml + # xmlsectool canonicalises automatically when needed, but leaving an xml:base attribute which creates trouble later. + # xmlstarlet does it neatly + # XML Canonicalization + xmlstarlet c14n $^ > $@ + # xmlsectool validates too, albeit adding xml:base with breaks schema. Example: + # JVMOPTS=-Djavax.xml.accessExternalDTD=all /opt/xmlsectool-2.0.0/xmlsectool.sh --validateSchema --xsd --schemaDirectory ../../schema --inFile $^ + # XML Validation + # if INVALID, run validation again with xmllint to get meaningful error + # then delete the canonicalized file + -xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID) + +%.tsml: %.canonicalized.xml +ifeq (,$(KEYSTORE)) + @echo ---------------- Keystore missing. Try this ---------------- + @echo $$ make KEYSTORE=shong.wang.p12 KEYPASSWORD=shong.wang $@ + @echo replace it with your .p12 file and your password + rm $^ +else + $(XMLSECTOOL) --sign --keyInfoKeyName 'AliPay' --digest SHA-256 --signatureAlgorithm http://www.w3.org/2001/04/xmldsig-more#$(SIGNATURE_ALGORITHM) --inFile $^ --outFile $@ --keystore $(KEYSTORE) --keystoreType PKCS12 --key $(KEY) --keyPassword $(KEYPASSWORD) --signaturePosition LAST + # removing the canonicalized created for validation + rm $^ +endif diff --git a/examples/AliPay/Summit/Summit.en.shtml b/examples/AliPay/Summit/Summit.en.shtml new file mode 100644 index 00000000..50e5ddb0 --- /dev/null +++ b/examples/AliPay/Summit/Summit.en.shtml @@ -0,0 +1,164 @@ + + +
diff --git a/examples/AliPay/Summit/Summit.xml b/examples/AliPay/Summit/Summit.xml new file mode 100644 index 00000000..64b4e244 --- /dev/null +++ b/examples/AliPay/Summit/Summit.xml @@ -0,0 +1,152 @@ + + + + ]> + + + + Ticket + Tickets + + + + + 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + + + + + + + + + + + + &Airline.en; + + + &Airline.en; + + + + + + + + + Time + + + + + + + + + + City + + + + + + Shanghai + + + London + + + + + + + + + Venue + + + + + + Shanghai Pudong Airport + + + London Heathrow Airport + + + + + + + + + + From + + + + + + + + + To + + + + + + + + + Cat + 等级 + Cat + + + + + + Business Class + + + + + + + + + + + + + + + + + + Redeemed + + + + + + + + + + + + diff --git a/examples/AliPay/Tour Package A/TourA.en.shtml b/examples/AliPay/Tour Package A/TourA.en.shtml new file mode 100644 index 00000000..50e5ddb0 --- /dev/null +++ b/examples/AliPay/Tour Package A/TourA.en.shtml @@ -0,0 +1,164 @@ + + +
diff --git a/examples/AliPay/Tour Package A/TourA.xml b/examples/AliPay/Tour Package A/TourA.xml new file mode 100644 index 00000000..1c6a0fa1 --- /dev/null +++ b/examples/AliPay/Tour Package A/TourA.xml @@ -0,0 +1,152 @@ + + + + ]> + + + + Ticket + Tickets + + + + + 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + + + + + + + + + + + + &Airline.en; + + + &Airline.en; + + + + + + + + + Time + + + + + + + + + + City + + + + + + Shanghai + + + London + + + + + + + + + Venue + + + + + + Shanghai Pudong Airport + + + London Heathrow Airport + + + + + + + + + + From + + + + + + + + + To + + + + + + + + + Cat + 等级 + Cat + + + + + + Business Class + + + + + + + + + + + + + + + + + + Redeemed + + + + + + + + + + + + diff --git a/examples/AliPay/Tour Package B/TourB.en.shtml b/examples/AliPay/Tour Package B/TourB.en.shtml new file mode 100644 index 00000000..50e5ddb0 --- /dev/null +++ b/examples/AliPay/Tour Package B/TourB.en.shtml @@ -0,0 +1,164 @@ + + +
diff --git a/examples/AliPay/Tour Package B/TourB.xml b/examples/AliPay/Tour Package B/TourB.xml new file mode 100644 index 00000000..ac610aef --- /dev/null +++ b/examples/AliPay/Tour Package B/TourB.xml @@ -0,0 +1,152 @@ + + + + ]> + + + + Ticket + Tickets + + + + + 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + + + + + + + + + + + + &Airline.en; + + + &Airline.en; + + + + + + + + + Time + + + + + + + + + + City + + + + + + Shanghai + + + London + + + + + + + + + Venue + + + + + + Shanghai Pudong Airport + + + London Heathrow Airport + + + + + + + + + + From + + + + + + + + + To + + + + + + + + + Cat + 等级 + Cat + + + + + + Business Class + + + + + + + + + + + + + + + + + + Redeemed + + + + + + + + + + + + diff --git a/examples/AliPay/shared.css b/examples/AliPay/shared.css new file mode 100644 index 00000000..230e7468 --- /dev/null +++ b/examples/AliPay/shared.css @@ -0,0 +1,127 @@ +.tbml-category { + font-family: "SourceSansPro"; + font-weight: 400; + font-size: 12px; + color: white; +} +.tbml-venue { + font-family: "SourceSansPro"; + font-weight: 500; + font-size: 15px; + color: white; + display: block; + padding-top: 3%; +} +.tbml-match { + font-family: "SourceSansPro"; + font-weight: bold; + font-size: 19px; + color: white; + padding: 2%; + background-color: rgb(117, 185, 67); + display: block; + text-align: center; + margin-top: 1px; + width: 80%; + margin: auto; + margin-top: 8%; +} +.tbml-time { + font-family: "SourceSansPro"; + font-weight: lighter; + font-size: 15px; + color: white; +} +.data-icon { + height: 20px; + vertical-align: middle; + color: white; +} +.ticket { + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUEAAACjCAMAAAAjK1w+AAABL1BMVEU1qro1qrsyorEyobAyo7IvmqovmakzpbU1qbozpLMypLQyo7MumKgvmagxoK8zpbQvm6szprYvmqkumKctlaQyorIyoa8ul6YulqQzprUul6cvm6oyorAulqUxoK4tlaU1q7stlaM1qbk0qLc0qLgzprQ0qLkwnKsypLUxobEzpbYwnKwxoLA0p7UulqYxn64zp7csk6ItlKItlKMwnawxn680p7g0qLYwna0wnq4yo7Q0p7YtlKUumKYwnKoul6UvmaoxoLEyo7EzpbM0qLo1qbgtlaYvmaYvmacvmqgvmqsvm6kwnq0xn60xn7AxobIskqIsk6MtlKEtlKQtlaculqMul6gwnK0wnaswnq8xn7EyorM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eTvGGy6Ay9NRG8Wc+1nW/Co6Ph0VHwIgj8WzDz8ie6EwZhGL74duf4p2dZXoFZdIbvYZ0Iyd7BWmSGuwBVJLQsMsO/fxZEGi6gkoSWRWVoAVSSsNejMjyBahL2shKmGi6qK0hjuA9QTcJeL4eh7JPDCVSUsNfDGt4eBllVBT2PxrAki/gTEHoRQozhDKpK6Hk0hlBtQbxhDypL6HkkhguoLKHnURha8FkQZ3gB1SX0PApDgOoSep7IMMdVrwcVJvQ8AsPFZ0Gc4RygwoSehzecQpUJPQ9tuDX+LIgzPBlXmtDLQig1nP9nXGlCz8MaeuPPgjjDybjahJ6HNNwfj6tN6HlIw1mZBaEkgjLD3fG44kXoeTjD6bjqhJ6X2zAmOC65IJRIkGv4bDyuehF6Hsbwb+Nx1Qn/Dw+uFm1XcXfwAAAAAElFTkSuQmCC'); + border-radius: 15px; + display: flex; + flex-direction: column; + background-size: cover; + height: -webkit-fill-available; + width: -webkit-fill-available; +} +.ticketname { + font-family: "SourceSansPro"; + font-weight: 500; + font-size: 15px; + color: white; + width: 100%; + display: block; + padding-top: 3%; +} +.tbml-city { + font-family: "SourceSansPro"; + font-weight: bolder; + font-size: 25px; + color: white; + display: block; + padding-top: 3%; +} + +.ticket-bottom-section { + padding-left: 3%; + display: flex; + width: 100%; + margin: auto; + padding-bottom: 10%; + align-self: center; +} +.left-column{ + flex: 70%; + align-items: center; + display: block; + padding-top: 5%; +} +.right-column{ + flex: 30%; + display: block; +} +.uefa-logo { + height: 60px; + width: -webkit-fill-available; + display: block; + margin: auto; +} +.date { + font-family: "SourceSansPro"; + font-weight: 400; + font-size: 12px; + color: white; +} +.top-section { + display: flex; + flex-direction: row; + padding: 5%; + margin-bottom: 30%; +} +.local-time { + font-family: "SourceSansPro"; + font-weight: lighter; + font-size: 10px; + color: white; +} + +.left-col { + flex: 50%; + margin-left: 2%; +} +.right-col { + flex: 50%; +} +.white-line { + border: 5% solid white; + width: -webkit-fill-available; + margin-bottom: 3%; +} +.redeemed { + color: #cffFAB; + font-family: "SourceSansPro"; + font-weight: 500; + font-size: 15px; +} \ No newline at end of file From 2157ef904e7c3ccb532aacac865abf85eeffebb8 Mon Sep 17 00:00:00 2001 From: James Sangalli Date: Tue, 10 Dec 2019 16:50:15 +1300 Subject: [PATCH 2/3] add pickup to alipay --- examples/AliPay/Pickup/Airline.en.shtml | 164 ++++++++++++++++++++++++ examples/AliPay/Pickup/Airline.xml | 152 ++++++++++++++++++++++ 2 files changed, 316 insertions(+) create mode 100644 examples/AliPay/Pickup/Airline.en.shtml create mode 100644 examples/AliPay/Pickup/Airline.xml diff --git a/examples/AliPay/Pickup/Airline.en.shtml b/examples/AliPay/Pickup/Airline.en.shtml new file mode 100644 index 00000000..50e5ddb0 --- /dev/null +++ b/examples/AliPay/Pickup/Airline.en.shtml @@ -0,0 +1,164 @@ + + +
diff --git a/examples/AliPay/Pickup/Airline.xml b/examples/AliPay/Pickup/Airline.xml new file mode 100644 index 00000000..2d9146fc --- /dev/null +++ b/examples/AliPay/Pickup/Airline.xml @@ -0,0 +1,152 @@ + + + + ]> + + + + Ticket + Tickets + + + + + 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + + + + + + + + + + + + &Airline.en; + + + &Airline.en; + + + + + + + + + Time + + + + + + + + + + City + + + + + + Shanghai + + + London + + + + + + + + + Venue + + + + + + Shanghai Pudong Airport + + + London Heathrow Airport + + + + + + + + + + From + + + + + + + + + To + + + + + + + + + Cat + 等级 + Cat + + + + + + Business Class + + + + + + + + + + + + + + + + + + Redeemed + + + + + + + + + + + + From 9876fde3afc71ee7e901694f8e326a7d3bc01c0e Mon Sep 17 00:00:00 2001 From: James Sangalli Date: Tue, 10 Dec 2019 23:34:01 +1300 Subject: [PATCH 3/3] populate with sample contracts and info --- examples/AliPay/Hotel/Hotel.xml | 49 ++++++------------- .../{Airline.en.shtml => Pickup.en.shtml} | 0 .../AliPay/Pickup/{Airline.xml => Pickup.xml} | 19 ++++--- examples/AliPay/Summit/Summit.xml | 23 +++++---- examples/AliPay/Tour Package A/TourA.xml | 22 ++++----- examples/AliPay/Tour Package B/TourB.xml | 24 ++++----- 6 files changed, 62 insertions(+), 75 deletions(-) rename examples/AliPay/Pickup/{Airline.en.shtml => Pickup.en.shtml} (100%) rename examples/AliPay/Pickup/{Airline.xml => Pickup.xml} (90%) diff --git a/examples/AliPay/Hotel/Hotel.xml b/examples/AliPay/Hotel/Hotel.xml index f3174f16..e9bcc129 100644 --- a/examples/AliPay/Hotel/Hotel.xml +++ b/examples/AliPay/Hotel/Hotel.xml @@ -1,6 +1,6 @@ + ]> - Ticket - Tickets + Reservation + Reservations - - 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + 0x1391f80f4b7c5e88ae8354b9c1094236f89c8274 - + @@ -31,10 +31,10 @@ - &Airline.en; + &Hotel.en; - &Airline.en; + &Hotel.en; @@ -77,38 +77,16 @@ - Shanghai Pudong Airport + Hilton Resorts - London Heathrow Airport + Trump Tower - - - - From - - - - - - - - - To - - - - - - Cat @@ -119,7 +97,10 @@ - Business Class + Executive Suite + + + Deluxe Suite @@ -140,7 +121,7 @@ Redeemed - + diff --git a/examples/AliPay/Pickup/Airline.en.shtml b/examples/AliPay/Pickup/Pickup.en.shtml similarity index 100% rename from examples/AliPay/Pickup/Airline.en.shtml rename to examples/AliPay/Pickup/Pickup.en.shtml diff --git a/examples/AliPay/Pickup/Airline.xml b/examples/AliPay/Pickup/Pickup.xml similarity index 90% rename from examples/AliPay/Pickup/Airline.xml rename to examples/AliPay/Pickup/Pickup.xml index 2d9146fc..eb5eccd7 100644 --- a/examples/AliPay/Pickup/Airline.xml +++ b/examples/AliPay/Pickup/Pickup.xml @@ -1,6 +1,6 @@ + ]> - - 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + 0x5e8c614cac6d140fbd5a454f41a1d5dc5da1a218 - + @@ -31,10 +31,10 @@ - &Airline.en; + &Pickup.en; - &Airline.en; + &Pickup.en; @@ -119,7 +119,10 @@ - Business Class + Silver cabs + + + Presidential limo @@ -140,7 +143,7 @@ Redeemed - + diff --git a/examples/AliPay/Summit/Summit.xml b/examples/AliPay/Summit/Summit.xml index 64b4e244..7bf31998 100644 --- a/examples/AliPay/Summit/Summit.xml +++ b/examples/AliPay/Summit/Summit.xml @@ -1,6 +1,6 @@ + ]> - - 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + 0x6b2c1f4f903ce8df4e52e153e4d0a103030787c0 - + @@ -31,10 +31,10 @@ - &Airline.en; + &Summit.en; - &Airline.en; + &Summit.en; @@ -77,10 +77,10 @@ - Shanghai Pudong Airport + MGM Grand - London Heathrow Airport + ICC centre @@ -119,7 +119,10 @@ - Business Class + Speaker pass + + + Volunteer pass @@ -140,7 +143,7 @@ Redeemed - + diff --git a/examples/AliPay/Tour Package A/TourA.xml b/examples/AliPay/Tour Package A/TourA.xml index 1c6a0fa1..2eccfbdf 100644 --- a/examples/AliPay/Tour Package A/TourA.xml +++ b/examples/AliPay/Tour Package A/TourA.xml @@ -1,6 +1,6 @@ + ]> - - 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + 0xec78db1c7244854420a2d8d8d8349c646ac60e06 - + @@ -31,10 +31,10 @@ - &Airline.en; + &TourA.en; - &Airline.en; + &TourA.en; @@ -59,7 +59,7 @@ - Shanghai + Wellington London @@ -77,10 +77,10 @@ - Shanghai Pudong Airport + Seven wonders of the world - London Heathrow Airport + Red Rocks @@ -119,7 +119,7 @@ - Business Class + Great explorer @@ -140,7 +140,7 @@ Redeemed - + diff --git a/examples/AliPay/Tour Package B/TourB.xml b/examples/AliPay/Tour Package B/TourB.xml index ac610aef..5a51f9cb 100644 --- a/examples/AliPay/Tour Package B/TourB.xml +++ b/examples/AliPay/Tour Package B/TourB.xml @@ -1,6 +1,6 @@ + ]> - - 0x6060c2bc6bcd71b528e9669ccac0faf17824e3cd + + 0xb0732d2e1805e13de5388e7e8ddf3485a76107e2 - + @@ -31,10 +31,10 @@ - &Airline.en; + &TourB.en; - &Airline.en; + &TourB.en; @@ -59,10 +59,10 @@ - Shanghai + Sydney - London + Fiji @@ -77,10 +77,10 @@ - Shanghai Pudong Airport + Great get away HQ - London Heathrow Airport + Figure 8 Pools @@ -119,7 +119,7 @@ - Business Class + VIP pass @@ -140,7 +140,7 @@ Redeemed - +