using System;
using System.Collections.Generic;
using System.Text;
namespace UnityEngine.Purchasing.Security
{
///
/// THIS IS A STUB, WILL NOT EXECUTE CODE!
///
/// This class will validate the Apple receipt is signed with the correct certificate.
///
public class AppleValidator
{
///
/// THIS IS A STUB, WILL NOT EXECUTE CODE!
///
/// Constructs an instance with Apple Certificate.
///
/// The apple certificate.
public AppleValidator(byte[] appleRootCertificate)
{
throw new NotImplementedException();
}
///
/// THIS IS A STUB, WILL NOT EXECUTE CODE!
///
/// Validate that the Apple receipt is signed correctly.
///
/// The Apple receipt to validate.
/// The parsed AppleReceipt
/// The exception thrown if the receipt is incorrectly signed.
public AppleReceipt Validate(byte[] receiptData)
{
throw new NotImplementedException();
}
}
///
/// THIS IS A STUB, WILL NOT EXECUTE CODE!
///
/// This class with parse the Apple receipt data received in byte[] into a AppleReceipt object
///
public class AppleReceiptParser
{
///
/// THIS IS A STUB, WILL NOT EXECUTE CODE!
///
/// Parse the Apple receipt data into a AppleReceipt object
///
/// Apple receipt data
/// The converted AppleReceipt object from the Apple receipt data
public AppleReceipt Parse(byte[] receiptData)
{
throw new NotImplementedException();
}
}
}