Package org.bouncycastle.tls.crypto
Class TlsCryptoUtils
- java.lang.Object
-
- org.bouncycastle.tls.crypto.TlsCryptoUtils
-
public abstract class TlsCryptoUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TlsCryptoUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetHash(short hashAlgorithm)static intgetHashForHMAC(int macAlgorithm)static intgetHashForPRF(int prfAlgorithm)static intgetHashOutputSize(int cryptoHashAlgorithm)static intgetSignature(short signatureAlgorithm)static TlsSecrethkdfExpandLabel(TlsSecret secret, int cryptoHashAlgorithm, java.lang.String label, byte[] context, int length)
-
-
-
Method Detail
-
getHash
public static int getHash(short hashAlgorithm)
-
getHashForHMAC
public static int getHashForHMAC(int macAlgorithm)
-
getHashForPRF
public static int getHashForPRF(int prfAlgorithm)
-
getHashOutputSize
public static int getHashOutputSize(int cryptoHashAlgorithm)
-
getSignature
public static int getSignature(short signatureAlgorithm)
-
-