Class TlsCiphers


  • public final class TlsCiphers
    extends java.lang.Object
    TLS cipher suite support methods
    Since:
    5.0
    • Constructor Summary

      Constructors 
      Constructor Description
      TlsCiphers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String[] excludeH2Blacklisted​(java.lang.String... ciphers)  
      static java.lang.String[] excludeWeak​(java.lang.String... ciphers)  
      static boolean isH2Blacklisted​(java.lang.String cipherSuite)  
      static boolean isWeak​(java.lang.String cipherSuite)  
      • Methods inherited from class java.lang.Object

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

      • H2_BLACKLISTED

        private static final java.util.Set<java.lang.String> H2_BLACKLISTED
      • WEAK_KEY_EXCHANGES

        private static final java.lang.String WEAK_KEY_EXCHANGES
        See Also:
        Constant Field Values
      • WEAK_CIPHER_SUITE_PATTERNS

        private static final java.util.List<java.util.regex.Pattern> WEAK_CIPHER_SUITE_PATTERNS
    • Constructor Detail

      • TlsCiphers

        public TlsCiphers()
    • Method Detail

      • isH2Blacklisted

        public static boolean isH2Blacklisted​(java.lang.String cipherSuite)
      • isWeak

        public static boolean isWeak​(java.lang.String cipherSuite)
      • excludeH2Blacklisted

        public static java.lang.String[] excludeH2Blacklisted​(java.lang.String... ciphers)
      • excludeWeak

        public static java.lang.String[] excludeWeak​(java.lang.String... ciphers)