Repository navigation
1.2.0
Added
- New
WindowsStore\Validatorclass with__construct(CacheInterface $cache = null)and
validate($receipt), which returnsbool. It parses the receipt XML, downloads the Microsoft
signing certificate named by the receipt'sCertificateIdfromgo.microsoft.com, and verifies
the XML signature withrobrichards/xmlseclibs; it throwsReceiptValidator\RunTimeExceptionon
invalid XML, a missingCertificateId, or a missing signature/key. Thanks to @MaartenStaa
(#20) - New
WindowsStore\CacheInterface(get($key),put($key, $value, $minutes)) so callers can
cache downloaded certificates; when a cache is supplied, certificates are stored for 3600 minutes
understore-receipt-validate.windowsstore.<CertificateId>.
(#20)
Changed
- composer: new dependency
robrichards/xmlseclibs: ^2.0.
(#20)
Notes written from the code diff for this release; see CHANGELOG.md.