Package org.bouncycastle.tls.crypto.impl
Class TlsImplUtils
java.lang.Object
org.bouncycastle.tls.crypto.impl.TlsImplUtils
Useful utility methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
calculateKeyBlock
(TlsCryptoParameters cryptoParams, int length) static boolean
isSSL
(TlsCryptoParameters cryptoParams) static boolean
isTLSv10
(TlsCryptoParameters cryptoParams) static boolean
isTLSv10
(ProtocolVersion version) static boolean
isTLSv11
(TlsCryptoParameters cryptoParams) static boolean
isTLSv11
(ProtocolVersion version) static boolean
isTLSv12
(TlsCryptoParameters cryptoParams) static boolean
isTLSv12
(ProtocolVersion version) static boolean
isTLSv13
(TlsCryptoParameters cryptoParams) static boolean
isTLSv13
(ProtocolVersion version)
-
Constructor Details
-
TlsImplUtils
public TlsImplUtils()
-
-
Method Details
-
isSSL
-
isTLSv10
-
isTLSv10
-
isTLSv11
-
isTLSv11
-
isTLSv12
-
isTLSv12
-
isTLSv13
-
isTLSv13
-
calculateKeyBlock
-