Passbook signing utility for PHP