public interface IPKSigningUtil
| 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
|
byte[] |
signManifestFile(byte[] manifestJSON,
PKSigningInformation signingInformation)
Sign the manifest file
|
byte[] createSignedAndZippedPkPassArchive(PKPass pass, IPKPassTemplate passTemplate, PKSigningInformation signingInformation) throws PKSigningException
pass - 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)byte[] createSignedAndZippedPersonalizedPkPassArchive(PKPass pass, PKPersonalization personalization, IPKPassTemplate passTemplate, PKSigningInformation signingInformation) throws PKSigningException
pass - 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)byte[] signManifestFile(byte[] manifestJSON,
PKSigningInformation signingInformation)
throws PKSigningException
manifestJSON - JSON file as byte arraysigningInformation - 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.