Home | History | Annotate | Download | only in spec

Lines Matching defs:algorithm

43     private final String algorithm;
48 * algorithm name.
52 * @param algorithm
53 * the algorithm name.
55 * if the key data or the algorithm name is null or if the key
58 public SecretKeySpec(byte[] key, String algorithm) {
65 if (algorithm == null) {
66 throw new IllegalArgumentException("algorithm == null");
69 this.algorithm = algorithm;
77 * length <code>len</code> and the specified <code>algorithm</code> name.
85 * @param algorithm
86 * the algorithm name.
88 * if the key data or the algorithm name is null, the key data
94 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) {
109 if (algorithm == null) {
110 throw new IllegalArgumentException("algorithm == null");
112 this.algorithm = algorithm;
118 * Returns the algorithm name.
120 * @return the algorithm name.
123 return algorithm;
153 int result = algorithm.length();
166 * @return true if the algorithm name and key of both object are equal,
178 return (algorithm.equalsIgnoreCase(ks.algorithm))