public class TlsImplUtils
extends java.lang.Object
Constructor and Description |
---|
TlsImplUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
calculateKeyBlock(TlsCryptoParameters cryptoParams,
int length) |
static boolean |
isSSL(TlsCryptoParameters cryptoParams) |
static boolean |
isTLSv11(ProtocolVersion version) |
static boolean |
isTLSv11(TlsCryptoParameters cryptoParams) |
static boolean |
isTLSv12(ProtocolVersion version) |
static boolean |
isTLSv12(TlsCryptoParameters cryptoParams) |
static TlsSecret |
PRF(TlsCryptoParameters cryptoParams,
TlsSecret secret,
java.lang.String asciiLabel,
byte[] seed,
int length) |
public static boolean isSSL(TlsCryptoParameters cryptoParams)
public static boolean isTLSv11(ProtocolVersion version)
public static boolean isTLSv11(TlsCryptoParameters cryptoParams)
public static boolean isTLSv12(ProtocolVersion version)
public static boolean isTLSv12(TlsCryptoParameters cryptoParams)
public static byte[] calculateKeyBlock(TlsCryptoParameters cryptoParams, int length)
public static TlsSecret PRF(TlsCryptoParameters cryptoParams, TlsSecret secret, java.lang.String asciiLabel, byte[] seed, int length)