Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Easy Invalid 1.plist
Easy Invalid 2.plist
Easy Invalid 3.plist
Easy Invalid 4.plist
Easy Valid 1.plist
Easy Valid 2.plist
Hard Valid 1.plist
Hard Valid 2.plist


This directory contains some example test cases that can be used to test the correctness of various implementations.

Licenses marked as "Valid" should be accepted by license checkers, while licenses marked as "Invalid" should be rejected. For license generators, the "Valid" licenses show what the correct signature data should be.

The keys used for these licenses are:

(Do not use these keys in your product. Generate keys for your product using the AquaticPrime Developer License Utility.)

*** Easy ***

The Easy example is good for just testing the basic functionality, and doesn't get into any screwy corner cases. For many users, an implementation that passes these tests will be "good enough."

*** Hard ***

The Hard example tests some of the corner cases that an implementation might not handle correctly. In particular, it stresses the flattening of a license dictionary into a single canonical data stream for signing, as that's the weakest link and the one most likely to fall victim to bugs or differences in platforms.

No invalid examples are given for these tests; any problems are going to manifest themselves as generating invalid licenses or rejecting valid ones.