/Generated/v4.1/Javax.Net.Ssl.cs
https://gitlab.com/Pfhoenix/api · C# · 1165 lines · 392 code · 101 blank · 672 comment · 0 complexity · 3ea70f3e3259a43e0c099936033e65e5 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 extension of <c> ServerSocket </c> which provides secure server sockets based on protocols like SSL, TLS, or others. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLServerSocket
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLServerSocket", AccessFlags = 1057)]
- public abstract partial class SSLServerSocket : global::Java.Net.ServerSocket
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP server socket with the default authentication context.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 4)]
- protected internal SSLServerSocket() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP server socket on the specified port with the default authentication context. The connection's default backlog size is 50 connections. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "(I)V", AccessFlags = 4)]
- protected internal SSLServerSocket(int port) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP server socket on the specified port using the specified backlog and the default authentication context.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(II)V", AccessFlags = 4)]
- protected internal SSLServerSocket(int port, int backlog) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Only to be used by subclasses. </para><para>Creates a TCP server socket on the specified port, using the specified backlog, listening on the specified interface, and using the default authentication context.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(IILjava/net/InetAddress;)V", AccessFlags = 4)]
- protected internal SSLServerSocket(int port, int backlog, global::Java.Net.InetAddress address) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the names of the enabled cipher suites to be used for new connections.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the enabled cipher suites to be used for new connections. </para>
- /// </returns>
- /// <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 for new connections. 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 cipher suites.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the supported cipher suites. </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 names of the supported protocols.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the supported protocols. </para>
- /// </returns>
- /// <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 to be used for new connections.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the enabled protocols to be used for new connections. </para>
- /// </returns>
- /// <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 for new connections. 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>Sets whether server-mode connections will be configured to require 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 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>Returns whether server-mode connections will be configured to require client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if client authentication is required, <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>Sets whether server-mode connections will be configured to 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>Returns whether server-mode connections will be configured to request client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> is client authentication will be requested, <c> false </c> if no client authentication is needed. </para>
- /// </returns>
- /// <java-name>
- /// getWantClientAuth
- /// </java-name>
- [Dot42.DexImport("getWantClientAuth", "()Z", AccessFlags = 1025)]
- public abstract bool GetWantClientAuth() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether new connections 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 whether new connection will act in client mode when handshaking.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new connections will act in client mode when handshaking, <c> false </c> if not. </para>
- /// </returns>
- /// <java-name>
- /// getUseClientMode
- /// </java-name>
- [Dot42.DexImport("getUseClientMode", "()Z", AccessFlags = 1025)]
- public abstract bool GetUseClientMode() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets whether new SSL sessions may be established for new connections.</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 established for new connections.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new SSL sessions may be established, <c> false </c> if existing SSL 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 names of the enabled cipher suites to be used for new connections.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the enabled cipher suites to be used for new connections. </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 names of the supported cipher suites.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the supported cipher suites. </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 names of the supported protocols.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the supported protocols. </para>
- /// </returns>
- /// <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 to be used for new connections.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the names of the enabled protocols to be used for new connections. </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 server-mode connections will be configured to require client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if client authentication is required, <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 whether server-mode connections will be configured to request client authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> is client authentication will be requested, <c> false </c> if no client authentication is needed. </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>Returns whether new connection will act in client mode when handshaking.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new connections will act in client mode when handshaking, <c> false </c> if not. </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 new SSL sessions may be established for new connections.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if new SSL sessions may be established, <c> false </c> if existing SSL 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>The result object describing the state of the <c> SSLEngine </c> produced by the <c> wrap() </c> and <c> unwrap() </c> operations. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLEngineResult
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLEngineResult", AccessFlags = 33)]
- public partial class SSLEngineResult
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> SSLEngineResult </c> instance with the specified state values.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljavax/net/ssl/SSLEngineResult$Status;Ljavax/net/ssl/SSLEngineResult$HandshakeSt" +
- "atus;II)V", AccessFlags = 1)]
- public SSLEngineResult(global::Javax.Net.Ssl.SSLEngineResult.Status status, global::Javax.Net.Ssl.SSLEngineResult.HandshakeStatus handshakeStatus, int bytesConsumed, int bytesProduced) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the return value of the <c> SSLEngine </c> operation.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the return value of the <c> SSLEngine </c> operation. </para>
- /// </returns>
- /// <java-name>
- /// getStatus
- /// </java-name>
- [Dot42.DexImport("getStatus", "()Ljavax/net/ssl/SSLEngineResult$Status;", AccessFlags = 17)]
- public global::Javax.Net.Ssl.SSLEngineResult.Status GetStatus() /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLEngineResult.Status);
- }
- /// <summary>
- /// <para>Returns the status of the current handshake.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the status of the current handshake. </para>
- /// </returns>
- /// <java-name>
- /// getHandshakeStatus
- /// </java-name>
- [Dot42.DexImport("getHandshakeStatus", "()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 17)]
- public global::Javax.Net.Ssl.SSLEngineResult.HandshakeStatus GetHandshakeStatus() /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLEngineResult.HandshakeStatus);
- }
- /// <summary>
- /// <para>Returns the number of bytes retrieved from the source buffer(s).</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the number of bytes retrieved from the source buffer(s). </para>
- /// </returns>
- /// <java-name>
- /// bytesConsumed
- /// </java-name>
- [Dot42.DexImport("bytesConsumed", "()I", AccessFlags = 17)]
- public int BytesConsumed() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns the number of bytes transferred to the destination buffer(s).</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the number of bytes transferred to the destination buffer(s). </para>
- /// </returns>
- /// <java-name>
- /// bytesProduced
- /// </java-name>
- [Dot42.DexImport("bytesProduced", "()I", AccessFlags = 17)]
- public int BytesProduced() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <java-name>
- /// toString
- /// </java-name>
- [Dot42.DexImport("toString", "()Ljava/lang/String;", AccessFlags = 1)]
- public override string ToString() /* MethodBuilder.Create */
- {
- return default(string);
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal SSLEngineResult() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- /// <java-name>
- /// javax/net/ssl/SSLEngineResult$Status
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLEngineResult$Status", AccessFlags = 16409, Signature = "Ljava/lang/Enum<Ljavax/net/ssl/SSLEngineResult$Status;>;")]
- public sealed class Status
- /* scope: __dot42__ */
- {
- /// <java-name>
- /// BUFFER_OVERFLOW
- /// </java-name>
- [Dot42.DexImport("BUFFER_OVERFLOW", "Ljavax/net/ssl/SSLEngineResult$Status;", AccessFlags = 16409)]
- public static readonly Status BUFFER_OVERFLOW;
- /// <java-name>
- /// BUFFER_UNDERFLOW
- /// </java-name>
- [Dot42.DexImport("BUFFER_UNDERFLOW", "Ljavax/net/ssl/SSLEngineResult$Status;", AccessFlags = 16409)]
- public static readonly Status BUFFER_UNDERFLOW;
- /// <java-name>
- /// CLOSED
- /// </java-name>
- [Dot42.DexImport("CLOSED", "Ljavax/net/ssl/SSLEngineResult$Status;", AccessFlags = 16409)]
- public static readonly Status CLOSED;
- /// <java-name>
- /// OK
- /// </java-name>
- [Dot42.DexImport("OK", "Ljavax/net/ssl/SSLEngineResult$Status;", AccessFlags = 16409)]
- public static readonly Status OK;
- private Status() /* TypeBuilder.AddPrivateDefaultCtor */
- {
- }
- }
- /// <java-name>
- /// javax/net/ssl/SSLEngineResult$HandshakeStatus
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLEngineResult$HandshakeStatus", AccessFlags = 16409, Signature = "Ljava/lang/Enum<Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;>;")]
- public sealed class HandshakeStatus
- /* scope: __dot42__ */
- {
- /// <java-name>
- /// FINISHED
- /// </java-name>
- [Dot42.DexImport("FINISHED", "Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 16409)]
- public static readonly HandshakeStatus FINISHED;
- /// <java-name>
- /// NEED_TASK
- /// </java-name>
- [Dot42.DexImport("NEED_TASK", "Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 16409)]
- public static readonly HandshakeStatus NEED_TASK;
- /// <java-name>
- /// NEED_UNWRAP
- /// </java-name>
- [Dot42.DexImport("NEED_UNWRAP", "Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 16409)]
- public static readonly HandshakeStatus NEED_UNWRAP;
- /// <java-name>
- /// NEED_WRAP
- /// </java-name>
- [Dot42.DexImport("NEED_WRAP", "Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 16409)]
- public static readonly HandshakeStatus NEED_WRAP;
- /// <java-name>
- /// NOT_HANDSHAKING
- /// </java-name>
- [Dot42.DexImport("NOT_HANDSHAKING", "Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;", AccessFlags = 16409)]
- public static readonly HandshakeStatus NOT_HANDSHAKING;
- private HandshakeStatus() /* TypeBuilder.AddPrivateDefaultCtor */
- {
- }
- }
- }
- /// <summary>
- /// <para>The <b>Service Provider Interface</b> (SPI) for the <c> TrustManagerFactory </c> class. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/TrustManagerFactorySpi
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/TrustManagerFactorySpi", AccessFlags = 1057)]
- public abstract partial class TrustManagerFactorySpi
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> TrustManagerFactorySpi </c> instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public TrustManagerFactorySpi() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Initializes this factory instance with the specified keystore as source of certificate authorities and trust material.</para><para></para>
- /// </summary>
- /// <java-name>
- /// engineInit
- /// </java-name>
- [Dot42.DexImport("engineInit", "(Ljava/security/KeyStore;)V", AccessFlags = 1028)]
- protected internal abstract void EngineInit(global::Java.Security.KeyStore ks) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Initializes this factory instance with the specified keystore as source of certificate authorities and trust material.</para><para></para>
- /// </summary>
- /// <java-name>
- /// engineInit
- /// </java-name>
- [Dot42.DexImport("engineInit", "(Ljavax/net/ssl/ManagerFactoryParameters;)V", AccessFlags = 1028)]
- protected internal abstract void EngineInit(global::Javax.Net.Ssl.IManagerFactoryParameters ks) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the list of <c> TrustManager </c> s with one entry for each type of trust material.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the list of <c> TrustManager </c> s </para>
- /// </returns>
- /// <java-name>
- /// engineGetTrustManagers
- /// </java-name>
- [Dot42.DexImport("engineGetTrustManagers", "()[Ljavax/net/ssl/TrustManager;", AccessFlags = 1028)]
- protected internal abstract global::Javax.Net.Ssl.ITrustManager[] EngineGetTrustManagers() /* MethodBuilder.Create */ ;
- }
- /// <summary>
- /// <para>This is the interface to implement in order to mark a class as a JSSE key managers so that key managers can be easily grouped. The key managers are responsible for handling the keys used to authenticate the local side to its peer, </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/KeyManager
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/KeyManager", AccessFlags = 1537)]
- public partial interface IKeyManager
- /* scope: __dot42__ */
- {
- }
- /// <summary>
- /// <para>Legacy security code; do not use. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/SSLPermission
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/SSLPermission", AccessFlags = 49)]
- public sealed partial class SSLPermission : global::Java.Security.BasicPermission
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "(Ljava/lang/String;)V", AccessFlags = 1)]
- public SSLPermission(string name) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "(Ljava/lang/String;Ljava/lang/String;)V", AccessFlags = 1)]
- public SSLPermission(string name, string actions) /* MethodBuilder.Create */
- {
- }
- /// <java-name>
- /// getActions
- /// </java-name>
- [Dot42.DexImport("getActions", "()Ljava/lang/String;", AccessFlags = 1)]
- public override string GetActions() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <java-name>
- /// implies
- /// </java-name>
- [Dot42.DexImport("implies", "(Ljava/security/Permission;)Z", AccessFlags = 1)]
- public override bool Implies(global::Java.Security.Permission permission) /* MethodBuilder.Create */
- {
- return default(bool);
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal SSLPermission() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- /// <java-name>
- /// getActions
- /// </java-name>
- public string Actions
- {
- [Dot42.DexImport("getActions", "()Ljava/lang/String;", AccessFlags = 1)]
- get{ return GetActions(); }
- }
- }
- /// <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>
- /// </summary>
- /// <java-name>
- /// engineInit
- /// </java-name>
- [Dot42.DexImport("engineInit", "([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRan" +
- "dom;)V", AccessFlags = 1028)]
- protected internal abstract void EngineInit(global::Javax.Net.Ssl.IKeyManager[] km, global::Javax.Net.Ssl.ITrustManager[] tm, global::Java.Security.SecureRandom sr) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns a socket factory for this instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>a socket factory for this instance. </para>
- /// </returns>
- /// <java-name>
- /// engineGetSocketFactory
- /// </java-name>
- [Dot42.DexImport("engineGetSocketFactory", "()Ljavax/net/ssl/SSLSocketFactory;", AccessFlags = 1028)]
- protected internal abstract global::Javax.Net.Ssl.SSLSocketFactory EngineGetSocketFactory() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns a server socket factory for this instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>a server socket factory for this instance. </para>
- /// </returns>
- /// <java-name>
- /// engineGetServerSocketFactory
- /// </java-name>
- [Dot42.DexImport("engineGetServerSocketFactory", "()Ljavax/net/ssl/SSLServerSocketFactory;", AccessFlags = 1028)]
- protected internal abstract global::Javax.Net.Ssl.SSLServerSocketFactory EngineGetServerSocketFactory() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Creates an <c> SSLEngine </c> instance from this context with the specified hostname and port.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an <c> SSLEngine </c> instance from this context. </para>
- /// </returns>
- /// <java-name>
- /// engineCreateSSLEngine
- /// </java-name>
- [Dot42.DexImport("engineCreateSSLEngine", "(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;", AccessFlags = 1028)]
- protected internal abstract global::Javax.Net.Ssl.SSLEngine EngineCreateSSLEngine(string host, int port) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Creates an <c> SSLEngine </c> instance from this context.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an <c> SSLEngine </c> instance from this context. </para>
- /// </returns>
- /// <java-name>
- /// engineCreateSSLEngine
- /// </java-name>
- [Dot42.DexImport("engineCreateSSLEngine", "()Ljavax/net/ssl/SSLEngine;", AccessFlags = 1028)]
- protected internal abstract global::Javax.Net.Ssl.SSLEngine EngineCreateSSLEngine() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the SSL session context that encapsulates the set of SSL sessions that can be used for the server side of the SSL handshake.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL server session context for this context or <c> null </c> if the underlying provider does not provide an implementation of the <c> SSLSessionContext </c> interface. </para>
- /// </returns>
- /// <java-name>
- /// engineGetServerSessionContext
- /// </java-name>
- [Dot42.DexImport("engineGetServerSessionContext", "()Ljavax/net/ssl/SSLSessionContext;", AccessFlags = 1028)]
- protected internal abstract global::Javax.Net.Ssl.ISSLSessionContext EngineGetServerSessionContext() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the SSL session context that encapsulates the set of SSL sessions that can be used for the client side of the SSL handshake.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SSL client session context for this context or <c> null </c> if the underlying provider does not provide an implementation of the <c> SSLSessionContext </c> interface. </para>
- /// </returns>
- /// <java-name>
- /// engineGetClientSessionContext
- /// </java-name>
- [Dot42.DexImport("engineGetClientSessionContext", "()Ljavax/net/ssl/SSLSessionContext;", AccessFlags = 1028)]
- protected internal abstract global::Javax.Net.Ssl.ISSLSessionContext EngineGetClientSessionContext() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns a new SSLParameters instance that includes the default SSL handshake parameters values including cipher suites, protocols, and client authentication.</para><para>The default implementation returns an SSLParameters with values based an SSLSocket created from this instances SocketFactory.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// engineGetDefaultSSLParameters
- /// </java-name>
- [Dot42.DexImport("engineGetDefaultSSLParameters", "()Ljavax/net/ssl/SSLParameters;", AccessFlags = 4)]
- protected internal virtual global::Javax.Net.Ssl.SSLParameters EngineGetDefaultSSLParameters() /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLParameters);
- }
- /// <summary>
- /// <para>Returns a new SSLParameters instance that includes all supported cipher suites and protocols.</para><para>The default implementation returns an SSLParameters with values based an SSLSocket created from this instances SocketFactory.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// engineGetSupportedSSLParameters
- /// </java-name>
- [Dot42.DexImport("engineGetSupportedSSLParameters", "()Ljavax/net/ssl/SSLParameters;", AccessFlags = 4)]
- protected internal virtual global::Javax.Net.Ssl.SSLParameters EngineGetSupportedSSLParameters() /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.SSLParameters);
- }
- }
- /// <summary>
- /// <para>The public API for <c> KeyManagerFactory </c> implementations. </para>
- /// </summary>
- /// <java-name>
- /// javax/net/ssl/KeyManagerFactory
- /// </java-name>
- [Dot42.DexImport("javax/net/ssl/KeyManagerFactory", AccessFlags = 33)]
- public partial class KeyManagerFactory
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> KeyManagerFactory </c> .</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljavax/net/ssl/KeyManagerFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V" +
- "", AccessFlags = 4)]
- protected internal KeyManagerFactory(global::Javax.Net.Ssl.KeyManagerFactorySpi factorySpi, global::Java.Security.Provider provider, string algorithm) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the default key manager factory algorithm name. </para><para>The default algorithm name is specified by the security property: <c> 'ssl.KeyManagerFactory.algorithm' </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the default algorithm name. </para>
- /// </returns>
- /// <java-name>
- /// getDefaultAlgorithm
- /// </java-name>
- [Dot42.DexImport("getDefaultAlgorithm", "()Ljava/lang/String;", AccessFlags = 25)]
- public static string GetDefaultAlgorithm() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Creates a new <c> KeyManagerFactory </c> instance for the specified key management algorithm.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>a key manager factory for the requested algorithm. </para>
- /// </returns>
- /// <java-name>
- /// getInstance
- /// </java-name>
- [Dot42.DexImport("getInstance", "(Ljava/lang/String;)Ljavax/net/ssl/KeyManagerFactory;", AccessFlags = 25)]
- public static global::Javax.Net.Ssl.KeyManagerFactory GetInstance(string algorithm) /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.KeyManagerFactory);
- }
- /// <java-name>
- /// getInstance
- /// </java-name>
- [Dot42.DexImport("getInstance", "(Ljava/lang/String;Ljava/lang/String;)Ljavax/net/ssl/KeyManagerFactory;", AccessFlags = 25)]
- public static global::Javax.Net.Ssl.KeyManagerFactory GetInstance(string @string, string string1) /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.KeyManagerFactory);
- }
- /// <java-name>
- /// getInstance
- /// </java-name>
- [Dot42.DexImport("getInstance", "(Ljava/lang/String;Ljava/security/Provider;)Ljavax/net/ssl/KeyManagerFactory;", AccessFlags = 25)]
- public static global::Javax.Net.Ssl.KeyManagerFactory GetInstance(string @string, global::Java.Security.Provider provider) /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.KeyManagerFactory);
- }
- /// <summary>
- /// <para>Returns the name of the key management algorithm.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the name of the key management algorithm. </para>
- /// </returns>
- /// <java-name>
- /// getAlgorithm
- /// </java-name>
- [Dot42.DexImport("getAlgorithm", "()Ljava/lang/String;", AccessFlags = 17)]
- public string GetAlgorithm() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the provider for this <c> KeyManagerFactory </c> instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the provider for this <c> KeyManagerFactory </c> instance. </para>
- /// </returns>
- /// <java-name>
- /// getProvider
- /// </java-name>
- [Dot42.DexImport("getProvider", "()Ljava/security/Provider;", AccessFlags = 17)]
- public global::Java.Security.Provider GetProvider() /* MethodBuilder.Create */
- {
- return default(global::Java.Security.Provider);
- }
- /// <summary>
- /// <para>Initializes this instance with the specified key store and password.</para><para></para>
- /// </summary>
- /// <java-name>
- /// init
- /// </java-name>
- [Dot42.DexImport("init", "(Ljava/security/KeyStore;[C)V", AccessFlags = 17)]
- public void Init(global::Java.Security.KeyStore ks, char[] password) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Initializes this instance with the specified factory parameters.</para><para></para>
- /// </summary>
- /// <java-name>
- /// init
- /// </java-name>
- [Dot42.DexImport("init", "(Ljavax/net/ssl/ManagerFactoryParameters;)V", AccessFlags = 17)]
- public void Init(global::Javax.Net.Ssl.IManagerFactoryParameters spec) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns a list of key managers, one instance for each type of key in the key store.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>a list of key managers. </para>
- /// </returns>
- /// <java-name>
- /// getKeyManagers
- /// </java-name>
- [Dot42.DexImport("getKeyManagers", "()[Ljavax/net/ssl/KeyManager;", AccessFlags = 17)]
- public global::Javax.Net.Ssl.IKeyManager[] GetKeyManagers() /* MethodBuilder.Create */
- {
- return default(global::Javax.Net.Ssl.IKeyManager[]);
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal KeyManagerFactory() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- /// <summary>
- /// <para>Returns the default key manager factory algorithm name. </para><para>The default algorithm name is specified by the security property: <c> 'ssl.KeyManagerFactory.algorithm' </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the default algorithm name. </para>
- /// </returns>
- /// <java-name>
- /// getDefaultAlgorithm
- /// </java-name>
- public static string DefaultAlgorithm
- {
- [Dot42.DexImport("getDefaultAlgorithm", "()Ljava/lang/String;", AccessFlags = 25)]
- get{ return GetDefaultAlgorithm(); }
- }
- /// <summary>
- /// <para>Returns the name of the key management algorithm.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the name of the key management algorithm. </para>
- /// </returns>
- /// <java-name>
- /// getAlgorithm
- /// </java-name>
- public string Algorithm
- {
- [Dot42.DexImport("getAlgorithm", "()Ljava/lang/String;", AccessFlags = 17)]
- get{ return GetAlgorithm(); }
- }
- /// <summary>
- /// <para>Returns the provider for this <c> KeyManagerFactory </c> instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the provider for this <c> KeyManagerFactory </c> instance. </para>
- /// </returns>
- /// <java-name>
- /// getProvider
- /// </java-name>
- public global::Java.Security.Provider Provider
- {
- [Dot42.DexImport("getProvider", "()Ljava/security/Provider;", AccessFlags = 17)]
- get{ return GetProvider(); }
- }
- /// <summary>
- /// <para>Returns a list of key managers, one instance for each type of key in the key store.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>a list of key managers. </para>
- /// </returns>
- /// <java-name>
- /// getKeyManagers
- /// </java-name>
- public global::Javax.Net.Ssl.IKeyManager[] KeyManagers
- {
- [Dot42.DexImport("getKeyManagers", "()[Ljavax/net/ssl/KeyManager;", AccessFlags = 17)]
- get{ return GetKeyManagers(); }
- }
- }
- /// <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>Unsupported for SSL because reading from an SSL socket may require writing to the network. </para>
- /// </summary>
- /// <java-name>
- /// shutdownInput
- /// </java-name>
- [Dot42.DexImport("shutdownInput", "()V", AccessFlags = 1)]
- public override void ShutdownInput() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Unsupported for SSL because writing to an SSL socket may require reading from the network. </para>
- /// </summary>
- /// <java-name>
- /// shutdownOutput
- /// </java-name>
- [Dot42.DexImport("shutdownOutput", "()V", AccessFlags = 1)]
- public override void ShutdownOutput() /* 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>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 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