TvInteractiveAppService.Session.OnCertificate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
收到所要求的證書
[Android.Runtime.Register("onCertificate", "(Ljava/lang/String;ILandroid/net/http/SslCertificate;)V", "GetOnCertificate_Ljava_lang_String_ILandroid_net_http_SslCertificate_Handler", ApiSince=36)]
public virtual void OnCertificate(string host, int port, Android.Net.Http.SslCertificate cert);
[<Android.Runtime.Register("onCertificate", "(Ljava/lang/String;ILandroid/net/http/SslCertificate;)V", "GetOnCertificate_Ljava_lang_String_ILandroid_net_http_SslCertificate_Handler", ApiSince=36)>]
abstract member OnCertificate : string * int * Android.Net.Http.SslCertificate -> unit
override this.OnCertificate : string * int * Android.Net.Http.SslCertificate -> unit
參數
- host
- String
SSL 認證伺服器的主機名稱。
- port
- Int32
SSL 認證伺服器的埠。 例如,443
- cert
- SslCertificate
收到的 SSL 憑證。
- 屬性
備註
收到所要求的證書
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。