javax.net.ssl
43 classes of the module java.base.
Load them with:
using {
"javax.net.ssl"
}
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
| Method | Ring call | Java overloads |
|---|---|---|
getParameters | getParameters() | CertPathParameters getParameters() |
The methods and fields of Object are inherited.
ExtendedSSLSession#
abstract · extends Object · javax.net.ssl.ExtendedSSLSession
Implements: SSLSession
Methods
| Method | Ring call | Java overloads |
|---|---|---|
exportKeyingMaterialData | exportKeyingMaterialData(label,context,length) | byte[] exportKeyingMaterialData(String label, byte[] context, int length) |
exportKeyingMaterialKey | exportKeyingMaterialKey(keyAlg,label,context,length) | SecretKey exportKeyingMaterialKey(String keyAlg, String label, byte[] context, int length) |
getApplicationBufferSize | getApplicationBufferSize() | int getApplicationBufferSize() |
getCipherSuite | getCipherSuite() | String getCipherSuite() |
getCreationTime | getCreationTime() | long getCreationTime() |
getId | getId() | byte[] getId() |
getLastAccessedTime | getLastAccessedTime() | long getLastAccessedTime() |
getLocalCertificates | getLocalCertificates() | Certificate[] getLocalCertificates() |
getLocalPrincipal | getLocalPrincipal() | Principal getLocalPrincipal() |
getLocalSupportedSignatureAlgorithms | getLocalSupportedSignatureAlgorithms() | String[] getLocalSupportedSignatureAlgorithms() |
getPacketBufferSize | getPacketBufferSize() | int getPacketBufferSize() |
getPeerCertificateChain | getPeerCertificateChain() | X509Certificate[] getPeerCertificateChain() |
getPeerCertificates | getPeerCertificates() | Certificate[] getPeerCertificates() |
getPeerHost | getPeerHost() | String getPeerHost() |
getPeerPort | getPeerPort() | int getPeerPort() |
getPeerPrincipal | getPeerPrincipal() | Principal getPeerPrincipal() |
getPeerSupportedSignatureAlgorithms | getPeerSupportedSignatureAlgorithms() | String[] getPeerSupportedSignatureAlgorithms() |
getProtocol | getProtocol() | String getProtocol() |
getRequestedServerNames | getRequestedServerNames() | List getRequestedServerNames() |
getSessionContext | getSessionContext() | SSLSessionContext getSessionContext() |
getStatusResponses | getStatusResponses() | List getStatusResponses() |
getValue | getValue(name) | Object getValue(String name) |
getValueNames | getValueNames() | String[] getValueNames() |
invalidate | invalidate() | void invalidate() |
isValid | isValid() | boolean isValid() |
putValue | putValue(name,value) | void putValue(String name, Object value) |
removeValue | removeValue(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
| Method | Ring call | Java overloads |
|---|---|---|
getCipherSuite | getCipherSuite() | String getCipherSuite() |
getLocalCertificates | getLocalCertificates() | Certificate[] getLocalCertificates() |
getLocalPrincipal | getLocalPrincipal() | Principal getLocalPrincipal() |
getPeerCertificateChain | getPeerCertificateChain() | X509Certificate[] getPeerCertificateChain() |
getPeerCertificates | getPeerCertificates() | Certificate[] getPeerCertificates() |
getPeerPrincipal | getPeerPrincipal() | Principal getPeerPrincipal() |
getSession | getSession() | SSLSession getSession() |
getSocket | getSocket() | SSLSocket getSocket() |
The methods and fields of EventObject are inherited.
HandshakeCompletedListener#
interface · javax.net.ssl.HandshakeCompletedListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
handshakeCompleted | handshakeCompleted(event) | void handshakeCompleted(HandshakeCompletedEvent event) |
HostnameVerifier#
interface · javax.net.ssl.HostnameVerifier
Methods
| Method | Ring call | Java overloads |
|---|---|---|
verify | verify(hostname,session) | boolean verify(String hostname, SSLSession session) |
HttpsURLConnection#
abstract · extends HttpURLConnection · javax.net.ssl.HttpsURLConnection
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCipherSuite | getCipherSuite() | String getCipherSuite() |
getDefaultHostnameVerifier | getDefaultHostnameVerifier() | static HostnameVerifier getDefaultHostnameVerifier() |
getDefaultSSLSocketFactory | getDefaultSSLSocketFactory() | static SSLSocketFactory getDefaultSSLSocketFactory() |
getHostnameVerifier | getHostnameVerifier() | HostnameVerifier getHostnameVerifier() |
getLocalCertificates | getLocalCertificates() | Certificate[] getLocalCertificates() |
getLocalPrincipal | getLocalPrincipal() | Principal getLocalPrincipal() |
getPeerPrincipal | getPeerPrincipal() | Principal getPeerPrincipal() |
getServerCertificates | getServerCertificates() | Certificate[] getServerCertificates() |
getSSLSession | getSSLSession() | Optional getSSLSession() |
getSSLSocketFactory | getSSLSocketFactory() | SSLSocketFactory getSSLSocketFactory() |
setDefaultHostnameVerifier | setDefaultHostnameVerifier(v) | static void setDefaultHostnameVerifier(HostnameVerifier v) |
setDefaultSSLSocketFactory | setDefaultSSLSocketFactory(sf) | static void setDefaultSSLSocketFactory(SSLSocketFactory sf) |
setHostnameVerifier | setHostnameVerifier(v) | void setHostnameVerifier(HostnameVerifier v) |
setSSLSocketFactory | setSSLSocketFactory(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
| Method | Ring call | Java overloads |
|---|---|---|
@init | @init(spec)@init([ks,password])@init([ :ks = v, :password = v ]) | void init(ManagerFactoryParameters spec)void init(KeyStore ks, char[] password) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getDefaultAlgorithm | getDefaultAlgorithm() | static String getDefaultAlgorithm() |
getInstance | getInstance(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) |
getKeyManagers | getKeyManagers() | KeyManager[] getKeyManagers() |
getProvider | getProvider() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getParameters | getParameters() | 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
| Method | Ring call | Java overloads |
|---|---|---|
createSNIMatcher | createSNIMatcher(regex) | static SNIMatcher createSNIMatcher(String regex) |
getAsciiName | getAsciiName() | String getAsciiName() |
The methods and fields of SNIServerName are inherited.
SNIMatcher#
abstract · extends Object · javax.net.ssl.SNIMatcher
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getType | getType() | int getType() |
matches | matches(serverName) | boolean matches(SNIServerName serverName) |
The methods and fields of Object are inherited.
SNIServerName#
abstract · extends Object · javax.net.ssl.SNIServerName
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEncoded | getEncoded() | byte[] getEncoded() |
getType | getType() | int getType() |
The methods and fields of Object are inherited.
SSLContext#
class · extends Object · javax.net.ssl.SSLContext
Methods
| Method | Ring call | Java 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) |
createSSLEngine | createSSLEngine() | SSLEngine createSSLEngine() |
getClientSessionContext | getClientSessionContext() | SSLSessionContext getClientSessionContext() |
getDefault | getDefault() | static SSLContext getDefault() |
getDefaultSSLParameters | getDefaultSSLParameters() | SSLParameters getDefaultSSLParameters() |
getInstance | getInstance(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) |
getProtocol | getProtocol() | String getProtocol() |
getProvider | getProvider() | Provider getProvider() |
getServerSessionContext | getServerSessionContext() | SSLSessionContext getServerSessionContext() |
getServerSocketFactory | getServerSocketFactory() | SSLServerSocketFactory getServerSocketFactory() |
getSocketFactory | getSocketFactory() | SSLSocketFactory getSocketFactory() |
getSupportedSSLParameters | getSupportedSSLParameters() | SSLParameters getSupportedSSLParameters() |
setDefault | setDefault(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
| Method | Ring call | Java overloads |
|---|---|---|
beginHandshake | beginHandshake() | void beginHandshake() |
closeInbound | closeInbound() | void closeInbound() |
closeOutbound | closeOutbound() | void closeOutbound() |
getApplicationProtocol | getApplicationProtocol() | String getApplicationProtocol() |
getDelegatedTask | getDelegatedTask() | Runnable getDelegatedTask() |
getEnabledCipherSuites | getEnabledCipherSuites() | String[] getEnabledCipherSuites() |
getEnabledProtocols | getEnabledProtocols() | String[] getEnabledProtocols() |
getEnableSessionCreation | getEnableSessionCreation() | boolean getEnableSessionCreation() |
getHandshakeApplicationProtocol | getHandshakeApplicationProtocol() | String getHandshakeApplicationProtocol() |
getHandshakeApplicationProtocolSelector | getHandshakeApplicationProtocolSelector() | BiFunction getHandshakeApplicationProtocolSelector() |
getHandshakeSession | getHandshakeSession() | SSLSession getHandshakeSession() |
getHandshakeStatus | getHandshakeStatus() | HandshakeStatus getHandshakeStatus() |
getNeedClientAuth | getNeedClientAuth() | boolean getNeedClientAuth() |
getPeerHost | getPeerHost() | String getPeerHost() |
getPeerPort | getPeerPort() | int getPeerPort() |
getSession | getSession() | SSLSession getSession() |
getSSLParameters | getSSLParameters() | SSLParameters getSSLParameters() |
getSupportedCipherSuites | getSupportedCipherSuites() | String[] getSupportedCipherSuites() |
getSupportedProtocols | getSupportedProtocols() | String[] getSupportedProtocols() |
getUseClientMode | getUseClientMode() | boolean getUseClientMode() |
getWantClientAuth | getWantClientAuth() | boolean getWantClientAuth() |
isInboundDone | isInboundDone() | boolean isInboundDone() |
isOutboundDone | isOutboundDone() | boolean isOutboundDone() |
setEnabledCipherSuites | setEnabledCipherSuites(suites) | void setEnabledCipherSuites(String[] suites) |
setEnabledProtocols | setEnabledProtocols(protocols) | void setEnabledProtocols(String[] protocols) |
setEnableSessionCreation | setEnableSessionCreation(flag) | void setEnableSessionCreation(boolean flag) |
setHandshakeApplicationProtocolSelector | setHandshakeApplicationProtocolSelector(selector) | void setHandshakeApplicationProtocolSelector(BiFunction selector) |
setNeedClientAuth | setNeedClientAuth(need) | void setNeedClientAuth(boolean need) |
setSSLParameters | setSSLParameters(params) | void setSSLParameters(SSLParameters params) |
setUseClientMode | setUseClientMode(mode) | void setUseClientMode(boolean mode) |
setWantClientAuth | setWantClientAuth(want) | void setWantClientAuth(boolean want) |
unwrap | unwrap([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) |
wrap | wrap([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
| Method | Ring call | Java overloads |
|---|---|---|
bytesConsumed | bytesConsumed() | int bytesConsumed() |
bytesProduced | bytesProduced() | int bytesProduced() |
getHandshakeStatus | getHandshakeStatus() | HandshakeStatus getHandshakeStatus() |
getStatus | getStatus() | Status getStatus() |
sequenceNumber | sequenceNumber() | long sequenceNumber() |
The methods and fields of Object are inherited.
SSLEngineResultHandshakeStatus#
enum · extends Enum · javax.net.ssl.SSLEngineResult$HandshakeStatus
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NOT_HANDSHAKING | HandshakeStatus | constant · static | o.NOT_HANDSHAKING |
FINISHED | HandshakeStatus | constant · static | o.FINISHED |
NEED_TASK | HandshakeStatus | constant · static | o.NEED_TASK |
NEED_WRAP | HandshakeStatus | constant · static | o.NEED_WRAP |
NEED_UNWRAP | HandshakeStatus | constant · static | o.NEED_UNWRAP |
NEED_UNWRAP_AGAIN | HandshakeStatus | constant · static | o.NEED_UNWRAP_AGAIN |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static HandshakeStatus valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static HandshakeStatus[] values() |
The methods and fields of Enum are inherited.
SSLEngineResultStatus#
enum · extends Enum · javax.net.ssl.SSLEngineResult$Status
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BUFFER_UNDERFLOW | Status | constant · static | o.BUFFER_UNDERFLOW |
BUFFER_OVERFLOW | Status | constant · static | o.BUFFER_OVERFLOW |
OK | Status | constant · static | o.OK |
CLOSED | Status | constant · static | o.CLOSED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Status valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithmConstraints | getAlgorithmConstraints() | AlgorithmConstraints getAlgorithmConstraints() |
getApplicationProtocols | getApplicationProtocols() | String[] getApplicationProtocols() |
getCipherSuites | getCipherSuites() | String[] getCipherSuites() |
getEnableRetransmissions | getEnableRetransmissions() | boolean getEnableRetransmissions() |
getEndpointIdentificationAlgorithm | getEndpointIdentificationAlgorithm() | String getEndpointIdentificationAlgorithm() |
getMaximumPacketSize | getMaximumPacketSize() | int getMaximumPacketSize() |
getNamedGroups | getNamedGroups() | String[] getNamedGroups() |
getNeedClientAuth | getNeedClientAuth() | boolean getNeedClientAuth() |
getProtocols | getProtocols() | String[] getProtocols() |
getServerNames | getServerNames() | List getServerNames() |
getSignatureSchemes | getSignatureSchemes() | String[] getSignatureSchemes() |
getSNIMatchers | getSNIMatchers() | Collection getSNIMatchers() |
getUseCipherSuitesOrder | getUseCipherSuitesOrder() | boolean getUseCipherSuitesOrder() |
getWantClientAuth | getWantClientAuth() | boolean getWantClientAuth() |
setAlgorithmConstraints | setAlgorithmConstraints(constraints) | void setAlgorithmConstraints(AlgorithmConstraints constraints) |
setApplicationProtocols | setApplicationProtocols(protocols) | void setApplicationProtocols(String[] protocols) |
setCipherSuites | setCipherSuites(cipherSuites) | void setCipherSuites(String[] cipherSuites) |
setEnableRetransmissions | setEnableRetransmissions(enableRetransmissions) | void setEnableRetransmissions(boolean enableRetransmissions) |
setEndpointIdentificationAlgorithm | setEndpointIdentificationAlgorithm(algorithm) | void setEndpointIdentificationAlgorithm(String algorithm) |
setMaximumPacketSize | setMaximumPacketSize(maximumPacketSize) | void setMaximumPacketSize(int maximumPacketSize) |
setNamedGroups | setNamedGroups(namedGroups) | void setNamedGroups(String[] namedGroups) |
setNeedClientAuth | setNeedClientAuth(needClientAuth) | void setNeedClientAuth(boolean needClientAuth) |
setProtocols | setProtocols(protocols) | void setProtocols(String[] protocols) |
setServerNames | setServerNames(serverNames) | void setServerNames(List serverNames) |
setSignatureSchemes | setSignatureSchemes(signatureSchemes) | void setSignatureSchemes(String[] signatureSchemes) |
setSNIMatchers | setSNIMatchers(matchers) | void setSNIMatchers(Collection matchers) |
setUseCipherSuitesOrder | setUseCipherSuitesOrder(honorOrder) | void setUseCipherSuitesOrder(boolean honorOrder) |
setWantClientAuth | setWantClientAuth(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
| Method | Ring call | Java overloads |
|---|---|---|
getEnabledCipherSuites | getEnabledCipherSuites() | String[] getEnabledCipherSuites() |
getEnabledProtocols | getEnabledProtocols() | String[] getEnabledProtocols() |
getEnableSessionCreation | getEnableSessionCreation() | boolean getEnableSessionCreation() |
getNeedClientAuth | getNeedClientAuth() | boolean getNeedClientAuth() |
getSSLParameters | getSSLParameters() | SSLParameters getSSLParameters() |
getSupportedCipherSuites | getSupportedCipherSuites() | String[] getSupportedCipherSuites() |
getSupportedProtocols | getSupportedProtocols() | String[] getSupportedProtocols() |
getUseClientMode | getUseClientMode() | boolean getUseClientMode() |
getWantClientAuth | getWantClientAuth() | boolean getWantClientAuth() |
setEnabledCipherSuites | setEnabledCipherSuites(suites) | void setEnabledCipherSuites(String[] suites) |
setEnabledProtocols | setEnabledProtocols(protocols) | void setEnabledProtocols(String[] protocols) |
setEnableSessionCreation | setEnableSessionCreation(flag) | void setEnableSessionCreation(boolean flag) |
setNeedClientAuth | setNeedClientAuth(need) | void setNeedClientAuth(boolean need) |
setSSLParameters | setSSLParameters(params) | void setSSLParameters(SSLParameters params) |
setUseClientMode | setUseClientMode(mode) | void setUseClientMode(boolean mode) |
setWantClientAuth | setWantClientAuth(want) | void setWantClientAuth(boolean want) |
The methods and fields of ServerSocket are inherited.
SSLServerSocketFactory#
abstract · extends ServerSocketFactory · javax.net.ssl.SSLServerSocketFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDefaultCipherSuites | getDefaultCipherSuites() | String[] getDefaultCipherSuites() |
getSupportedCipherSuites | getSupportedCipherSuites() | String[] getSupportedCipherSuites() |
The methods and fields of ServerSocketFactory are inherited.
SSLSession#
interface · javax.net.ssl.SSLSession
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getApplicationBufferSize | getApplicationBufferSize() | int getApplicationBufferSize() |
getCipherSuite | getCipherSuite() | String getCipherSuite() |
getCreationTime | getCreationTime() | long getCreationTime() |
getId | getId() | byte[] getId() |
getLastAccessedTime | getLastAccessedTime() | long getLastAccessedTime() |
getLocalCertificates | getLocalCertificates() | Certificate[] getLocalCertificates() |
getLocalPrincipal | getLocalPrincipal() | Principal getLocalPrincipal() |
getPacketBufferSize | getPacketBufferSize() | int getPacketBufferSize() |
getPeerCertificateChain | getPeerCertificateChain() | X509Certificate[] getPeerCertificateChain() |
getPeerCertificates | getPeerCertificates() | Certificate[] getPeerCertificates() |
getPeerHost | getPeerHost() | String getPeerHost() |
getPeerPort | getPeerPort() | int getPeerPort() |
getPeerPrincipal | getPeerPrincipal() | Principal getPeerPrincipal() |
getProtocol | getProtocol() | String getProtocol() |
getSessionContext | getSessionContext() | SSLSessionContext getSessionContext() |
getValue | getValue(name) | Object getValue(String name) |
getValueNames | getValueNames() | String[] getValueNames() |
invalidate | invalidate() | void invalidate() |
isValid | isValid() | boolean isValid() |
putValue | putValue(name,value) | void putValue(String name, Object value) |
removeValue | removeValue(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
| Method | Ring call | Java overloads |
|---|---|---|
getName | getName() | String getName() |
getSession | getSession() | SSLSession getSession() |
The methods and fields of EventObject are inherited.
SSLSessionBindingListener#
interface · javax.net.ssl.SSLSessionBindingListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueBound | valueBound(event) | void valueBound(SSLSessionBindingEvent event) |
valueUnbound | valueUnbound(event) | void valueUnbound(SSLSessionBindingEvent event) |
SSLSessionContext#
interface · javax.net.ssl.SSLSessionContext
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getIds | getIds() | Enumeration getIds() |
getSession | getSession(sessionId) | SSLSession getSession(byte[] sessionId) |
getSessionCacheSize | getSessionCacheSize() | int getSessionCacheSize() |
getSessionTimeout | getSessionTimeout() | int getSessionTimeout() |
setSessionCacheSize | setSessionCacheSize(size) | void setSessionCacheSize(int size) |
setSessionTimeout | setSessionTimeout(seconds) | void setSessionTimeout(int seconds) |
SSLSocket#
abstract · extends Socket · javax.net.ssl.SSLSocket
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addHandshakeCompletedListener | addHandshakeCompletedListener(listener) | void addHandshakeCompletedListener(HandshakeCompletedListener listener) |
getApplicationProtocol | getApplicationProtocol() | String getApplicationProtocol() |
getEnabledCipherSuites | getEnabledCipherSuites() | String[] getEnabledCipherSuites() |
getEnabledProtocols | getEnabledProtocols() | String[] getEnabledProtocols() |
getEnableSessionCreation | getEnableSessionCreation() | boolean getEnableSessionCreation() |
getHandshakeApplicationProtocol | getHandshakeApplicationProtocol() | String getHandshakeApplicationProtocol() |
getHandshakeApplicationProtocolSelector | getHandshakeApplicationProtocolSelector() | BiFunction getHandshakeApplicationProtocolSelector() |
getHandshakeSession | getHandshakeSession() | SSLSession getHandshakeSession() |
getNeedClientAuth | getNeedClientAuth() | boolean getNeedClientAuth() |
getSession | getSession() | SSLSession getSession() |
getSSLParameters | getSSLParameters() | SSLParameters getSSLParameters() |
getSupportedCipherSuites | getSupportedCipherSuites() | String[] getSupportedCipherSuites() |
getSupportedProtocols | getSupportedProtocols() | String[] getSupportedProtocols() |
getUseClientMode | getUseClientMode() | boolean getUseClientMode() |
getWantClientAuth | getWantClientAuth() | boolean getWantClientAuth() |
removeHandshakeCompletedListener | removeHandshakeCompletedListener(listener) | void removeHandshakeCompletedListener(HandshakeCompletedListener listener) |
setEnabledCipherSuites | setEnabledCipherSuites(suites) | void setEnabledCipherSuites(String[] suites) |
setEnabledProtocols | setEnabledProtocols(protocols) | void setEnabledProtocols(String[] protocols) |
setEnableSessionCreation | setEnableSessionCreation(flag) | void setEnableSessionCreation(boolean flag) |
setHandshakeApplicationProtocolSelector | setHandshakeApplicationProtocolSelector(selector) | void setHandshakeApplicationProtocolSelector(BiFunction selector) |
setNeedClientAuth | setNeedClientAuth(need) | void setNeedClientAuth(boolean need) |
setSSLParameters | setSSLParameters(params) | void setSSLParameters(SSLParameters params) |
setUseClientMode | setUseClientMode(mode) | void setUseClientMode(boolean mode) |
setWantClientAuth | setWantClientAuth(want) | void setWantClientAuth(boolean want) |
startHandshake | startHandshake() | void startHandshake() |
The methods and fields of Socket are inherited.
SSLSocketFactory#
abstract · extends SocketFactory · javax.net.ssl.SSLSocketFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDefaultCipherSuites | getDefaultCipherSuites() | String[] getDefaultCipherSuites() |
getSupportedCipherSuites | getSupportedCipherSuites() | String[] getSupportedCipherSuites() |
The methods and fields of SocketFactory are inherited.
StandardConstants#
class final · extends Object · javax.net.ssl.StandardConstants
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SNI_HOST_NAME | int | constant · static | o.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
| Method | Ring call | Java overloads |
|---|---|---|
@init | @init(ks) | void init(KeyStore ks)void init(ManagerFactoryParameters spec) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getDefaultAlgorithm | getDefaultAlgorithm() | static String getDefaultAlgorithm() |
getInstance | getInstance(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) |
getProvider | getProvider() | Provider getProvider() |
getTrustManagers | getTrustManagers() | 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
| Method | Ring call | Java overloads |
|---|---|---|
chooseClientAlias | chooseClientAlias(keyType,issuers,socket) | String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) |
chooseEngineClientAlias | chooseEngineClientAlias(keyType,issuers,engine) | String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) |
chooseEngineServerAlias | chooseEngineServerAlias(keyType,issuers,engine) | String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) |
chooseServerAlias | chooseServerAlias(keyType,issuers,socket) | String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) |
getCertificateChain | getCertificateChain(alias) | X509Certificate[] getCertificateChain(String alias) |
getClientAliases | getClientAliases(keyType,issuers) | String[] getClientAliases(String keyType, Principal[] issuers) |
getPrivateKey | getPrivateKey(alias) | PrivateKey getPrivateKey(String alias) |
getServerAliases | getServerAliases(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
| Method | Ring call | Java overloads |
|---|---|---|
checkClientTrusted | checkClientTrusted([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) |
checkServerTrusted | checkServerTrusted([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) |
getAcceptedIssuers | getAcceptedIssuers() | X509Certificate[] getAcceptedIssuers() |
The methods and fields of Object are inherited.
X509KeyManager#
interface · javax.net.ssl.X509KeyManager
Extends: KeyManager
Methods
| Method | Ring call | Java overloads |
|---|---|---|
chooseClientAlias | chooseClientAlias(keyType,issuers,socket) | String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) |
chooseServerAlias | chooseServerAlias(keyType,issuers,socket) | String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) |
getCertificateChain | getCertificateChain(alias) | X509Certificate[] getCertificateChain(String alias) |
getClientAliases | getClientAliases(keyType,issuers) | String[] getClientAliases(String keyType, Principal[] issuers) |
getPrivateKey | getPrivateKey(alias) | PrivateKey getPrivateKey(String alias) |
getServerAliases | getServerAliases(keyType,issuers) | String[] getServerAliases(String keyType, Principal[] issuers) |
X509TrustManager#
interface · javax.net.ssl.X509TrustManager
Extends: TrustManager
Methods
| Method | Ring call | Java overloads |
|---|---|---|
checkClientTrusted | checkClientTrusted(chain,authType) | void checkClientTrusted(X509Certificate[] chain, String authType) |
checkServerTrusted | checkServerTrusted(chain,authType) | void checkServerTrusted(X509Certificate[] chain, String authType) |
getAcceptedIssuers | getAcceptedIssuers() | X509Certificate[] getAcceptedIssuers() |