diff options
author | Teddy Wing | 2018-10-25 16:56:08 +0200 |
---|---|---|
committer | Teddy Wing | 2018-10-25 16:56:08 +0200 |
commit | cf3a3a5cb29afb169ef776ac3fe634a217dab1b3 (patch) | |
tree | b86f0c4c3a06681c446201dcfed76e4b68d196da /lib | |
parent | 75593fed6ba244bf3ad68e07fadb880f75c2ef99 (diff) | |
download | DomeKey-cf3a3a5cb29afb169ef776ac3fe634a217dab1b3.tar.bz2 |
LicenseHandler: Validate license files
Fill in the `check` method to have it validate a license file. If the
file doesn't validate, prints an error message.
A bunch of supporting methods to check if the license file at the
program's prescribed path exists.
Use AquaticPrime's CoreFoundation functions to validate the license
file. Include my public key, generated by the "AquaticPrime Developer"
app, with the CFStringAppend calls copied from the program's generated
"Obfuscated Public Key" text box.
Run the validation check on launch in `main.m`.
Add an `eprintf` macro to print to stderr with a prepended program
identifier.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions