Class PKInMemorySigningUtil

java.lang.Object
de.brendamour.jpasskit.signing.PKAbstractSigningUtil
de.brendamour.jpasskit.signing.PKInMemorySigningUtil
All Implemented Interfaces:
IPKSigningUtil

public final class PKInMemorySigningUtil extends PKAbstractSigningUtil
  • Constructor Details

    • PKInMemorySigningUtil

      public PKInMemorySigningUtil()
    • PKInMemorySigningUtil

      public PKInMemorySigningUtil(com.fasterxml.jackson.databind.ObjectWriter objectWriter)
    • PKInMemorySigningUtil

      @Deprecated public PKInMemorySigningUtil(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Deprecated.
  • Method Details

    • createSignedAndZippedPkPassArchive

      public byte[] createSignedAndZippedPkPassArchive(PKPass pass, IPKPassTemplate passTemplate, PKSigningInformation signingInformation) throws PKSigningException
      Description copied from interface: IPKSigningUtil
      Creates a signed and zipped pass using a template
      Parameters:
      pass - The pass to sign
      passTemplate - A IPKPassTemplate object
      signingInformation - A PKSigningInformation object containing the signing info
      Returns:
      a signed and zipped .pkpass file
      Throws:
      PKSigningException - will throw any underlying exception in case something goes wrong (i.e. template not found)
    • createSignedAndZippedPersonalizedPkPassArchive

      public byte[] createSignedAndZippedPersonalizedPkPassArchive(PKPass pass, PKPersonalization personalization, IPKPassTemplate passTemplate, PKSigningInformation signingInformation) throws PKSigningException
      Description copied from interface: IPKSigningUtil
      Creates a signed and zipped personalized pass using a template
      Parameters:
      pass - The pass to sign
      personalization - Personalization info
      passTemplate - A IPKPassTemplate object
      signingInformation - A PKSigningInformation object containing the signing info
      Returns:
      a signed and zipped .pkpass file
      Throws:
      PKSigningException - will throw any underlying exception in case something goes wrong (i.e. template not found)