Class HashAlgorithm


  • public class HashAlgorithm
    extends java.lang.Object
    RFC 5246 7.4.1.4.1
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static short Intrinsic  
      static short md5  
      static short none  
      static short sha1  
      static short sha224  
      static short sha256  
      static short sha384  
      static short sha512  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HashAlgorithm

        public HashAlgorithm()
    • 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)