Class Obfuscator
This class will deobfuscate the tangled signature used for client-side receipt validation obfuscation.
Inherited Members
Namespace: UnityEngine .Purchasing.Security
Assembly: solution.dll
Syntax
public static class Obfuscator
Methods
DeObfuscate(byte[], int[], int)
Deobfucscates tangle data.
Declaration
public static byte[] DeObfuscate(byte[] data, int[] order, int key)
Parameters
Type | Name | Description |
---|---|---|
byte[] | data | The Apple or GooglePlay public key data to be deobfuscated. |
int[] | order | The array of the order of the data slices used to obfuscate the data when the tangle files were originally generated. |
int | key | The encryption key to deobfuscate the tangled data at runtime, previously generated with the tangle file. |
Returns
Type | Description |
---|---|
byte[] | The deobfucated public key |
DeObfuscate(byte[], int[], int)
Deobfucscates tangle data.
Declaration
public static byte[] DeObfuscate(byte[] data, int[] order, int key)
Parameters
Type | Name | Description |
---|---|---|
byte[] | data | The Apple or GooglePlay public key data to be deobfuscated. |
int[] | order | The array of the order of the data slices used to obfuscate the data when the tangle files were originally generated. |
int | key | The encryption key to deobfuscate the tangled data at runtime, previously generated with the tangle file. |
Returns
Type | Description |
---|---|
byte[] | The deobfucated public key |