docs.unity3d.com
    Show / Hide Table of Contents

    Class Obfuscator

    This class will deobfuscate the tangled signature used for client-side receipt validation obfuscation.

    Inheritance
    Object
    Obfuscator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing.Security
    Syntax
    public static class Obfuscator

    Methods

    DeObfuscate(Byte[], Int32[], Int32)

    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.

    Int32[] order

    The array of the order of the data slices used to obfuscate the data when the tangle files were originally generated.

    Int32 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[], Int32[], Int32)

    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.

    Int32[] order

    The array of the order of the data slices used to obfuscate the data when the tangle files were originally generated.

    Int32 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

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023