Org.Apache.Http.Conn.Ssl.SSLSocketFactory.IsSecure Method
Checks whether a socket connection is secure.

Syntax

[Android.Runtime.Register("isSecure", "(Ljava/net/Socket;)Z", "GetIsSecure_Ljava_net_Socket_Handler")]
public virtual bool IsSecure (Java.Net.Socket sock)

Parameters

sock
the connected socket

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the argument is invalid

Remarks

Checks whether a socket connection is secure. This factory creates TLS/SSL socket connections which, by default, are considered secure.

Derived classes may override this method to perform runtime checks, for example based on the cypher suite.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Conn.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1