Home | History | Annotate | Download | only in spec

Lines Matching refs:algorithm

43     private final String algorithm;
47 * algorithm name.
51 * @param algorithm
52 * the algorithm name.
54 * if the key data or the algorithm name is null or if the key
57 public SecretKeySpec(byte[] key, String algorithm) {
64 if (algorithm == null) {
65 throw new IllegalArgumentException("algorithm == null");
68 this.algorithm = algorithm;
76 * length <code>len</code> and the specified <code>algorithm</code> name.
84 * @param algorithm
85 * the algorithm name.
87 * if the key data or the algorithm name is null, the key data
93 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) {
106 if (algorithm == null) {
107 throw new IllegalArgumentException("algorithm == null");
109 this.algorithm = algorithm;
115 * Returns the algorithm name.
117 * @return the algorithm name.
120 return algorithm;
150 int result = algorithm.length();
163 * @return true if the algorithm name and key of both object are equal,
175 return (algorithm.equalsIgnoreCase(ks.algorithm))