ISSLSessionContext.GetSession(Byte[]) Method

Definition

Returns the SSLSession bound to the specified session id.

[Android.Runtime.Register("getSession", "([B)Ljavax/net/ssl/SSLSession;", "GetGetSession_arrayBHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Javax.Net.Ssl.ISSLSession? GetSession (byte[]? sessionId);
[<Android.Runtime.Register("getSession", "([B)Ljavax/net/ssl/SSLSession;", "GetGetSession_arrayBHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetSession : byte[] -> Javax.Net.Ssl.ISSLSession

Parameters

sessionId
Byte[]

the Session identifier

Returns

the SSLSession or null if the specified session id does not refer to a valid SSLSession.

Attributes

Remarks

Returns the SSLSession bound to the specified session id.

Java documentation for javax.net.ssl.SSLSessionContext.getSession(byte[]).

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