public class OpenSSLCipherConfigurationParser extends Object
| Constructor and Description |
|---|
OpenSSLCipherConfigurationParser() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
convertForJSSE(Collection<Cipher> ciphers) |
static String |
jsseToOpenSSL(String jsseCipherName)
Converts a JSSE cipher name to an OpenSSL cipher name.
|
static void |
main(String[] args) |
static String |
openSSLToJsse(String opensslCipherName)
Converts an OpenSSL cipher name to a JSSE cipher name.
|
static LinkedHashSet<Cipher> |
parse(String expression) |
static List<String> |
parseExpression(String expression)
Parse the specified expression according to the OpenSSL syntax and
returns a list of standard JSSE cipher names.
|
static void |
usage() |
public static LinkedHashSet<Cipher> parse(String expression)
public static List<String> convertForJSSE(Collection<Cipher> ciphers)
public static List<String> parseExpression(String expression)
expression - the openssl expression to define a list of cipher.public static String jsseToOpenSSL(String jsseCipherName)
jsseCipherName - The JSSE name for a cipherpublic static String openSSLToJsse(String opensslCipherName)
opensslCipherName - The OpenSSL name for a cipherpublic static void usage()
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.