Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CertificateHandler

Responsible for rejecting or accepting certificates received on https requests.
Read time 1 minuteLast updated 6 days ago

Definition

public class CertificateHandler : IDisposable

Remarks

Note: Custom certificate validation is currently implemented for Android, iOS, tvOS, visionOS, and desktop platforms only. To trust certificates on iOS, tvOS, and visionOS platforms, enable arbitrary loads either by enabling unsecured HTTP in Player Settings or explicitly in Info.plist file. For more information, refer to Apple documentation.

Methods

Method

Description

DisposeSignals that this [CertificateHandler] is no longer being used, and should clean up any resources it is using.
ValidateCertificateCallback, invoked for each leaf certificate sent by the remote server.