public abstract class TlsCryptoUtils
extends java.lang.Object
Constructor and Description |
---|
TlsCryptoUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getHash(short hashAlgorithm) |
static int |
getHashForHMAC(int macAlgorithm) |
static int |
getHashForPRF(int prfAlgorithm) |
static int |
getHashInternalSize(int cryptoHashAlgorithm) |
static int |
getHashOutputSize(int cryptoHashAlgorithm) |
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
getOIDForHash(int cryptoHashAlgorithm) |
static int |
getSignature(short signatureAlgorithm) |
static TlsSecret |
hkdfExpandLabel(TlsSecret secret,
int cryptoHashAlgorithm,
java.lang.String label,
byte[] context,
int length) |
public static int getHash(short hashAlgorithm)
public static int getHashForHMAC(int macAlgorithm)
public static int getHashForPRF(int prfAlgorithm)
public static int getHashInternalSize(int cryptoHashAlgorithm)
public static int getHashOutputSize(int cryptoHashAlgorithm)
public static org.bouncycastle.asn1.ASN1ObjectIdentifier getOIDForHash(int cryptoHashAlgorithm)
public static int getSignature(short signatureAlgorithm)