public class NetPhantomCipherSuites extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<String> | allSuitesAll supported suites in an unmodifiable list. |
static List<String> | strongProtocolsList of strong supported protocols: TLSv1.2, ... |
static List<String> | strongSuitesThe strong supported suites in an unmodifiable list. |
static String | strongSuitesStringThe strong cipher suites as a comma separated string. |
static List<String> | supportedProtocolsSupported protocols: SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3 (depends on JVM),... |
| Constructor and Description |
|---|
NetPhantomCipherSuites() |
| Modifier and Type | Method and Description |
|---|---|
static int | getStrength(String s)Gets strength: 256, 128 or less: |
static boolean | isStrongProtocol(String protocol)Checks if it's a strong protocol. |
static boolean | isStrongSuite(String s)Checks if a suite is strong. |
static void | main(String[] args)When called, it will list, for the JVM in question, the cipher suites supported, the strong ones in order of importance. |
public static final List<String> strongSuites
public static final String strongSuitesString
public static final List<String> allSuites
public static final List<String> supportedProtocols
public static boolean isStrongProtocol(String protocol)
protocol - Protocol.public static boolean isStrongSuite(String s)
s - The cipher suite.public static int getStrength(String s)
This is based on the information on effective key lengths in RFC 2246 - The TLS Protocol Version 1.0, Appendix C. CipherSuite definitions:
Cipher Type Key Bits ------------ ------- --------- 3DES_EDE_CBC Block 168 RC4_128 Stream 128 IDEA_CBC Block 128 DES_CBC Block 56 RC2_CBC_40 * Block 40 RC4_40 * Stream 40 DES40_CBC * Block 40 NULL * Stream 0
s - The cipher suite.public static void main(String[] args)
args - The arguments, ignored...Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.