docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Obfuscator

    This class will deobfuscate the tangled signature used for client-side receipt validation obfuscation. Note: when building for platforms that do not support this feature, this will not execute code.

    Inheritance
    object
    Obfuscator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing.Security
    Assembly: Unity.Purchasing.SecurityStub.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

    Exceptions
    Type Condition
    NotImplementedException

    Not implemented for this platform.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)