Version: 2021.1
LanguageEnglish
  • C#

CertificateHandler

class in UnityEngine.Networking

/

Implemented in:UnityEngine.UnityWebRequestModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Responsible for rejecting or accepting certificates received on https requests.

Note: Custom certificate validation is currently only implemented for the following platforms - Android, iOS, tvOS and desktop platforms.

Public Methods

DisposeSignals that this [CertificateHandler] is no longer being used, and should clean up any resources it is using.

Protected Methods

ValidateCertificateCallback, invoked for each leaf certificate sent by the remote server.