docs.unity3d.com
    目次を表示する/隠す

    Class AppleValidator

    This class will validate the Apple receipt is signed with the correct certificate.

    Inheritance
    Object
    AppleValidator
    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 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.

    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

    Exceptions
    Type Condition
    InvalidSignatureException

    The exception thrown if the receipt is incorrectly signed.

    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

    Exceptions
    Type Condition
    InvalidSignatureException

    The exception thrown if the receipt is incorrectly signed.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)