RingJavafor Ring

javax.net.ssl

43 classes of the module java.base.

Load them with:

using {
	"javax.net.ssl"
}

All packages

CertPathTrustManagerParameters#

class · extends Object · javax.net.ssl.CertPathTrustManagerParameters

Implements: ManagerFactoryParameters

Constructors

new CertPathTrustManagerParameters(CertPathParameters parameters)

Ring: new CertPathTrustManagerParameters(args) uses the constructor with the fewest parameters (at least one); new CertPathTrustManagerParameters makes the object with the constructor without parameters; the others: (new CertPathTrustManagerParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getParametersgetParameters()CertPathParameters getParameters()

The methods and fields of Object are inherited.

ExtendedSSLSession#

abstract · extends Object · javax.net.ssl.ExtendedSSLSession

Implements: SSLSession

Methods

MethodRing callJava overloads
exportKeyingMaterialDataexportKeyingMaterialData(label,context,length)byte[] exportKeyingMaterialData(String label, byte[] context, int length)
exportKeyingMaterialKeyexportKeyingMaterialKey(keyAlg,label,context,length)SecretKey exportKeyingMaterialKey(String keyAlg, String label, byte[] context, int length)
getApplicationBufferSizegetApplicationBufferSize()int getApplicationBufferSize()
getCipherSuitegetCipherSuite()String getCipherSuite()
getCreationTimegetCreationTime()long getCreationTime()
getIdgetId()byte[] getId()
getLastAccessedTimegetLastAccessedTime()long getLastAccessedTime()
getLocalCertificatesgetLocalCertificates()Certificate[] getLocalCertificates()
getLocalPrincipalgetLocalPrincipal()Principal getLocalPrincipal()
getLocalSupportedSignatureAlgorithmsgetLocalSupportedSignatureAlgorithms()String[] getLocalSupportedSignatureAlgorithms()
getPacketBufferSizegetPacketBufferSize()int getPacketBufferSize()
getPeerCertificateChaingetPeerCertificateChain()X509Certificate[] getPeerCertificateChain()
getPeerCertificatesgetPeerCertificates()Certificate[] getPeerCertificates()
getPeerHostgetPeerHost()String getPeerHost()
getPeerPortgetPeerPort()int getPeerPort()
getPeerPrincipalgetPeerPrincipal()Principal getPeerPrincipal()
getPeerSupportedSignatureAlgorithmsgetPeerSupportedSignatureAlgorithms()String[] getPeerSupportedSignatureAlgorithms()
getProtocolgetProtocol()String getProtocol()
getRequestedServerNamesgetRequestedServerNames()List getRequestedServerNames()
getSessionContextgetSessionContext()SSLSessionContext getSessionContext()
getStatusResponsesgetStatusResponses()List getStatusResponses()
getValuegetValue(name)Object getValue(String name)
getValueNamesgetValueNames()String[] getValueNames()
invalidateinvalidate()void invalidate()
isValidisValid()boolean isValid()
putValueputValue(name,value)void putValue(String name, Object value)
removeValueremoveValue(name)void removeValue(String name)

The methods and fields of Object are inherited.

HandshakeCompletedEvent#

class · extends EventObject · javax.net.ssl.HandshakeCompletedEvent

Constructors

new HandshakeCompletedEvent(SSLSocket sock, SSLSession s)

Ring: new HandshakeCompletedEvent(args) uses the constructor with the fewest parameters (at least one); new HandshakeCompletedEvent makes the object with the constructor without parameters; the others: (new HandshakeCompletedEvent).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getCipherSuitegetCipherSuite()String getCipherSuite()
getLocalCertificatesgetLocalCertificates()Certificate[] getLocalCertificates()
getLocalPrincipalgetLocalPrincipal()Principal getLocalPrincipal()
getPeerCertificateChaingetPeerCertificateChain()X509Certificate[] getPeerCertificateChain()
getPeerCertificatesgetPeerCertificates()Certificate[] getPeerCertificates()
getPeerPrincipalgetPeerPrincipal()Principal getPeerPrincipal()
getSessiongetSession()SSLSession getSession()
getSocketgetSocket()SSLSocket getSocket()

The methods and fields of EventObject are inherited.

HandshakeCompletedListener#

interface · javax.net.ssl.HandshakeCompletedListener

Extends: EventListener

Methods

MethodRing callJava overloads
handshakeCompletedhandshakeCompleted(event)void handshakeCompleted(HandshakeCompletedEvent event)

HostnameVerifier#

interface · javax.net.ssl.HostnameVerifier

Methods

MethodRing callJava overloads
verifyverify(hostname,session)boolean verify(String hostname, SSLSession session)

HttpsURLConnection#

abstract · extends HttpURLConnection · javax.net.ssl.HttpsURLConnection

Methods

MethodRing callJava overloads
getCipherSuitegetCipherSuite()String getCipherSuite()
getDefaultHostnameVerifiergetDefaultHostnameVerifier()static HostnameVerifier getDefaultHostnameVerifier()
getDefaultSSLSocketFactorygetDefaultSSLSocketFactory()static SSLSocketFactory getDefaultSSLSocketFactory()
getHostnameVerifiergetHostnameVerifier()HostnameVerifier getHostnameVerifier()
getLocalCertificatesgetLocalCertificates()Certificate[] getLocalCertificates()
getLocalPrincipalgetLocalPrincipal()Principal getLocalPrincipal()
getPeerPrincipalgetPeerPrincipal()Principal getPeerPrincipal()
getServerCertificatesgetServerCertificates()Certificate[] getServerCertificates()
getSSLSessiongetSSLSession()Optional getSSLSession()
getSSLSocketFactorygetSSLSocketFactory()SSLSocketFactory getSSLSocketFactory()
setDefaultHostnameVerifiersetDefaultHostnameVerifier(v)static void setDefaultHostnameVerifier(HostnameVerifier v)
setDefaultSSLSocketFactorysetDefaultSSLSocketFactory(sf)static void setDefaultSSLSocketFactory(SSLSocketFactory sf)
setHostnameVerifiersetHostnameVerifier(v)void setHostnameVerifier(HostnameVerifier v)
setSSLSocketFactorysetSSLSocketFactory(sf)void setSSLSocketFactory(SSLSocketFactory sf)

The methods and fields of HttpURLConnection are inherited.

KeyManager#

interface · javax.net.ssl.KeyManager

KeyManagerFactory#

class · extends Object · javax.net.ssl.KeyManagerFactory

Methods

MethodRing callJava overloads
@init@init(spec)
@init([ks,password])
@init([ :ks = v, :password = v ])
void init(ManagerFactoryParameters spec)
void init(KeyStore ks, char[] password)
getAlgorithmgetAlgorithm()String getAlgorithm()
getDefaultAlgorithmgetDefaultAlgorithm()static String getDefaultAlgorithm()
getInstancegetInstance(algorithm)
getInstance([algorithm,provider])
getInstance([ :algorithm = v, :provider = v ])
static KeyManagerFactory getInstance(String algorithm)
static KeyManagerFactory getInstance(String algorithm, String provider)
static KeyManagerFactory getInstance(String algorithm, Provider provider)
getKeyManagersgetKeyManagers()KeyManager[] getKeyManagers()
getProvidergetProvider()Provider getProvider()

The methods and fields of Object are inherited.

KeyManagerFactorySpi#

abstract · extends Object · javax.net.ssl.KeyManagerFactorySpi

The methods and fields of Object are inherited.

KeyStoreBuilderParameters#

class · extends Object · javax.net.ssl.KeyStoreBuilderParameters

Implements: ManagerFactoryParameters

Constructors

new KeyStoreBuilderParameters(Builder builder)
new KeyStoreBuilderParameters(List parameters)

Ring: new KeyStoreBuilderParameters(args) uses the constructor with the fewest parameters (at least one); new KeyStoreBuilderParameters makes the object with the constructor without parameters; the others: (new KeyStoreBuilderParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getParametersgetParameters()List getParameters()

The methods and fields of Object are inherited.

ManagerFactoryParameters#

interface · javax.net.ssl.ManagerFactoryParameters

SNIHostName#

class final · extends SNIServerName · javax.net.ssl.SNIHostName

Constructors

new SNIHostName(String hostname)
new SNIHostName(byte[] encoded)

Ring: new SNIHostName(args) uses the constructor with the fewest parameters (at least one); new SNIHostName makes the object with the constructor without parameters; the others: (new SNIHostName).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
createSNIMatchercreateSNIMatcher(regex)static SNIMatcher createSNIMatcher(String regex)
getAsciiNamegetAsciiName()String getAsciiName()

The methods and fields of SNIServerName are inherited.

SNIMatcher#

abstract · extends Object · javax.net.ssl.SNIMatcher

Methods

MethodRing callJava overloads
getTypegetType()int getType()
matchesmatches(serverName)boolean matches(SNIServerName serverName)

The methods and fields of Object are inherited.

SNIServerName#

abstract · extends Object · javax.net.ssl.SNIServerName

Methods

MethodRing callJava overloads
getEncodedgetEncoded()byte[] getEncoded()
getTypegetType()int getType()

The methods and fields of Object are inherited.

SSLContext#

class · extends Object · javax.net.ssl.SSLContext

Methods

MethodRing callJava overloads
@createSSLEngine@createSSLEngine([peerHost,peerPort])
@createSSLEngine([ :peerHost = v, :peerPort = v ])
SSLEngine createSSLEngine(String peerHost, int peerPort)
@init@init(km,tm,random)void init(KeyManager[] km, TrustManager[] tm, SecureRandom random)
createSSLEnginecreateSSLEngine()SSLEngine createSSLEngine()
getClientSessionContextgetClientSessionContext()SSLSessionContext getClientSessionContext()
getDefaultgetDefault()static SSLContext getDefault()
getDefaultSSLParametersgetDefaultSSLParameters()SSLParameters getDefaultSSLParameters()
getInstancegetInstance(protocol)
getInstance([protocol,provider])
getInstance([ :protocol = v, :provider = v ])
static SSLContext getInstance(String protocol)
static SSLContext getInstance(String protocol, Provider provider)
static SSLContext getInstance(String protocol, String provider)
getProtocolgetProtocol()String getProtocol()
getProvidergetProvider()Provider getProvider()
getServerSessionContextgetServerSessionContext()SSLSessionContext getServerSessionContext()
getServerSocketFactorygetServerSocketFactory()SSLServerSocketFactory getServerSocketFactory()
getSocketFactorygetSocketFactory()SSLSocketFactory getSocketFactory()
getSupportedSSLParametersgetSupportedSSLParameters()SSLParameters getSupportedSSLParameters()
setDefaultsetDefault(context)static void setDefault(SSLContext context)

The methods and fields of Object are inherited.

SSLContextSpi#

abstract · extends Object · javax.net.ssl.SSLContextSpi

The methods and fields of Object are inherited.

SSLEngine#

abstract · extends Object · javax.net.ssl.SSLEngine

Methods

MethodRing callJava overloads
beginHandshakebeginHandshake()void beginHandshake()
closeInboundcloseInbound()void closeInbound()
closeOutboundcloseOutbound()void closeOutbound()
getApplicationProtocolgetApplicationProtocol()String getApplicationProtocol()
getDelegatedTaskgetDelegatedTask()Runnable getDelegatedTask()
getEnabledCipherSuitesgetEnabledCipherSuites()String[] getEnabledCipherSuites()
getEnabledProtocolsgetEnabledProtocols()String[] getEnabledProtocols()
getEnableSessionCreationgetEnableSessionCreation()boolean getEnableSessionCreation()
getHandshakeApplicationProtocolgetHandshakeApplicationProtocol()String getHandshakeApplicationProtocol()
getHandshakeApplicationProtocolSelectorgetHandshakeApplicationProtocolSelector()BiFunction getHandshakeApplicationProtocolSelector()
getHandshakeSessiongetHandshakeSession()SSLSession getHandshakeSession()
getHandshakeStatusgetHandshakeStatus()HandshakeStatus getHandshakeStatus()
getNeedClientAuthgetNeedClientAuth()boolean getNeedClientAuth()
getPeerHostgetPeerHost()String getPeerHost()
getPeerPortgetPeerPort()int getPeerPort()
getSessiongetSession()SSLSession getSession()
getSSLParametersgetSSLParameters()SSLParameters getSSLParameters()
getSupportedCipherSuitesgetSupportedCipherSuites()String[] getSupportedCipherSuites()
getSupportedProtocolsgetSupportedProtocols()String[] getSupportedProtocols()
getUseClientModegetUseClientMode()boolean getUseClientMode()
getWantClientAuthgetWantClientAuth()boolean getWantClientAuth()
isInboundDoneisInboundDone()boolean isInboundDone()
isOutboundDoneisOutboundDone()boolean isOutboundDone()
setEnabledCipherSuitessetEnabledCipherSuites(suites)void setEnabledCipherSuites(String[] suites)
setEnabledProtocolssetEnabledProtocols(protocols)void setEnabledProtocols(String[] protocols)
setEnableSessionCreationsetEnableSessionCreation(flag)void setEnableSessionCreation(boolean flag)
setHandshakeApplicationProtocolSelectorsetHandshakeApplicationProtocolSelector(selector)void setHandshakeApplicationProtocolSelector(BiFunction selector)
setNeedClientAuthsetNeedClientAuth(need)void setNeedClientAuth(boolean need)
setSSLParameterssetSSLParameters(params)void setSSLParameters(SSLParameters params)
setUseClientModesetUseClientMode(mode)void setUseClientMode(boolean mode)
setWantClientAuthsetWantClientAuth(want)void setWantClientAuth(boolean want)
unwrapunwrap([src,dsts])
unwrap([ :src = v, :dsts = v ])
unwrap([src,dsts,offset,length])
unwrap([ :src = v, :dsts = v, :offset = v, :length = v ])
SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts)
SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst)
SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)
wrapwrap([srcs,dst])
wrap([ :srcs = v, :dst = v ])
wrap([srcs,offset,length,dst])
wrap([ :srcs = v, :offset = v, :length = v, :dst = v ])
SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst)
SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst)
SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)

The methods and fields of Object are inherited.

SSLEngineResult#

class · extends Object · javax.net.ssl.SSLEngineResult

Constructors

new SSLEngineResult(Status status, HandshakeStatus handshakeStatus, int bytesConsumed, int bytesProduced)
new SSLEngineResult(Status status, HandshakeStatus handshakeStatus, int bytesConsumed, int bytesProduced, long sequenceNumber)

Ring: new SSLEngineResult(args) uses the constructor with the fewest parameters (at least one); new SSLEngineResult makes the object with the constructor without parameters; the others: (new SSLEngineResult).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
bytesConsumedbytesConsumed()int bytesConsumed()
bytesProducedbytesProduced()int bytesProduced()
getHandshakeStatusgetHandshakeStatus()HandshakeStatus getHandshakeStatus()
getStatusgetStatus()Status getStatus()
sequenceNumbersequenceNumber()long sequenceNumber()

The methods and fields of Object are inherited.

SSLEngineResultHandshakeStatus#

enum · extends Enum · javax.net.ssl.SSLEngineResult$HandshakeStatus

Fields

NameTypeAccessIn Ring
NOT_HANDSHAKINGHandshakeStatusconstant · statico.NOT_HANDSHAKING
FINISHEDHandshakeStatusconstant · statico.FINISHED
NEED_TASKHandshakeStatusconstant · statico.NEED_TASK
NEED_WRAPHandshakeStatusconstant · statico.NEED_WRAP
NEED_UNWRAPHandshakeStatusconstant · statico.NEED_UNWRAP
NEED_UNWRAP_AGAINHandshakeStatusconstant · statico.NEED_UNWRAP_AGAIN

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static HandshakeStatus valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static HandshakeStatus[] values()

The methods and fields of Enum are inherited.

SSLEngineResultStatus#

enum · extends Enum · javax.net.ssl.SSLEngineResult$Status

Fields

NameTypeAccessIn Ring
BUFFER_UNDERFLOWStatusconstant · statico.BUFFER_UNDERFLOW
BUFFER_OVERFLOWStatusconstant · statico.BUFFER_OVERFLOW
OKStatusconstant · statico.OK
CLOSEDStatusconstant · statico.CLOSED

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Status valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Status[] values()

The methods and fields of Enum are inherited.

SSLException#

class · extends IOException · javax.net.ssl.SSLException

Constructors

new SSLException(String reason)
new SSLException(Throwable cause)
new SSLException(String message, Throwable cause)

Ring: new SSLException(args) uses the constructor with the fewest parameters (at least one); new SSLException makes the object with the constructor without parameters; the others: (new SSLException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of IOException are inherited.

SSLHandshakeException#

class · extends SSLException · javax.net.ssl.SSLHandshakeException

Constructors

new SSLHandshakeException(String reason)
new SSLHandshakeException(String message, Throwable cause)

Ring: new SSLHandshakeException(args) uses the constructor with the fewest parameters (at least one); new SSLHandshakeException makes the object with the constructor without parameters; the others: (new SSLHandshakeException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of SSLException are inherited.

SSLKeyException#

class · extends SSLException · javax.net.ssl.SSLKeyException

Constructors

new SSLKeyException(String reason)
new SSLKeyException(String message, Throwable cause)

Ring: new SSLKeyException(args) uses the constructor with the fewest parameters (at least one); new SSLKeyException makes the object with the constructor without parameters; the others: (new SSLKeyException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of SSLException are inherited.

SSLParameters#

class · extends Object · javax.net.ssl.SSLParameters

Constructors

new SSLParameters()
new SSLParameters(String[] cipherSuites)
new SSLParameters(String[] cipherSuites, String[] protocols)

Ring: new SSLParameters(args) uses the constructor with the fewest parameters (at least one); new SSLParameters makes the object with the constructor without parameters; the others: (new SSLParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getAlgorithmConstraintsgetAlgorithmConstraints()AlgorithmConstraints getAlgorithmConstraints()
getApplicationProtocolsgetApplicationProtocols()String[] getApplicationProtocols()
getCipherSuitesgetCipherSuites()String[] getCipherSuites()
getEnableRetransmissionsgetEnableRetransmissions()boolean getEnableRetransmissions()
getEndpointIdentificationAlgorithmgetEndpointIdentificationAlgorithm()String getEndpointIdentificationAlgorithm()
getMaximumPacketSizegetMaximumPacketSize()int getMaximumPacketSize()
getNamedGroupsgetNamedGroups()String[] getNamedGroups()
getNeedClientAuthgetNeedClientAuth()boolean getNeedClientAuth()
getProtocolsgetProtocols()String[] getProtocols()
getServerNamesgetServerNames()List getServerNames()
getSignatureSchemesgetSignatureSchemes()String[] getSignatureSchemes()
getSNIMatchersgetSNIMatchers()Collection getSNIMatchers()
getUseCipherSuitesOrdergetUseCipherSuitesOrder()boolean getUseCipherSuitesOrder()
getWantClientAuthgetWantClientAuth()boolean getWantClientAuth()
setAlgorithmConstraintssetAlgorithmConstraints(constraints)void setAlgorithmConstraints(AlgorithmConstraints constraints)
setApplicationProtocolssetApplicationProtocols(protocols)void setApplicationProtocols(String[] protocols)
setCipherSuitessetCipherSuites(cipherSuites)void setCipherSuites(String[] cipherSuites)
setEnableRetransmissionssetEnableRetransmissions(enableRetransmissions)void setEnableRetransmissions(boolean enableRetransmissions)
setEndpointIdentificationAlgorithmsetEndpointIdentificationAlgorithm(algorithm)void setEndpointIdentificationAlgorithm(String algorithm)
setMaximumPacketSizesetMaximumPacketSize(maximumPacketSize)void setMaximumPacketSize(int maximumPacketSize)
setNamedGroupssetNamedGroups(namedGroups)void setNamedGroups(String[] namedGroups)
setNeedClientAuthsetNeedClientAuth(needClientAuth)void setNeedClientAuth(boolean needClientAuth)
setProtocolssetProtocols(protocols)void setProtocols(String[] protocols)
setServerNamessetServerNames(serverNames)void setServerNames(List serverNames)
setSignatureSchemessetSignatureSchemes(signatureSchemes)void setSignatureSchemes(String[] signatureSchemes)
setSNIMatcherssetSNIMatchers(matchers)void setSNIMatchers(Collection matchers)
setUseCipherSuitesOrdersetUseCipherSuitesOrder(honorOrder)void setUseCipherSuitesOrder(boolean honorOrder)
setWantClientAuthsetWantClientAuth(wantClientAuth)void setWantClientAuth(boolean wantClientAuth)

The methods and fields of Object are inherited.

SSLPeerUnverifiedException#

class · extends SSLException · javax.net.ssl.SSLPeerUnverifiedException

Constructors

new SSLPeerUnverifiedException(String reason)
new SSLPeerUnverifiedException(String message, Throwable cause)

Ring: new SSLPeerUnverifiedException(args) uses the constructor with the fewest parameters (at least one); new SSLPeerUnverifiedException makes the object with the constructor without parameters; the others: (new SSLPeerUnverifiedException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of SSLException are inherited.

SSLPermission#

class final · extends BasicPermission · javax.net.ssl.SSLPermission

Constructors

new SSLPermission(String name)
new SSLPermission(String name, String actions)

Ring: new SSLPermission(args) uses the constructor with the fewest parameters (at least one); new SSLPermission makes the object with the constructor without parameters; the others: (new SSLPermission).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of BasicPermission are inherited.

SSLProtocolException#

class · extends SSLException · javax.net.ssl.SSLProtocolException

Constructors

new SSLProtocolException(String reason)
new SSLProtocolException(String message, Throwable cause)

Ring: new SSLProtocolException(args) uses the constructor with the fewest parameters (at least one); new SSLProtocolException makes the object with the constructor without parameters; the others: (new SSLProtocolException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of SSLException are inherited.

SSLServerSocket#

abstract · extends ServerSocket · javax.net.ssl.SSLServerSocket

Methods

MethodRing callJava overloads
getEnabledCipherSuitesgetEnabledCipherSuites()String[] getEnabledCipherSuites()
getEnabledProtocolsgetEnabledProtocols()String[] getEnabledProtocols()
getEnableSessionCreationgetEnableSessionCreation()boolean getEnableSessionCreation()
getNeedClientAuthgetNeedClientAuth()boolean getNeedClientAuth()
getSSLParametersgetSSLParameters()SSLParameters getSSLParameters()
getSupportedCipherSuitesgetSupportedCipherSuites()String[] getSupportedCipherSuites()
getSupportedProtocolsgetSupportedProtocols()String[] getSupportedProtocols()
getUseClientModegetUseClientMode()boolean getUseClientMode()
getWantClientAuthgetWantClientAuth()boolean getWantClientAuth()
setEnabledCipherSuitessetEnabledCipherSuites(suites)void setEnabledCipherSuites(String[] suites)
setEnabledProtocolssetEnabledProtocols(protocols)void setEnabledProtocols(String[] protocols)
setEnableSessionCreationsetEnableSessionCreation(flag)void setEnableSessionCreation(boolean flag)
setNeedClientAuthsetNeedClientAuth(need)void setNeedClientAuth(boolean need)
setSSLParameterssetSSLParameters(params)void setSSLParameters(SSLParameters params)
setUseClientModesetUseClientMode(mode)void setUseClientMode(boolean mode)
setWantClientAuthsetWantClientAuth(want)void setWantClientAuth(boolean want)

The methods and fields of ServerSocket are inherited.

SSLServerSocketFactory#

abstract · extends ServerSocketFactory · javax.net.ssl.SSLServerSocketFactory

Methods

MethodRing callJava overloads
getDefaultCipherSuitesgetDefaultCipherSuites()String[] getDefaultCipherSuites()
getSupportedCipherSuitesgetSupportedCipherSuites()String[] getSupportedCipherSuites()

The methods and fields of ServerSocketFactory are inherited.

SSLSession#

interface · javax.net.ssl.SSLSession

Methods

MethodRing callJava overloads
getApplicationBufferSizegetApplicationBufferSize()int getApplicationBufferSize()
getCipherSuitegetCipherSuite()String getCipherSuite()
getCreationTimegetCreationTime()long getCreationTime()
getIdgetId()byte[] getId()
getLastAccessedTimegetLastAccessedTime()long getLastAccessedTime()
getLocalCertificatesgetLocalCertificates()Certificate[] getLocalCertificates()
getLocalPrincipalgetLocalPrincipal()Principal getLocalPrincipal()
getPacketBufferSizegetPacketBufferSize()int getPacketBufferSize()
getPeerCertificateChaingetPeerCertificateChain()X509Certificate[] getPeerCertificateChain()
getPeerCertificatesgetPeerCertificates()Certificate[] getPeerCertificates()
getPeerHostgetPeerHost()String getPeerHost()
getPeerPortgetPeerPort()int getPeerPort()
getPeerPrincipalgetPeerPrincipal()Principal getPeerPrincipal()
getProtocolgetProtocol()String getProtocol()
getSessionContextgetSessionContext()SSLSessionContext getSessionContext()
getValuegetValue(name)Object getValue(String name)
getValueNamesgetValueNames()String[] getValueNames()
invalidateinvalidate()void invalidate()
isValidisValid()boolean isValid()
putValueputValue(name,value)void putValue(String name, Object value)
removeValueremoveValue(name)void removeValue(String name)

SSLSessionBindingEvent#

class · extends EventObject · javax.net.ssl.SSLSessionBindingEvent

Constructors

new SSLSessionBindingEvent(SSLSession session, String name)

Ring: new SSLSessionBindingEvent(args) uses the constructor with the fewest parameters (at least one); new SSLSessionBindingEvent makes the object with the constructor without parameters; the others: (new SSLSessionBindingEvent).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getNamegetName()String getName()
getSessiongetSession()SSLSession getSession()

The methods and fields of EventObject are inherited.

SSLSessionBindingListener#

interface · javax.net.ssl.SSLSessionBindingListener

Extends: EventListener

Methods

MethodRing callJava overloads
valueBoundvalueBound(event)void valueBound(SSLSessionBindingEvent event)
valueUnboundvalueUnbound(event)void valueUnbound(SSLSessionBindingEvent event)

SSLSessionContext#

interface · javax.net.ssl.SSLSessionContext

Methods

MethodRing callJava overloads
getIdsgetIds()Enumeration getIds()
getSessiongetSession(sessionId)SSLSession getSession(byte[] sessionId)
getSessionCacheSizegetSessionCacheSize()int getSessionCacheSize()
getSessionTimeoutgetSessionTimeout()int getSessionTimeout()
setSessionCacheSizesetSessionCacheSize(size)void setSessionCacheSize(int size)
setSessionTimeoutsetSessionTimeout(seconds)void setSessionTimeout(int seconds)

SSLSocket#

abstract · extends Socket · javax.net.ssl.SSLSocket

Methods

MethodRing callJava overloads
addHandshakeCompletedListeneraddHandshakeCompletedListener(listener)void addHandshakeCompletedListener(HandshakeCompletedListener listener)
getApplicationProtocolgetApplicationProtocol()String getApplicationProtocol()
getEnabledCipherSuitesgetEnabledCipherSuites()String[] getEnabledCipherSuites()
getEnabledProtocolsgetEnabledProtocols()String[] getEnabledProtocols()
getEnableSessionCreationgetEnableSessionCreation()boolean getEnableSessionCreation()
getHandshakeApplicationProtocolgetHandshakeApplicationProtocol()String getHandshakeApplicationProtocol()
getHandshakeApplicationProtocolSelectorgetHandshakeApplicationProtocolSelector()BiFunction getHandshakeApplicationProtocolSelector()
getHandshakeSessiongetHandshakeSession()SSLSession getHandshakeSession()
getNeedClientAuthgetNeedClientAuth()boolean getNeedClientAuth()
getSessiongetSession()SSLSession getSession()
getSSLParametersgetSSLParameters()SSLParameters getSSLParameters()
getSupportedCipherSuitesgetSupportedCipherSuites()String[] getSupportedCipherSuites()
getSupportedProtocolsgetSupportedProtocols()String[] getSupportedProtocols()
getUseClientModegetUseClientMode()boolean getUseClientMode()
getWantClientAuthgetWantClientAuth()boolean getWantClientAuth()
removeHandshakeCompletedListenerremoveHandshakeCompletedListener(listener)void removeHandshakeCompletedListener(HandshakeCompletedListener listener)
setEnabledCipherSuitessetEnabledCipherSuites(suites)void setEnabledCipherSuites(String[] suites)
setEnabledProtocolssetEnabledProtocols(protocols)void setEnabledProtocols(String[] protocols)
setEnableSessionCreationsetEnableSessionCreation(flag)void setEnableSessionCreation(boolean flag)
setHandshakeApplicationProtocolSelectorsetHandshakeApplicationProtocolSelector(selector)void setHandshakeApplicationProtocolSelector(BiFunction selector)
setNeedClientAuthsetNeedClientAuth(need)void setNeedClientAuth(boolean need)
setSSLParameterssetSSLParameters(params)void setSSLParameters(SSLParameters params)
setUseClientModesetUseClientMode(mode)void setUseClientMode(boolean mode)
setWantClientAuthsetWantClientAuth(want)void setWantClientAuth(boolean want)
startHandshakestartHandshake()void startHandshake()

The methods and fields of Socket are inherited.

SSLSocketFactory#

abstract · extends SocketFactory · javax.net.ssl.SSLSocketFactory

Methods

MethodRing callJava overloads
getDefaultCipherSuitesgetDefaultCipherSuites()String[] getDefaultCipherSuites()
getSupportedCipherSuitesgetSupportedCipherSuites()String[] getSupportedCipherSuites()

The methods and fields of SocketFactory are inherited.

StandardConstants#

class final · extends Object · javax.net.ssl.StandardConstants

Fields

NameTypeAccessIn Ring
SNI_HOST_NAMEintconstant · statico.SNI_HOST_NAME

The methods and fields of Object are inherited.

TrustManager#

interface · javax.net.ssl.TrustManager

TrustManagerFactory#

class · extends Object · javax.net.ssl.TrustManagerFactory

Methods

MethodRing callJava overloads
@init@init(ks)void init(KeyStore ks)
void init(ManagerFactoryParameters spec)
getAlgorithmgetAlgorithm()String getAlgorithm()
getDefaultAlgorithmgetDefaultAlgorithm()static String getDefaultAlgorithm()
getInstancegetInstance(algorithm)
getInstance([algorithm,provider])
getInstance([ :algorithm = v, :provider = v ])
static TrustManagerFactory getInstance(String algorithm)
static TrustManagerFactory getInstance(String algorithm, String provider)
static TrustManagerFactory getInstance(String algorithm, Provider provider)
getProvidergetProvider()Provider getProvider()
getTrustManagersgetTrustManagers()TrustManager[] getTrustManagers()

The methods and fields of Object are inherited.

TrustManagerFactorySpi#

abstract · extends Object · javax.net.ssl.TrustManagerFactorySpi

The methods and fields of Object are inherited.

X509ExtendedKeyManager#

abstract · extends Object · javax.net.ssl.X509ExtendedKeyManager

Implements: X509KeyManager

Methods

MethodRing callJava overloads
chooseClientAliaschooseClientAlias(keyType,issuers,socket)String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
chooseEngineClientAliaschooseEngineClientAlias(keyType,issuers,engine)String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
chooseEngineServerAliaschooseEngineServerAlias(keyType,issuers,engine)String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
chooseServerAliaschooseServerAlias(keyType,issuers,socket)String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
getCertificateChaingetCertificateChain(alias)X509Certificate[] getCertificateChain(String alias)
getClientAliasesgetClientAliases(keyType,issuers)String[] getClientAliases(String keyType, Principal[] issuers)
getPrivateKeygetPrivateKey(alias)PrivateKey getPrivateKey(String alias)
getServerAliasesgetServerAliases(keyType,issuers)String[] getServerAliases(String keyType, Principal[] issuers)

The methods and fields of Object are inherited.

X509ExtendedTrustManager#

abstract · extends Object · javax.net.ssl.X509ExtendedTrustManager

Implements: X509TrustManager

Methods

MethodRing callJava overloads
checkClientTrustedcheckClientTrusted([chain,authType])
checkClientTrusted([ :chain = v, :authType = v ])
checkClientTrusted([chain,authType,engine])
checkClientTrusted([ :chain = v, :authType = v, :engine = v ])
void checkClientTrusted(X509Certificate[] chain, String authType)
void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket)
checkServerTrustedcheckServerTrusted([chain,authType])
checkServerTrusted([ :chain = v, :authType = v ])
checkServerTrusted([chain,authType,engine])
checkServerTrusted([ :chain = v, :authType = v, :engine = v ])
void checkServerTrusted(X509Certificate[] chain, String authType)
void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket)
getAcceptedIssuersgetAcceptedIssuers()X509Certificate[] getAcceptedIssuers()

The methods and fields of Object are inherited.

X509KeyManager#

interface · javax.net.ssl.X509KeyManager

Extends: KeyManager

Methods

MethodRing callJava overloads
chooseClientAliaschooseClientAlias(keyType,issuers,socket)String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
chooseServerAliaschooseServerAlias(keyType,issuers,socket)String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
getCertificateChaingetCertificateChain(alias)X509Certificate[] getCertificateChain(String alias)
getClientAliasesgetClientAliases(keyType,issuers)String[] getClientAliases(String keyType, Principal[] issuers)
getPrivateKeygetPrivateKey(alias)PrivateKey getPrivateKey(String alias)
getServerAliasesgetServerAliases(keyType,issuers)String[] getServerAliases(String keyType, Principal[] issuers)

X509TrustManager#

interface · javax.net.ssl.X509TrustManager

Extends: TrustManager

Methods

MethodRing callJava overloads
checkClientTrustedcheckClientTrusted(chain,authType)void checkClientTrusted(X509Certificate[] chain, String authType)
checkServerTrustedcheckServerTrusted(chain,authType)void checkServerTrusted(X509Certificate[] chain, String authType)
getAcceptedIssuersgetAcceptedIssuers()X509Certificate[] getAcceptedIssuers()
RingJava - use Java classes and methods from Ring programs.