IPKSigningUtilPKFileBasedSigningUtil, PKInMemorySigningUtilpublic abstract class PKAbstractSigningUtil extends Object implements IPKSigningUtil
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
PKAbstractSigningUtil.BarcodeFilterMixIn |
|
protected class |
PKAbstractSigningUtil.CharsetFilterMixIn |
|
protected class |
PKAbstractSigningUtil.PkPassFilterMixIn |
|
protected class |
PKAbstractSigningUtil.ValidateFilterMixIn |
| Modifier and Type | Field | Description |
|---|---|---|
protected static String |
MANIFEST_JSON_FILE_NAME |
|
protected com.fasterxml.jackson.databind.ObjectWriter |
objectWriter |
|
protected static String |
PASS_JSON_FILE_NAME |
|
protected static String |
PERSONALIZATION_JSON_FILE_NAME |
|
protected static String |
SIGNATURE_FILE_NAME |
| Modifier | Constructor | Description |
|---|---|---|
protected |
PKAbstractSigningUtil(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
|
protected |
PKAbstractSigningUtil(com.fasterxml.jackson.databind.ObjectWriter objectWriter) |
| Modifier and Type | Method | Description |
|---|---|---|
protected com.fasterxml.jackson.databind.ObjectWriter |
configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper) |
|
protected String |
getRelativePathOfZipEntry(String fileCanonicalPath,
String baseCanonicalPath) |
|
byte[] |
signManifestFile(byte[] manifestJSON,
PKSigningInformation signingInformation) |
Sign the manifest file
|
protected byte[] |
signManifestUsingContent(PKSigningInformation signingInformation,
org.bouncycastle.cms.CMSTypedData content) |
createSignedAndZippedPersonalizedPkPassArchive, createSignedAndZippedPkPassArchiveprotected static final String MANIFEST_JSON_FILE_NAME
protected static final String PASS_JSON_FILE_NAME
protected static final String PERSONALIZATION_JSON_FILE_NAME
protected static final String SIGNATURE_FILE_NAME
protected com.fasterxml.jackson.databind.ObjectWriter objectWriter
protected PKAbstractSigningUtil(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
protected PKAbstractSigningUtil(com.fasterxml.jackson.databind.ObjectWriter objectWriter)
public byte[] signManifestFile(byte[] manifestJSON,
PKSigningInformation signingInformation)
throws PKSigningException
IPKSigningUtilsignManifestFile in interface IPKSigningUtilmanifestJSON - 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)protected byte[] signManifestUsingContent(PKSigningInformation signingInformation, org.bouncycastle.cms.CMSTypedData content) throws PKSigningException
PKSigningExceptionprotected com.fasterxml.jackson.databind.ObjectWriter configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper)
Copyright © 2012–2018. All rights reserved.