Package org.bouncycastle.tls
Class HashAlgorithm
java.lang.Object
org.bouncycastle.tls.HashAlgorithm
RFC 5246 7.4.1.4.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getName
(short hashAlgorithm) static int
getOutputSize
(short hashAlgorithm) static String
getText
(short hashAlgorithm) static boolean
isPrivate
(short hashAlgorithm) static boolean
isRecognized
(short hashAlgorithm)
-
Field Details
-
none
public static final short none- See Also:
-
md5
public static final short md5- See Also:
-
sha1
public static final short sha1- See Also:
-
sha224
public static final short sha224- See Also:
-
sha256
public static final short sha256- See Also:
-
sha384
public static final short sha384- See Also:
-
sha512
public static final short sha512- See Also:
-
Intrinsic
public static final short Intrinsic- See Also:
-
-
Constructor Details
-
HashAlgorithm
public HashAlgorithm()
-
-
Method Details
-
getName
-
getOutputSize
public static int getOutputSize(short hashAlgorithm) -
getText
-
isPrivate
public static boolean isPrivate(short hashAlgorithm) -
isRecognized
public static boolean isRecognized(short hashAlgorithm)
-