HttpsURLConnection.GetLocalCertificates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the certificate(s) that were sent to the server during handshaking.
[Android.Runtime.Register("getLocalCertificates", "()[Ljava/security/cert/Certificate;", "GetGetLocalCertificatesHandler")]
public abstract Java.Security.Cert.Certificate[]? GetLocalCertificates ();
[<Android.Runtime.Register("getLocalCertificates", "()[Ljava/security/cert/Certificate;", "GetGetLocalCertificatesHandler")>]
abstract member GetLocalCertificates : unit -> Java.Security.Cert.Certificate[]
Returns
an ordered array of certificates, with the client's own certificate first followed by any certificate authorities. If no certificates were sent, then null is returned.
- Attributes
Exceptions
if no connection has been established yet.
Remarks
Java documentation for javax.net.ssl.HttpsURLConnection.getLocalCertificates().
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.