No API in this release is deprecated for removal.
Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.
X509Certificate
Use openStream(URL) instead
openStream(URL)
Use 'serverExtensions' directly, it is now never null
Will be removed.
Returns:
Certificate
TlsContext
InputStream
OutputStream
Use version taking a ParseOptions argument instead.
ParseOptions
Use getVersion() instead.
getVersion()
Use getContentLimit instead
getContentLimit
CompressionMethod
Will be removed. Use constant CompressionMethod._null instead.
Use getPRFAlgorithm() instead.
getPRFAlgorithm()
Use getCryptoHashAlgorithm(int) instead.
getCryptoHashAlgorithm(int)
Use version without defaultValue instead
true
false
No longer called by the protocol classes. Can call TlsUtils#checkPeerSigAlgs(TlsContext, TlsCertificate[]) once a complete CertPath has been determined (i.e. as part of chain validation).
TlsUtils#checkPeerSigAlgs(TlsContext, TlsCertificate[])
Use TlsUtils#generateEncryptedPreMasterSecret(TlsContext, TlsEncryptor, OutputStream) instead.
TlsUtils#generateEncryptedPreMasterSecret(TlsContext, TlsEncryptor, OutputStream)
Use PRF(SecurityParameters, TlsSecret, String, byte[], int) instead.
PRF(SecurityParameters, TlsSecret, String, byte[], int)
Will be removed
Use getSupportedCipherSuites(TlsCrypto, int[], int, int) instead.
getSupportedCipherSuites(TlsCrypto, int[], int, int)
Use isValidVersionForCipherSuite(int, ProtocolVersion) instead.
isValidVersionForCipherSuite(int, ProtocolVersion)
Will be removed. Use readASN1Object in combination with requireDEREncoding instead