Class AppleValidator
THIS IS A STUB, WILL NOT EXECUTE CODE!
This class will validate the Apple receipt is signed with the correct certificate.
Inherited Members
Namespace: UnityEngine.Purchasing.Security
Assembly: UnityEngine.Purchasing.SecurityStub.dll
Syntax
public class AppleValidator
Constructors
AppleValidator(byte[])
THIS IS A STUB, WILL NOT EXECUTE CODE!
Constructs an instance with Apple Certificate.
Declaration
public AppleValidator(byte[] appleRootCertificate)
Parameters
Type | Name | Description |
---|---|---|
byte[] | appleRootCertificate | The apple certificate. |
Methods
Validate(byte[])
THIS IS A STUB, WILL NOT EXECUTE CODE!
Validate that the Apple receipt is signed correctly.
Declaration
public AppleReceipt Validate(byte[] receiptData)
Parameters
Type | Name | Description |
---|---|---|
byte[] | receiptData | The Apple receipt to validate. |
Returns
Type | Description |
---|---|
AppleReceipt | The parsed AppleReceipt |