Package org.bouncycastle.tls
Class HashAlgorithm
- java.lang.Object
-
- org.bouncycastle.tls.HashAlgorithm
-
public class HashAlgorithm extends java.lang.Object
RFC 5246 7.4.1.4.1
-
-
Constructor Summary
Constructors Constructor Description HashAlgorithm()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getName(short hashAlgorithm)
static int
getOutputSize(short hashAlgorithm)
static java.lang.String
getText(short hashAlgorithm)
static boolean
isPrivate(short hashAlgorithm)
static boolean
isRecognized(short hashAlgorithm)
-
-
-
Field Detail
-
none
public static final short none
- See Also:
- Constant Field Values
-
md5
public static final short md5
- See Also:
- Constant Field Values
-
sha1
public static final short sha1
- See Also:
- Constant Field Values
-
sha224
public static final short sha224
- See Also:
- Constant Field Values
-
sha256
public static final short sha256
- See Also:
- Constant Field Values
-
sha384
public static final short sha384
- See Also:
- Constant Field Values
-
sha512
public static final short sha512
- See Also:
- Constant Field Values
-
Intrinsic
public static final short Intrinsic
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public static java.lang.String getName(short hashAlgorithm)
-
getOutputSize
public static int getOutputSize(short hashAlgorithm)
-
getText
public static java.lang.String getText(short hashAlgorithm)
-
isPrivate
public static boolean isPrivate(short hashAlgorithm)
-
isRecognized
public static boolean isRecognized(short hashAlgorithm)
-
-