Share via


WebView.Certificate Property

Definition

Caution

deprecated

Gets the SSL certificate for the main top-level page or null if there is no certificate (the site is not secure). -or- Sets the SSL certificate for the main top-level page.

public virtual Android.Net.Http.SslCertificate? Certificate { [Android.Runtime.Register("getCertificate", "()Landroid/net/http/SslCertificate;", "GetGetCertificateHandler")] get; [Android.Runtime.Register("setCertificate", "(Landroid/net/http/SslCertificate;)V", "GetSetCertificate_Landroid_net_http_SslCertificate_Handler")] [System.Obsolete("deprecated")] set; }
[<get: Android.Runtime.Register("getCertificate", "()Landroid/net/http/SslCertificate;", "GetGetCertificateHandler")>]
[<set: Android.Runtime.Register("setCertificate", "(Landroid/net/http/SslCertificate;)V", "GetSetCertificate_Landroid_net_http_SslCertificate_Handler")>]
[<set: System.Obsolete("deprecated")>]
member this.Certificate : Android.Net.Http.SslCertificate with get, set

Property Value

the SSL certificate for the main top-level page

Attributes

Remarks

Property getter documentation:

Gets the SSL certificate for the main top-level page or null if there is no certificate (the site is not secure).

Java documentation for android.webkit.WebView.getCertificate().

Property setter documentation:

Sets the SSL certificate for the main top-level page.

This member is deprecated. Calling this function has no useful effect, and will be ignored in future releases.

Java documentation for android.webkit.WebView.setCertificate(android.net.http.SslCertificate).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to