ConscryptEngine.
| Modifier and Type | Class and Description |
|---|---|
| private class | ConscryptEngineSocket.SSLInputStream
Unwrap bytes read from the underlying socket. |
| private class | ConscryptEngineSocket.SSLOutputStream
Wrap bytes written to the underlying socket. |
| Modifier and Type | Field and Description |
|---|---|
| private BufferAllocator | |
| private static final ByteBuffer | |
| private final ConscryptEngine | |
| private final Object | |
| private ConscryptEngineSocket. | in
Hides java. |
| private ConscryptEngineSocket. | out
Hides java. |
| private int | state
Hides java. |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv | ConscryptEngineSocket(String hostname, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters)
|
| pack-priv | ConscryptEngineSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters)
|
| pack-priv | ConscryptEngineSocket(Socket socket, String hostname, int port, boolean autoClose, SSLParametersImpl sslParameters)
|
| Modifier and Type | Method and Description |
|---|---|
| public final String | chooseClientAlias(X509KeyManager keyManager, X500Principal[] issuers, String[] keyTypes)
Implements org. |
| public final String | chooseServerAlias(X509KeyManager keyManager, String keyType)
Implements org. |
| public final void | close()
Overrides org. Implements java. |
| private void | |
| private void | |
| pack-priv byte[] | exportKeyingMaterial(String
the label to use in calculating the exported value. This must be
an ASCII-only string. label, byte[] the application-specific context value to use in calculating the
exported value. This may be context, int null to use no application context, which is
treated differently than an empty byte array.the number of bytes of keying material to return. length)Implements abstract org. |
| pack-priv final SSLSession | getActiveSession()
Implements abstract org. notifyHandshakeCompletedListeners() to get the currently active session.
|
| public final String | getApplicationProtocol()
Implements abstract org. |
| pack-priv final String[] | getApplicationProtocols()
Implements abstract org. |
| public final byte[] | getChannelId()
Implements abstract org. |
| private static X509TrustManager | |
| public final String[] | getEnabledCipherSuites()
Implements abstract javax. |
| public final String[] | getEnabledProtocols()
Implements abstract javax. |
| public final boolean | getEnableSessionCreation()
Implements abstract javax. |
| public final String | getHandshakeApplicationProtocol()
Implements abstract org. |
| public final SSLSession | getHandshakeSession()
Implements abstract org. SSLSession being constructed during a SSL/TLS
handshake.
|
| public final InputStream | getInputStream()
Overrides org. |
| public final boolean | getNeedClientAuth()
Implements abstract javax. |
| public final OutputStream | getOutputStream()
Overrides org. |
| public final SSLSession | getSession()
Implements abstract javax. |
| public final SSLParameters | getSSLParameters()
Overrides javax. |
| public final String[] | getSupportedCipherSuites()
Implements abstract javax. |
| public final String[] | getSupportedProtocols()
Implements abstract javax. |
| pack-priv byte[] | getTlsUnique()
Implements abstract org. |
| private InputStream | |
| private OutputStream | |
| public final boolean | getUseClientMode()
Implements abstract javax. |
| public final boolean | getWantClientAuth()
Implements abstract javax. |
| private static ConscryptEngine | |
| private void | |
| pack-priv final void | setApplicationProtocols(String[]
the list of ALPN protocols protocols)Implements abstract org. |
| public final void | setApplicationProtocolSelector(ApplicationProtocolSelector selector)
Implements abstract org. |
| pack-priv final void | |
| pack-priv void | |
| public final void | setChannelIdEnabled(boolean enabled)
Implements abstract org. |
| public final void | setChannelIdPrivateKey(PrivateKey
private key (enables TLS Channel ID) or privateKey)null for no key (disables
TLS Channel ID). The private key must be an Elliptic Curve (EC) key based on the NIST
P-256 curve (aka SECG secp256r1 or ANSI X9.62 prime256v1).Implements abstract org. PrivateKey to be used for TLS Channel ID by this client socket.
|
| public final void | setEnabledCipherSuites(String[]
Names of all the cipher suites to enable suites)Implements abstract javax. |
| public final void | setEnabledProtocols(String[]
Names of all the protocols to enable. protocols)Implements abstract javax. |
| public final void | setEnableSessionCreation(boolean
true indicates that sessions may be created; this
is the default. false indicates that an existing session
must be resumed flag)Implements abstract javax. |
| public void | setHandshakeTimeout(int handshakeTimeoutMilliseconds)
Overrides org. |
| public final void | setHostname(String
the desired SNI hostname, or null to disable hostname)Overrides org. |
| public final void | setNeedClientAuth(boolean
set to true if client authentication is required,
or false if no client authentication is desired. need)Implements abstract javax. |
| public final void | setSSLParameters(SSLParameters
the parameters sslParameters)Overrides javax. |
| public final void | setUseClientMode(boolean
true if the socket should start its handshaking
in "client" mode mode)Implements abstract javax. |
| public final void | setUseSessionTickets(boolean
True to enable session tickets useSessionTickets)Implements abstract org. |
| public final void | setWantClientAuth(boolean
set to true if client authentication is requested,
or false if no client authentication is desired. want)Implements abstract javax. |
| public final void | startHandshake()
Implements abstract javax. |
| private void |