public final class PKInMemorySigningUtil extends PKAbstractSigningUtil
MANIFEST_JSON_FILE_NAME, objectWriter, PASS_JSON_FILE_NAME, PERSONALIZATION_JSON_FILE_NAME, SIGNATURE_FILE_NAME| Constructor and Description |
|---|
PKInMemorySigningUtil() |
PKInMemorySigningUtil(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Deprecated.
|
PKInMemorySigningUtil(com.fasterxml.jackson.databind.ObjectWriter objectWriter) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createSignedAndZippedPersonalizedPkPassArchive(PKPass pass,
PKPersonalization personalization,
IPKPassTemplate passTemplate,
PKSigningInformation signingInformation)
Creates a signed and zipped personalized pass using a template
|
byte[] |
createSignedAndZippedPkPassArchive(PKPass pass,
IPKPassTemplate passTemplate,
PKSigningInformation signingInformation)
Creates a signed and zipped pass using a template
|
configureObjectMapper, getRelativePathOfZipEntry, signManifestFile, signManifestUsingContentpublic PKInMemorySigningUtil()
public PKInMemorySigningUtil(com.fasterxml.jackson.databind.ObjectWriter objectWriter)
@Deprecated public PKInMemorySigningUtil(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public byte[] createSignedAndZippedPkPassArchive(PKPass pass, IPKPassTemplate passTemplate, PKSigningInformation signingInformation) throws PKSigningException
IPKSigningUtilpass - The pass to signpassTemplate - A IPKPassTemplate objectsigningInformation - A PKSigningInformation object containing the signing infoPKSigningException - will throw any underlying exception in case something goes wrong (i.e. template not found)public byte[] createSignedAndZippedPersonalizedPkPassArchive(PKPass pass, PKPersonalization personalization, IPKPassTemplate passTemplate, PKSigningInformation signingInformation) throws PKSigningException
IPKSigningUtilpass - The pass to signpersonalization - Personalization infopassTemplate - A IPKPassTemplate objectsigningInformation - A PKSigningInformation object containing the signing infoPKSigningException - will throw any underlying exception in case something goes wrong (i.e. template not found)Copyright © 2012–2022. All rights reserved.