init(encryptionCert:signingCert:PASK:signingKey:)
Initializes a provider with the marketplace’s App License Delivery assets and their unique signing key.
Declaration
init(encryptionCert: [UInt8], signingCert: [UInt8], PASK: [UInt8], signingKey: [UInt8]? = nil)Parameters
- encryptionCert:
Apple issued encryption certificate in bytes.
- signingCert:
Apple issued signing certificate in bytes.
- PASK:
Apple provided secret blob.
- signingKey:
Private key corresponding to the
signingCertin.DERformat withANS.1encoding. This parameter is optional if you choose to sign the license response manually.
Mentioned in
Discussion
For an example that uses a provider, see Licensing alternative distribution apps.