Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class HashAlgorithm

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.HashAlgorithm

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public class HashAlgorithm
extends java.lang.Object

RFC 5246 7.4.1.4.1


Field Summary
static short md5
          Deprecated.  
static short none
          Deprecated.  
static short sha1
          Deprecated.  
static short sha224
          Deprecated.  
static short sha256
          Deprecated.  
static short sha384
          Deprecated.  
static short sha512
          Deprecated.  
 
Constructor Summary
HashAlgorithm()
          Deprecated.  
 
Method Summary
static java.lang.String getName(short hashAlgorithm)
          Deprecated.  
static java.lang.String getText(short hashAlgorithm)
          Deprecated.  
static boolean isPrivate(short hashAlgorithm)
          Deprecated.  
static boolean isRecognized(short hashAlgorithm)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

none

public static final short none
Deprecated. 
See Also:
Constant Field Values

md5

public static final short md5
Deprecated. 
See Also:
Constant Field Values

sha1

public static final short sha1
Deprecated. 
See Also:
Constant Field Values

sha224

public static final short sha224
Deprecated. 
See Also:
Constant Field Values

sha256

public static final short sha256
Deprecated. 
See Also:
Constant Field Values

sha384

public static final short sha384
Deprecated. 
See Also:
Constant Field Values

sha512

public static final short sha512
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

HashAlgorithm

public HashAlgorithm()
Deprecated. 
Method Detail

getName

public static java.lang.String getName(short hashAlgorithm)
Deprecated. 

getText

public static java.lang.String getText(short hashAlgorithm)
Deprecated. 

isPrivate

public static boolean isPrivate(short hashAlgorithm)
Deprecated. 

isRecognized

public static boolean isRecognized(short hashAlgorithm)
Deprecated. 

Bouncy Castle Cryptography Library 1.64