Dil

SecureCacheResponse.ServerCertificateChain Property

Definition

Gets the cached server's certificate chain.

public abstract System.Collections.Generic.IList<Java.Security.Cert.Certificate>? ServerCertificateChain { [Android.Runtime.Register("getServerCertificateChain", "()Ljava/util/List;", "GetGetServerCertificateChainHandler")] get; }
[<get: Android.Runtime.Register("getServerCertificateChain", "()Ljava/util/List;", "GetGetServerCertificateChainHandler")>]
member this.ServerCertificateChain : System.Collections.Generic.IList<Java.Security.Cert.Certificate>

Property Value

an immutable List of Certificate representing the server's certificate chain.

Attributes

Exceptions

if the peer is unverified.

Remarks

Returns the server's certificate chain, which was established as part of defining the session in the original connection that retrieved the network resource, from cache. Note: This method can be used only when using certificate-based cipher suites; using it with non-certificate-based cipher suites, such as Kerberos, will throw an SSLPeerUnverifiedException.

Java reference for java.net.SecureCacheResponse.getServerCertificateChain.

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