SSLEngine Class

Definition

The abstract implementation of secure communications using SSL, TLS, or other protocols.

[Android.Runtime.Register("javax/net/ssl/SSLEngine", ApiSince=1, DoNotGenerateAcw=true)]
public abstract class SSLEngine : Java.Lang.Object
type SSLEngine = class
    inherit Object
Inheritance
SSLEngine
Attributes

Remarks

Android platform documentation

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.

Constructors

SSLEngine()

Creates a new SSLEngine instance.

SSLEngine(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SSLEngine(String, Int32)

Creates a new SSLEngine instance with the specified host and port.

Properties

Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
DelegatedTask

Returns a delegate task for this engine instance.

EnableSessionCreation

Returns whether new SSL sessions may be established by this engine.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
HandshakeSession
HandshakeStatus

Returns the status of the handshake of this engine instance.

IsInboundDone

Returns whether no more inbound data will be accepted by this engine.

IsOutboundDone

Returns whether no more outbound data will be produced by this engine.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
NeedClientAuth

Returns whether this engine instance will require client authentication.

PeerHost

Returns the name of the peer host.

PeerPort

Returns the port number of the peer host.

PeerReference (Inherited from Object)
Session

Returns the SSL session for this engine instance.

SSLParameters

Returns a new SSLParameters based on this SSLSocket's current cipher suites, protocols, and client authentication settings.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

UseClientMode

Returns whether this engine is set to act in client mode when handshaking.

WantClientAuth

Returns whether this engine will request client authentication.

Methods

BeginHandshake()

Initiates a handshake on this engine.

Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
CloseInbound()

Notifies this engine instance that no more inbound network data will be sent to this engine.

CloseOutbound()

Notifies this engine instance that no more outbound application data will be sent to this engine.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetEnabledCipherSuites()

Returns the SSL cipher suite names that are enabled in this engine instance.

GetEnabledProtocols()

Returns the protocol version names that are enabled in this engine instance.

GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetSupportedCipherSuites()

Returns the SSL cipher suite names that are supported by this engine.

GetSupportedProtocols()

Returns the protocol names that are supported by this engine.

JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SetEnabledCipherSuites(String[])

Sets the SSL cipher suite names that should be enabled in this engine instance.

SetEnabledProtocols(String[])

Sets the protocol version names that should be enabled in this engine instance.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Unwrap(ByteBuffer, ByteBuffer)

Decodes the incoming network data buffer into the application data buffer.

Unwrap(ByteBuffer, ByteBuffer[])

Decodes the incoming network data buffer into the application data buffers.

Unwrap(ByteBuffer, ByteBuffer[], Int32, Int32)

Decodes the incoming network data buffer into application data buffers.

Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wrap(ByteBuffer, ByteBuffer)

Encodes the outgoing application data buffer into the network data buffer.

Wrap(ByteBuffer[], ByteBuffer)

Encodes the outgoing application data buffers into the network data buffer.

Wrap(ByteBuffer[], Int32, Int32, ByteBuffer)

Encodes the outgoing application data buffers into the network data buffer.

Explicit Interface Implementations

IJavaObjectEx.IsProxy (Inherited from Object)
IJavaObjectEx.KeyHandle (Inherited from Object)
IJavaObjectEx.NeedsActivation (Inherited from Object)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Object)
IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to