/Generated/v2.2/Javax.Net.Ssl.cs
https://gitlab.com/Pfhoenix/api · C# · 1140 lines · 338 code · 96 blank · 706 comment · 0 complexity · 70e77d648527da8b484250b4eacf0fbc MD5 · raw file
- // Copyright (C) 2014 dot42
- //
- // Original filename: Javax.Net.Ssl.cs
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- #pragma warning disable 1717
- namespace Javax.Net.Ssl
- {
- /// <summary>
- /// <para>The interface to be used to provide hostname verification functionality. </para><para>This is an extended verification option that implementers can provide. It is to be used during a handshake if the URL's hostname does not match the peer's identification hostname. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/HostnameVerifier
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/HostnameVerifier", AccessFlags = 1537)]
- public partial interface IHostnameVerifier
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Verifies that the specified hostname is allowed within the specified SSL session.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if the specified hostname is allowed, otherwise <c> false </c> . </para>
- /// </returns>
- /// <java-name>
- /// verify
- /// </java-name>
- [Dot42.DexImport("verify", "(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z", AccessFlags = 1025)]
- bool Verify(string hostname, global::Javax.Net.Ssl.ISSLSession session) /* MethodBuilder.Create */ ;
- }
- /// <summary>
- /// <para>The exception that is thrown when an error in the operation of the SSL protocol is encountered. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLProtocolException
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLProtocolException", AccessFlags = 33)]
- public partial class SSLProtocolException : global::Javax.Net.Ssl.SSLException
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> SSLProtocolException </c> with the specified message.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;)V", AccessFlags = 1)]
- public SSLProtocolException(string reason) /* MethodBuilder.Create */
- {
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal SSLProtocolException() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- }
- /// <summary>
- /// <para>A collection of <c> SSLSession </c> s. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLSessionContext
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLSessionContext", AccessFlags = 1537)]
- public partial interface ISSLSessionContext
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Returns an iterable of all session identifiers in this session context.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an iterable of all session identifiers in this session context. </para>
- /// </returns>
- /// <java-name>
- /// getIds
- /// </java-name>
- [Dot42.DexImport("getIds", "()Ljava/util/Enumeration;", AccessFlags = 1025)]
- global::Java.Util.IEnumeration<object> GetIds() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the session for the specified session identifier.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the session for the specified session identifier, or <c> null </c> if the specified session identifier does not refer to a session in this context. </para>
- /// </returns>
- /// <java-name>
- /// getSession
- /// </java-name>
- [Dot42.DexImport("getSession", "([B)Ljavax/net/ssl/SSLSession;", AccessFlags = 1025)]
- global::Javax.Net.Ssl.ISSLSession GetSession(sbyte[] sessionId) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the size of the session cache for this session context.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the size of the session cache for this session context, or <c> zero </c> if unlimited. </para>
- /// </returns>
- /// <java-name>
- /// getSessionCacheSize
- /// </java-name>
- [Dot42.DexImport("getSessionCacheSize", "()I", AccessFlags = 1025)]
- int GetSessionCacheSize() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the timeout for sessions in this session context. Sessions exceeding the timeout are invalidated.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the timeout in seconds, or <c> zero </c> if unlimited. </para>
- /// </returns>
- /// <java-name>
- /// getSessionTimeout
- /// </java-name>
- [Dot42.DexImport("getSessionTimeout", "()I", AccessFlags = 1025)]
- int GetSessionTimeout() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets the size of the session cache for this session context.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setSessionCacheSize
- /// </java-name>
- [Dot42.DexImport("setSessionCacheSize", "(I)V", AccessFlags = 1025)]
- void SetSessionCacheSize(int size) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets the timeout for sessions in this context. Sessions exceeding the timeout are invalidated.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setSessionTimeout
- /// </java-name>
- [Dot42.DexImport("setSessionTimeout", "(I)V", AccessFlags = 1025)]
- void SetSessionTimeout(int seconds) /* MethodBuilder.Create */ ;
- }
- /// <summary>
- /// <para>The extension of <c> Socket </c> providing secure protocols like SSL (Secure Sockets Layer) or TLS (Transport Layer Security). </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLSocket
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLSocket", AccessFlags = 1057)]
- public abstract partial class SSLSocket : global::Java.Net.Socket
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP socket. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 4)]
- protected internal SSLSocket() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP socket connection to the specified address at the specified port.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;I)V", AccessFlags = 4)]
- protected internal SSLSocket(string address, int port) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP socket connection to the specified address at the specified port.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/net/InetAddress;I)V", AccessFlags = 4)]
- protected internal SSLSocket(global::Java.Net.InetAddress address, int port) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP socket connection to the specified address at the specified port with the client side bound to the specified address and port.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;ILjava/net/InetAddress;I)V", AccessFlags = 4)]
- protected internal SSLSocket(string address, int port, global::Java.Net.InetAddress clientAddress, int clientPort) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP socket connection to the specified address at the specified port with the client side bound to the specified address and port.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/net/InetAddress;ILjava/net/InetAddress;I)V", AccessFlags = 4)]
- protected internal SSLSocket(global::Java.Net.InetAddress address, int port, global::Java.Net.InetAddress clientAddress, int clientPort) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the names of the supported cipher suites. </para>
- /// </summary>
- /// <java-name>
- /// getSupportedCipherSuites
- /// </java-name>
- [Dot42.DexImport("getSupportedCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetSupportedCipherSuites() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the names of the enabled cipher suites. </para>
- /// </summary>
- /// <java-name>
- /// getEnabledCipherSuites
- /// </java-name>
- [Dot42.DexImport("getEnabledCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetEnabledCipherSuites() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets the names of the cipher suites to be enabled. Only cipher suites returned by getSupportedCipherSuites() are allowed.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setEnabledCipherSuites
- /// </java-name>
- [Dot42.DexImport("setEnabledCipherSuites", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- public abstract void SetEnabledCipherSuites(string[] suites) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the names of the supported protocols. </para>
- /// </summary>
- /// <java-name>
- /// getSupportedProtocols
- /// </java-name>
- [Dot42.DexImport("getSupportedProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetSupportedProtocols() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the names of the enabled protocols. </para>
- /// </summary>
- /// <java-name>
- /// getEnabledProtocols
- /// </java-name>
- [Dot42.DexImport("getEnabledProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetEnabledProtocols() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets the names of the protocols to be enabled. Only protocols returned by getSupportedProtocols() are allowed.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setEnabledProtocols
- /// </java-name>
- [Dot42.DexImport("setEnabledProtocols", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- public abstract void SetEnabledProtocols(string[] protocols) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the <c> SSLSession </c> for this connection. If necessary, a handshake will be initiated, in which case this method will block until the handshake has been established. If the handshake fails, an invalid session object will be returned.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the session object. </para>
- /// </returns>
- /// <java-name>
- /// getSession
- /// </java-name>
- [Dot42.DexImport("getSession", "()Ljavax/net/ssl/SSLSession;", AccessFlags = 1025)]
- public abstract global::Javax.Net.Ssl.ISSLSession GetSession() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Registers the specified listener to receive notification on completion of a handshake on this connection.</para><para></para>
- /// </summary>
- /// <java-name>
- /// addHandshakeCompletedListener
- /// </java-name>
- [Dot42.DexImport("addHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V", AccessFlags = 1025)]
- public abstract void AddHandshakeCompletedListener(global::Javax.Net.Ssl.IHandshakeCompletedListener listener) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Removes the specified handshake completion listener.</para><para></para>
- /// </summary>
- /// <java-name>
- /// removeHandshakeCompletedListener
- /// </java-name>
- [Dot42.DexImport("removeHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V", AccessFlags = 1025)]
- public abstract void RemoveHandshakeCompletedListener(global::Javax.Net.Ssl.IHandshakeCompletedListener listener) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Starts a new SSL handshake on this connection.</para><para></para>
- /// </summary>
- /// <java-name>
- /// startHandshake
- /// </java-name>
- [Dot42.DexImport("startHandshake", "()V", AccessFlags = 1025)]
- public abstract void StartHandshake() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether this connection should act in client mode when handshaking.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setUseClientMode
- /// </java-name>
- [Dot42.DexImport("setUseClientMode", "(Z)V", AccessFlags = 1025)]
- public abstract void SetUseClientMode(bool mode) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns true if this connection will act in client mode when handshaking. </para>
- /// </summary>
- /// <java-name>
- /// getUseClientMode
- /// </java-name>
- [Dot42.DexImport("getUseClientMode", "()Z", AccessFlags = 1025)]
- public abstract bool GetUseClientMode() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether the server should require client authentication. This does not apply to sockets in client mode. Client authentication is one of the following: <ul><li><para>authentication required </para></li><li><para>authentication requested </para></li><li><para>no authentication needed </para></li></ul>This method overrides the setting of setWantClientAuth(boolean). </para>
- /// </summary>
- /// <java-name>
- /// setNeedClientAuth
- /// </java-name>
- [Dot42.DexImport("setNeedClientAuth", "(Z)V", AccessFlags = 1025)]
- public abstract void SetNeedClientAuth(bool need) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns true if the server socket should require client authentication. This does not apply to sockets in client mode. </para>
- /// </summary>
- /// <java-name>
- /// getNeedClientAuth
- /// </java-name>
- [Dot42.DexImport("getNeedClientAuth", "()Z", AccessFlags = 1025)]
- public abstract bool GetNeedClientAuth() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether the server should request client authentication. Unlike setNeedClientAuth this won't stop the negotiation if the client doesn't authenticate. This does not apply to sockets in client mode.The client authentication is one of: <ul><li><para>authentication required </para></li><li><para>authentication requested </para></li><li><para>no authentication needed </para></li></ul>This method overrides the setting of setNeedClientAuth(boolean). </para>
- /// </summary>
- /// <java-name>
- /// setWantClientAuth
- /// </java-name>
- [Dot42.DexImport("setWantClientAuth", "(Z)V", AccessFlags = 1025)]
- public abstract void SetWantClientAuth(bool want) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns true if the server should request client authentication. This does not apply to sockets in client mode. </para>
- /// </summary>
- /// <java-name>
- /// getWantClientAuth
- /// </java-name>
- [Dot42.DexImport("getWantClientAuth", "()Z", AccessFlags = 1025)]
- public abstract bool GetWantClientAuth() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether new SSL sessions may be created by this socket or if existing sessions must be reused. If <c> flag </c> is false and there are no sessions to resume, handshaking will fail.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setEnableSessionCreation
- /// </java-name>
- [Dot42.DexImport("setEnableSessionCreation", "(Z)V", AccessFlags = 1025)]
- public abstract void SetEnableSessionCreation(bool flag) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether new SSL sessions may be created by this socket or if existing sessions must be reused.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new sessions may be created, otherwise <c> false </c> . </para>
- /// </returns>
- /// <java-name>
- /// getEnableSessionCreation
- /// </java-name>
- [Dot42.DexImport("getEnableSessionCreation", "()Z", AccessFlags = 1025)]
- public abstract bool GetEnableSessionCreation() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the names of the supported cipher suites. </para>
- /// </summary>
- /// <java-name>
- /// getSupportedCipherSuites
- /// </java-name>
- public string[] SupportedCipherSuites
- {
- [Dot42.DexImport("getSupportedCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetSupportedCipherSuites(); }
- }
- /// <summary>
- /// <para>Returns the names of the enabled cipher suites. </para>
- /// </summary>
- /// <java-name>
- /// getEnabledCipherSuites
- /// </java-name>
- public string[] EnabledCipherSuites
- {
- [Dot42.DexImport("getEnabledCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetEnabledCipherSuites(); }
- [Dot42.DexImport("setEnabledCipherSuites", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- set{ SetEnabledCipherSuites(value); }
- }
- /// <summary>
- /// <para>Returns the names of the supported protocols. </para>
- /// </summary>
- /// <java-name>
- /// getSupportedProtocols
- /// </java-name>
- public string[] SupportedProtocols
- {
- [Dot42.DexImport("getSupportedProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetSupportedProtocols(); }
- }
- /// <summary>
- /// <para>Returns the names of the enabled protocols. </para>
- /// </summary>
- /// <java-name>
- /// getEnabledProtocols
- /// </java-name>
- public string[] EnabledProtocols
- {
- [Dot42.DexImport("getEnabledProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetEnabledProtocols(); }
- [Dot42.DexImport("setEnabledProtocols", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- set{ SetEnabledProtocols(value); }
- }
- /// <summary>
- /// <para>Returns the <c> SSLSession </c> for this connection. If necessary, a handshake will be initiated, in which case this method will block until the handshake has been established. If the handshake fails, an invalid session object will be returned.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the session object. </para>
- /// </returns>
- /// <java-name>
- /// getSession
- /// </java-name>
- public global::Javax.Net.Ssl.ISSLSession Session
- {
- [Dot42.DexImport("getSession", "()Ljavax/net/ssl/SSLSession;", AccessFlags = 1025)]
- get{ return GetSession(); }
- }
- /// <summary>
- /// <para>Returns true if this connection will act in client mode when handshaking. </para>
- /// </summary>
- /// <java-name>
- /// getUseClientMode
- /// </java-name>
- public bool IsUseClientMode
- {
- [Dot42.DexImport("getUseClientMode", "()Z", AccessFlags = 1025)]
- get{ return GetUseClientMode(); }
- [Dot42.DexImport("setUseClientMode", "(Z)V", AccessFlags = 1025)]
- set{ SetUseClientMode(value); }
- }
- /// <summary>
- /// <para>Returns true if the server socket should require client authentication. This does not apply to sockets in client mode. </para>
- /// </summary>
- /// <java-name>
- /// getNeedClientAuth
- /// </java-name>
- public bool IsNeedClientAuth
- {
- [Dot42.DexImport("getNeedClientAuth", "()Z", AccessFlags = 1025)]
- get{ return GetNeedClientAuth(); }
- [Dot42.DexImport("setNeedClientAuth", "(Z)V", AccessFlags = 1025)]
- set{ SetNeedClientAuth(value); }
- }
- /// <summary>
- /// <para>Returns true if the server should request client authentication. This does not apply to sockets in client mode. </para>
- /// </summary>
- /// <java-name>
- /// getWantClientAuth
- /// </java-name>
- public bool IsWantClientAuth
- {
- [Dot42.DexImport("getWantClientAuth", "()Z", AccessFlags = 1025)]
- get{ return GetWantClientAuth(); }
- [Dot42.DexImport("setWantClientAuth", "(Z)V", AccessFlags = 1025)]
- set{ SetWantClientAuth(value); }
- }
- /// <summary>
- /// <para>Returns whether new SSL sessions may be created by this socket or if existing sessions must be reused.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new sessions may be created, otherwise <c> false </c> . </para>
- /// </returns>
- /// <java-name>
- /// getEnableSessionCreation
- /// </java-name>
- public bool IsEnableSessionCreation
- {
- [Dot42.DexImport("getEnableSessionCreation", "()Z", AccessFlags = 1025)]
- get{ return GetEnableSessionCreation(); }
- [Dot42.DexImport("setEnableSessionCreation", "(Z)V", AccessFlags = 1025)]
- set{ SetEnableSessionCreation(value); }
- }
- }
- /// <summary>
- /// <para>The trust manager for X509 certificates to be used to perform authentication for secure sockets. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/X509TrustManager
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/X509TrustManager", AccessFlags = 1537)]
- public partial interface IX509TrustManager : global::Javax.Net.Ssl.ITrustManager
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.</para><para></para>
- /// </summary>
- /// <java-name>
- /// checkClientTrusted
- /// </java-name>
- [Dot42.DexImport("checkClientTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V", AccessFlags = 1025)]
- void CheckClientTrusted(global::Java.Security.Cert.X509Certificate[] chain, string authType) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm.</para><para></para>
- /// </summary>
- /// <java-name>
- /// checkServerTrusted
- /// </java-name>
- [Dot42.DexImport("checkServerTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V", AccessFlags = 1025)]
- void CheckServerTrusted(global::Java.Security.Cert.X509Certificate[] chain, string authType) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the list of certificate issuer authorities which are trusted for authentication of peers.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the list of certificate issuer authorities which are trusted for authentication of peers. </para>
- /// </returns>
- /// <java-name>
- /// getAcceptedIssuers
- /// </java-name>
- [Dot42.DexImport("getAcceptedIssuers", "()[Ljava/security/cert/X509Certificate;", AccessFlags = 1025)]
- global::Java.Security.Cert.X509Certificate[] GetAcceptedIssuers() /* MethodBuilder.Create */ ;
- }
- /// <summary>
- /// <para>The abstract implementation of secure communications using SSL, TLS, or other protocols. It includes the setup, handshake, and encrypt/decrypt functionality needed to create a secure connection.</para><para><para>1.5 </para></para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLEngine
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLEngine", AccessFlags = 1057)]
- public abstract partial class SSLEngine
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> SSLEngine </c> instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 4)]
- protected internal SSLEngine() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Creates a new <c> SSLEngine </c> instance with the specified host and port.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;I)V", AccessFlags = 4)]
- protected internal SSLEngine(string host, int port) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the name of the peer host.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the name of the peer host, or <c> null </c> if none is available. </para>
- /// </returns>
- /// <java-name>
- /// getPeerHost
- /// </java-name>
- [Dot42.DexImport("getPeerHost", "()Ljava/lang/String;", AccessFlags = 1)]
- public virtual string GetPeerHost() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the port number of the peer host.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the port number of the peer host, or <c> -1 </c> is none is available. </para>
- /// </returns>
- /// <java-name>
- /// getPeerPort
- /// </java-name>
- [Dot42.DexImport("getPeerPort", "()I", AccessFlags = 1)]
- public virtual int GetPeerPort() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Initiates a handshake on this engine. </para><para>Calling this method is not needed for the initial handshake: it will be called by <c> wrap </c> or <c> unwrap </c> if the initial handshake has not been started yet.</para><para></para>
- /// </summary>
- /// <java-name>
- /// beginHandshake
- /// </java-name>
- [Dot42.DexImport("beginHandshake", "()V", AccessFlags = 1025)]
- public abstract void BeginHandshake() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Notifies this engine instance that no more inbound network data will be sent to this engine.</para><para></para>
- /// </summary>
- /// <java-name>
- /// closeInbound
- /// </java-name>
- [Dot42.DexImport("closeInbound", "()V", AccessFlags = 1025)]
- public abstract void CloseInbound() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Notifies this engine instance that no more outbound application data will be sent to this engine. </para>
- /// </summary>
- /// <java-name>
- /// closeOutbound
- /// </java-name>
- [Dot42.DexImport("closeOutbound", "()V", AccessFlags = 1025)]
- public abstract void CloseOutbound() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns a delegate task for this engine instance. Some engine operations may require the results of blocking or long running operations, and the <c> SSLEngineResult </c> instances returned by this engine may indicate that a delegated task result is needed. In this case the run method of the returned <c> Runnable </c> delegated task must be called.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>a delegate task, or <c> null </c> if none are available. </para>
- /// </returns>
- /// <java-name>
- /// getDelegatedTask
- /// </java-name>
- [Dot42.DexImport("getDelegatedTask", "()Ljava/lang/Runnable;", AccessFlags = 1025)]
- public abstract global::Java.Lang.IRunnable GetDelegatedTask() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the SSL cipher suite names that are enabled in this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL cipher suite names that are enabled in this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getEnabledCipherSuites
- /// </java-name>
- [Dot42.DexImport("getEnabledCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetEnabledCipherSuites() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the protocol version names that are enabled in this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the protocol version names that are enabled in this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getEnabledProtocols
- /// </java-name>
- [Dot42.DexImport("getEnabledProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetEnabledProtocols() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether new SSL sessions may be established by this engine.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new session may be established, <c> false </c> if existing sessions must be reused. </para>
- /// </returns>
- /// <java-name>
- /// getEnableSessionCreation
- /// </java-name>
- [Dot42.DexImport("getEnableSessionCreation", "()Z", AccessFlags = 1025)]
- public abstract bool GetEnableSessionCreation() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the status of the handshake of this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the status of the handshake of this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getHandshakeStatus
- /// </java-name>
- [Dot42.DexImport("getHandshakeStatus", "()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 1025)]
- public abstract global::Javax.Net.Ssl.SSLEngineResult.HandshakeStatus GetHandshakeStatus() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether this engine instance will require client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if this engine will require client authentication, <c> false </c> if no client authentication is needed. </para>
- /// </returns>
- /// <java-name>
- /// getNeedClientAuth
- /// </java-name>
- [Dot42.DexImport("getNeedClientAuth", "()Z", AccessFlags = 1025)]
- public abstract bool GetNeedClientAuth() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the SSL session for this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL session for this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getSession
- /// </java-name>
- [Dot42.DexImport("getSession", "()Ljavax/net/ssl/SSLSession;", AccessFlags = 1025)]
- public abstract global::Javax.Net.Ssl.ISSLSession GetSession() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the SSL cipher suite names that are supported by this engine. These cipher suites can be enabled using setEnabledCipherSuites(String[]).</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL cipher suite names that are supported by this engine. </para>
- /// </returns>
- /// <java-name>
- /// getSupportedCipherSuites
- /// </java-name>
- [Dot42.DexImport("getSupportedCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetSupportedCipherSuites() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the protocol names that are supported by this engine. These protocols can be enables using setEnabledProtocols(String[]).</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the protocol names that are supported by this engine. </para>
- /// </returns>
- /// <java-name>
- /// getSupportedProtocols
- /// </java-name>
- [Dot42.DexImport("getSupportedProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- public abstract string[] GetSupportedProtocols() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether this engine is set to act in client mode when handshaking.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if the engine is set to do handshaking in client mode. </para>
- /// </returns>
- /// <java-name>
- /// getUseClientMode
- /// </java-name>
- [Dot42.DexImport("getUseClientMode", "()Z", AccessFlags = 1025)]
- public abstract bool GetUseClientMode() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether this engine will request client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if client authentication will be requested, <c> false </c> otherwise. </para>
- /// </returns>
- /// <java-name>
- /// getWantClientAuth
- /// </java-name>
- [Dot42.DexImport("getWantClientAuth", "()Z", AccessFlags = 1025)]
- public abstract bool GetWantClientAuth() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether no more inbound data will be accepted by this engine.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if no more inbound data will be accepted by this engine, <c> false </c> otherwise. </para>
- /// </returns>
- /// <java-name>
- /// isInboundDone
- /// </java-name>
- [Dot42.DexImport("isInboundDone", "()Z", AccessFlags = 1025)]
- public abstract bool IsInboundDone() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether no more outbound data will be produced by this engine.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if no more outbound data will be producted by this engine, <c> otherwise </c> false. </para>
- /// </returns>
- /// <java-name>
- /// isOutboundDone
- /// </java-name>
- [Dot42.DexImport("isOutboundDone", "()Z", AccessFlags = 1025)]
- public abstract bool IsOutboundDone() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets the SSL cipher suite names that should be enabled in this engine instance. Only cipher suites listed by <c> getSupportedCipherSuites() </c> are allowed.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setEnabledCipherSuites
- /// </java-name>
- [Dot42.DexImport("setEnabledCipherSuites", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- public abstract void SetEnabledCipherSuites(string[] suites) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets the protocol version names that should be enabled in this engine instance. Only protocols listed by <c> getSupportedProtocols() </c> are allowed.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setEnabledProtocols
- /// </java-name>
- [Dot42.DexImport("setEnabledProtocols", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- public abstract void SetEnabledProtocols(string[] protocols) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether new SSL sessions may be established by this engine instance.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setEnableSessionCreation
- /// </java-name>
- [Dot42.DexImport("setEnableSessionCreation", "(Z)V", AccessFlags = 1025)]
- public abstract void SetEnableSessionCreation(bool flag) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether this engine must require client authentication. The client authentication is one of: <ul><li><para>authentication required </para></li><li><para>authentication requested </para></li><li><para>no authentication needed </para></li></ul>This method overrides the setting of setWantClientAuth(boolean).</para><para></para>
- /// </summary>
- /// <java-name>
- /// setNeedClientAuth
- /// </java-name>
- [Dot42.DexImport("setNeedClientAuth", "(Z)V", AccessFlags = 1025)]
- public abstract void SetNeedClientAuth(bool need) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether this engine should act in client (or server) mode when handshaking.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setUseClientMode
- /// </java-name>
- [Dot42.DexImport("setUseClientMode", "(Z)V", AccessFlags = 1025)]
- public abstract void SetUseClientMode(bool mode) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether this engine should request client authentication. The client authentication is one of the following: <ul><li><para>authentication required </para></li><li><para>authentication requested </para></li><li><para>no authentication needed </para></li></ul>This method overrides the setting of setNeedClientAuth(boolean).</para><para></para>
- /// </summary>
- /// <java-name>
- /// setWantClientAuth
- /// </java-name>
- [Dot42.DexImport("setWantClientAuth", "(Z)V", AccessFlags = 1025)]
- public abstract void SetWantClientAuth(bool want) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Decodes the incoming network data buffer into application data buffers. If a handshake has not been started yet, it will automatically be started.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the result object of this operation. </para>
- /// </returns>
- /// <java-name>
- /// unwrap
- /// </java-name>
- [Dot42.DexImport("unwrap", "(Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;II)Ljavax/net/ssl/SSLEngineResult;", AccessFlags = 1025)]
- public abstract global::Javax.Net.Ssl.SSLEngineResult Unwrap(global::Java.Nio.ByteBuffer src, global::Java.Nio.ByteBuffer[] dsts, int offset, int length) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Encodes the outgoing application data buffers into the network data buffer. If a handshake has not been started yet, it will automatically be started.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the result object of this operation. </para>
- /// </returns>
- /// <java-name>
- /// wrap
- /// </java-name>
- [Dot42.DexImport("wrap", "([Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;", AccessFlags = 1025)]
- public abstract global::Javax.Net.Ssl.SSLEngineResult Wrap(global::Java.Nio.ByteBuffer[] srcs, int offset, int length, global::Java.Nio.ByteBuffer dst) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Decodes the incoming network data buffer into the application data buffer. If a handshake has not been started yet, it will automatically be started.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the result object of this operation. </para>
- /// </returns>
- /// <java-name>
- /// unwrap
- /// </java-name>
- [Dot42.DexImport("unwrap", "(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;", AccessFlags = 1)]
- public virtual global::Javax.Net.Ssl.SSLEngineResult Unwrap(global::Java.Nio.ByteBuffer src, global::Java.Nio.ByteBuffer dst) /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLEngineResult);
- }
- /// <summary>
- /// <para>Decodes the incoming network data buffer into the application data buffer. If a handshake has not been started yet, it will automatically be started.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the result object of this operation. </para>
- /// </returns>
- /// <java-name>
- /// unwrap
- /// </java-name>
- [Dot42.DexImport("unwrap", "(Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;", AccessFlags = 1)]
- public virtual global::Javax.Net.Ssl.SSLEngineResult Unwrap(global::Java.Nio.ByteBuffer src, global::Java.Nio.ByteBuffer[] dst) /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLEngineResult);
- }
- /// <summary>
- /// <para>Encodes the outgoing application data buffers into the network data buffer. If a handshake has not been started yet, it will automatically be started.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the result object of this operation. </para>
- /// </returns>
- /// <java-name>
- /// wrap
- /// </java-name>
- [Dot42.DexImport("wrap", "([Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;", AccessFlags = 1)]
- public virtual global::Javax.Net.Ssl.SSLEngineResult Wrap(global::Java.Nio.ByteBuffer[] srcs, global::Java.Nio.ByteBuffer dst) /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLEngineResult);
- }
- /// <summary>
- /// <para>Encodes the outgoing application data buffers into the network data buffer. If a handshake has not been started yet, it will automatically be started.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the result object of this operation. </para>
- /// </returns>
- /// <java-name>
- /// wrap
- /// </java-name>
- [Dot42.DexImport("wrap", "(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;", AccessFlags = 1)]
- public virtual global::Javax.Net.Ssl.SSLEngineResult Wrap(global::Java.Nio.ByteBuffer srcs, global::Java.Nio.ByteBuffer dst) /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLEngineResult);
- }
- /// <summary>
- /// <para>Returns the name of the peer host.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the name of the peer host, or <c> null </c> if none is available. </para>
- /// </returns>
- /// <java-name>
- /// getPeerHost
- /// </java-name>
- public string PeerHost
- {
- [Dot42.DexImport("getPeerHost", "()Ljava/lang/String;", AccessFlags = 1)]
- get{ return GetPeerHost(); }
- }
- /// <summary>
- /// <para>Returns the port number of the peer host.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the port number of the peer host, or <c> -1 </c> is none is available. </para>
- /// </returns>
- /// <java-name>
- /// getPeerPort
- /// </java-name>
- public int PeerPort
- {
- [Dot42.DexImport("getPeerPort", "()I", AccessFlags = 1)]
- get{ return GetPeerPort(); }
- }
- /// <summary>
- /// <para>Returns a delegate task for this engine instance. Some engine operations may require the results of blocking or long running operations, and the <c> SSLEngineResult </c> instances returned by this engine may indicate that a delegated task result is needed. In this case the run method of the returned <c> Runnable </c> delegated task must be called.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>a delegate task, or <c> null </c> if none are available. </para>
- /// </returns>
- /// <java-name>
- /// getDelegatedTask
- /// </java-name>
- public global::Java.Lang.IRunnable DelegatedTask
- {
- [Dot42.DexImport("getDelegatedTask", "()Ljava/lang/Runnable;", AccessFlags = 1025)]
- get{ return GetDelegatedTask(); }
- }
- /// <summary>
- /// <para>Returns the SSL cipher suite names that are enabled in this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL cipher suite names that are enabled in this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getEnabledCipherSuites
- /// </java-name>
- public string[] EnabledCipherSuites
- {
- [Dot42.DexImport("getEnabledCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetEnabledCipherSuites(); }
- [Dot42.DexImport("setEnabledCipherSuites", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- set{ SetEnabledCipherSuites(value); }
- }
- /// <summary>
- /// <para>Returns the protocol version names that are enabled in this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the protocol version names that are enabled in this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getEnabledProtocols
- /// </java-name>
- public string[] EnabledProtocols
- {
- [Dot42.DexImport("getEnabledProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetEnabledProtocols(); }
- [Dot42.DexImport("setEnabledProtocols", "([Ljava/lang/String;)V", AccessFlags = 1025)]
- set{ SetEnabledProtocols(value); }
- }
- /// <summary>
- /// <para>Returns whether new SSL sessions may be established by this engine.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new session may be established, <c> false </c> if existing sessions must be reused. </para>
- /// </returns>
- /// <java-name>
- /// getEnableSessionCreation
- /// </java-name>
- public bool IsEnableSessionCreation
- {
- [Dot42.DexImport("getEnableSessionCreation", "()Z", AccessFlags = 1025)]
- get{ return GetEnableSessionCreation(); }
- [Dot42.DexImport("setEnableSessionCreation", "(Z)V", AccessFlags = 1025)]
- set{ SetEnableSessionCreation(value); }
- }
- /// <summary>
- /// <para>Returns the status of the handshake of this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the status of the handshake of this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getHandshakeStatus
- /// </java-name>
- public global::Javax.Net.Ssl.SSLEngineResult.HandshakeStatus HandshakeStatus
- {
- [Dot42.DexImport("getHandshakeStatus", "()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 1025)]
- get{ return GetHandshakeStatus(); }
- }
- /// <summary>
- /// <para>Returns whether this engine instance will require client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if this engine will require client authentication, <c> false </c> if no client authentication is needed. </para>
- /// </returns>
- /// <java-name>
- /// getNeedClientAuth
- /// </java-name>
- public bool IsNeedClientAuth
- {
- [Dot42.DexImport("getNeedClientAuth", "()Z", AccessFlags = 1025)]
- get{ return GetNeedClientAuth(); }
- [Dot42.DexImport("setNeedClientAuth", "(Z)V", AccessFlags = 1025)]
- set{ SetNeedClientAuth(value); }
- }
- /// <summary>
- /// <para>Returns the SSL session for this engine instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL session for this engine instance. </para>
- /// </returns>
- /// <java-name>
- /// getSession
- /// </java-name>
- public global::Javax.Net.Ssl.ISSLSession Session
- {
- [Dot42.DexImport("getSession", "()Ljavax/net/ssl/SSLSession;", AccessFlags = 1025)]
- get{ return GetSession(); }
- }
- /// <summary>
- /// <para>Returns the SSL cipher suite names that are supported by this engine. These cipher suites can be enabled using setEnabledCipherSuites(String[]).</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL cipher suite names that are supported by this engine. </para>
- /// </returns>
- /// <java-name>
- /// getSupportedCipherSuites
- /// </java-name>
- public string[] SupportedCipherSuites
- {
- [Dot42.DexImport("getSupportedCipherSuites", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetSupportedCipherSuites(); }
- }
- /// <summary>
- /// <para>Returns the protocol names that are supported by this engine. These protocols can be enables using setEnabledProtocols(String[]).</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the protocol names that are supported by this engine. </para>
- /// </returns>
- /// <java-name>
- /// getSupportedProtocols
- /// </java-name>
- public string[] SupportedProtocols
- {
- [Dot42.DexImport("getSupportedProtocols", "()[Ljava/lang/String;", AccessFlags = 1025)]
- get{ return GetSupportedProtocols(); }
- }
- /// <summary>
- /// <para>Returns whether this engine is set to act in client mode when handshaking.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if the engine is set to do handshaking in client mode. </para>
- /// </returns>
- /// <java-name>
- /// getUseClientMode
- /// </java-name>
- public bool IsUseClientMode
- {
- [Dot42.DexImport("getUseClientMode", "()Z", AccessFlags = 1025)]
- get{ return GetUseClientMode(); }
- [Dot42.DexImport("setUseClientMode", "(Z)V", AccessFlags = 1025)]
- set{ SetUseClientMode(value); }
- }
- /// <summary>
- /// <para>Returns whether this engine will request client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if client authentication will be requested, <c> false </c> otherwise. </para>
- /// </returns>
- /// <java-name>
- /// getWantClientAuth
- /// </java-name>
- public bool IsWantClientAuth
- {
- [Dot42.DexImport("getWantClientAuth", "()Z", AccessFlags = 1025)]
- get{ return GetWantClientAuth(); }
- [Dot42.DexImport("setWantClientAuth", "(Z)V", AccessFlags = 1025)]
- set{ SetWantClientAuth(value); }
- }
- }
- /// <summary>
- /// <para>The <b>Service Provider Interface</b> (SPI) for the <c> SSLContext </c> class. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLContextSpi
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLContextSpi", AccessFlags = 1057)]
- public abstract partial class SSLContextSpi
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> SSLContextSpi </c> instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public SSLContextSpi() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Initializes this <c> SSLContext </c> instance. All of the arguments are optional, and the security providers will be searched for the required implementations of the needed algorithms.</para><para></para>
- /// </su