Top Deprecated
org.conscrypt:conscrypt-openjdk-uber 2.5.2

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.conscrypt.AbstractConscryptSocket.setAlpnProtocols(byte[]
the encoded form of the ALPN protocol list
alpnProtocols
)

Use setApplicationProtocols(String[]) instead.

org.conscrypt.AbstractConscryptSocket.setNpnProtocols(byte[] npnProtocols)

NPN is not supported

Returns:

an array of X509 certificates (the peer's one first and then eventually that of the certification authority) or null if no certificate were used during the SSL connection.
org.conscrypt.ActiveSession.getPeerCertificateChain
()

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.

org.conscrypt.ActiveSession.peerCertificateChain

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.

org.conscrypt.AllocatedBuffer.retain()

this method is not used

org.conscrypt.ConscryptEngine.chooseClientPSKIdentity(PSKKeyManager keyManager, String identityHint)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.ConscryptEngine.chooseServerPSKIdentityHint(PSKKeyManager keyManager)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.ConscryptEngine.getPSKKey(PSKKeyManager keyManager, String identityHint, String identity)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.ConscryptFileDescriptorSocket.chooseClientPSKIdentity(PSKKeyManager keyManager, String identityHint)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.ConscryptFileDescriptorSocket.chooseServerPSKIdentityHint(PSKKeyManager keyManager)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.ConscryptFileDescriptorSocket.getPSKKey(PSKKeyManager keyManager, String identityHint, String identity)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.DuckTypedPSKKeyManager

This abstraction is deprecated because it does not work with TLS 1.3.

org.conscrypt.DuckTypedPSKKeyManager.getInstance(Object obj)

Deprecated as a consequence of DuckTypedPSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.ExternalSession.getPeerCertificateChain()

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.

org.conscrypt.Java7ExtendedSSLSession.getPeerCertificateChain()

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.

org.conscrypt.OpenSSLSignature.engineGetParameter(String
the string name of the parameter.
param
)

org.conscrypt.OpenSSLSignature.engineSetParameter(String
the string identifier of the parameter.
param
,
Object
the parameter value.
value
)

org.conscrypt.OpenSSLSocketImpl.setAlpnProtocols(String[]
the list of ALPN protocols
alpnProtocols
)

use setApplicationProtocols(String[]) instead.

org.conscrypt.OpenSSLSocketImpl.setAlpnProtocols(byte[]
the encoded form of the ALPN protocol list
protocols
)

Use setAlpnProtocols(String[]) instead.

org.conscrypt.OpenSSLSocketImpl.setNpnProtocols(byte[] npnProtocols)

NPN is not supported

org.conscrypt.PSKKeyManager

This abstraction is deprecated because it does not work with TLS 1.3.

org.conscrypt.SSLNullSession.getPeerCertificateChain()

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.

org.conscrypt.SSLParametersImpl.PSKCallbacks.chooseClientPSKIdentity(PSKKeyManager keyManager, String identityHint)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.SSLParametersImpl.PSKCallbacks.chooseServerPSKIdentityHint(PSKKeyManager keyManager)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.SSLParametersImpl.PSKCallbacks.getPSKKey(PSKKeyManager keyManager, String identityHint, String identity)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.SSLParametersImpl.SSLParametersImpl(ClientSessionContext clientSessionContext, ServerSessionContext serverSessionContext, X509KeyManager x509KeyManager, PSKKeyManager pskKeyManager, X509TrustManager x509TrustManager, SSLParametersImpl sslParams)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

Returns:

the first PSKKeyManager or null if not found.
org.conscrypt.SSLParametersImpl.findFirstPSKKeyManager
(KeyManager[] kms)

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

Returns:

Pre-Shared Key (PSK) key manager or null for none.
org.conscrypt.SSLParametersImpl.getPSKKeyManager
()

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.SSLParametersImpl.pskKeyManager

Deprecated as a consequence of PSKKeyManager being deprecated. See corresponding docs for further information.

org.conscrypt.SSLUtils.toCertificateChain(X509Certificate[] certificates)

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.

org.conscrypt.SessionSnapshot.getPeerCertificateChain()

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.