Lines Matching defs:algorithm
63 * {@code EncodedKeySpec} object might not know the algorithm
68 * @param algorithm the algorithm name of the encoded key
72 * for information about standard algorithm names.
74 * or {@code algorithm} is null.
75 * @throws IllegalArgumentException if {@code algorithm} is
79 protected EncodedKeySpec(byte[] encodedKey, String algorithm) {
80 if (algorithm == null) {
81 throw new NullPointerException("algorithm name may not be null");
83 if (algorithm.isEmpty()) {
84 throw new IllegalArgumentException("algorithm name "
88 this.algorithmName = algorithm;
93 * Returns the name of the algorithm of the encoded key.
95 * @return the name of the algorithm, or null if not specified