Lines Matching defs:algorithm
66 private static int alg2strength(String algorithm) {
67 switch (algorithm.toUpperCase(Locale.ROOT)) {
75 throw new IllegalArgumentException(algorithm +
83 algorithm = requestedAlgorithm.toUpperCase(Locale.ROOT);
84 int supportedStrength = alg2strength(algorithm);
89 throw new IllegalArgumentException(algorithm +
102 // Default algorithm, use AES-128 if AES-256 is not available.
105 algorithm = "AES-128";
107 algorithm = "AES-256";
114 switch (algorithm.toUpperCase(Locale.ROOT)) {
120 switch (algorithm) {
127 throw new IllegalArgumentException(algorithm +
134 throw new IllegalArgumentException(algorithm +
139 throw new IllegalArgumentException(algorithm +
145 throw new IllegalArgumentException(algorithm +