public interface CryptoParametersJ8
| Modifier and Type | Interface and Description |
|---|---|
static class |
CryptoParametersJ8.TYPES
short names, exact names @see
CryptoParametersJ8.TYPES_IMPL. |
static class |
CryptoParametersJ8.TYPES_IMPL
Implementing classes are either using
PBEWith <digest>And<encryption> - the password-based encryption algorithm defined in PKCS #5: PBEWithHmacSHA256AndAES_256/CBC/PKCS5Padding in
CryptoParametersJ8.TYPES_IMPL.ALGORITHM_J8_PBE
or
AES/GCM/NoPadding in CryptoParametersJ8.TYPES_IMPL.ALGORITHM_J8_GCM (Cipher Algorithm Names/Cipher Algorithm Modes/Cipher Algorithm Padding). |
| Modifier and Type | Field and Description |
|---|---|
static String |
CLEAR_CODE_DEFAULT
Prefix to decrypted hex hash to get a clue, what to use and what it is; should be always 10 bytes.
|
static CryptoParametersJ8.TYPES |
DEFAULT_TYPE |
static List[] |
LISTS |
static String[] |
PROVIDER_TYPES |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getSupportedAlgos(List<String> algoList,
String type,
boolean exact)
Checks Java provider with type has exact type or contains any of the strings in algoList.
|
static List<String> |
init()
initializes supported parameters by filtering
CryptoParametersJ8.TYPES against AlgorithmParameters in system supported cipher suites:
first by an exact match with type AlgorithmParameters, then by inexact matching. |
static final String CLEAR_CODE_DEFAULT
static final CryptoParametersJ8.TYPES DEFAULT_TYPE
static final List[] LISTS
static final String[] PROVIDER_TYPES
static List<String> getSupportedAlgos(List<String> algoList, String type, boolean exact)
Typesmay be Cipher, AlgorithmParameters, KeyGenerator, Alg, Mac, SecretKeyFactory.
algoList - the types to be checkedtype - the type is ignored if not exact, instead uses the two types: "AlgorithmParameters", "Cipher".exact - if exact does a exact matchstatic List<String> init()
CryptoParametersJ8.TYPES against AlgorithmParameters in system supported cipher suites:
first by an exact match with type AlgorithmParameters, then by inexact matching.
getSupportedAlgos(List, String, boolean)Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.