Created
January 9, 2017 04:25
-
-
Save dailymartin/7508fa54d6c458350802c70286b13d66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper(); | |
... | |
private byte[] createPKPassBinaries(PKPass pass, PKSigningInformation pkSigningInformation, InputStream thumbnail, InputStream thumbnail2x) throws Exception { | |
return new PKFileBasedSigningUtil(OBJECT_MAPPER).createSignedAndZippedPkPassArchive(pass, createPKPassTemplate(thumbnail, thumbnail2x), pkSigningInformation); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment