public class AlgorithmDecomposer
extends java.lang.Object
| Constructor and Description |
|---|
AlgorithmDecomposer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
decompose(java.lang.String algorithm)
Decompose the standard algorithm name into sub-elements.
|
static java.util.Collection<java.lang.String> |
getAliases(java.lang.String algorithm)
Get aliases of the specified algorithm.
|
public java.util.Set<java.lang.String> decompose(java.lang.String algorithm)
For example, we need to decompose "SHA1WithRSA" into "SHA1" and "RSA" so that we can check the "SHA1" and "RSA" algorithm constraints separately.
Please override the method if you need to support more name pattern.
public static java.util.Collection<java.lang.String> getAliases(java.lang.String algorithm)