Home | History | Annotate | Download | only in fortress

Lines Matching refs:algorithm

40     // for getInstance(String algorithm, Object param) optimization:
78 * @param algorithm
82 public synchronized void getInstance(String algorithm, Object param)
86 if (algorithm == null) {
87 throw new NoSuchAlgorithmException("Null algorithm name");
91 && Util.equalsIgnoreCase(algorithm, lastAlgorithm)
96 throw notFound(serviceName, algorithm);
100 Util.toUpperCase(algorithm)).toString());
102 throw notFound(serviceName, algorithm);
105 lastAlgorithm = algorithm;
112 private NoSuchAlgorithmException notFound(String serviceName, String algorithm) throws NoSuchAlgorithmException {
113 throw new NoSuchAlgorithmException(serviceName + " " + algorithm + " implementation not found");
121 * @param algorithm
126 public synchronized void getInstance(String algorithm, Provider provider,
130 if (algorithm == null) {
131 throw new NoSuchAlgorithmException("algorithm == null");
133 serv = provider.getService(serviceName, algorithm);
135 throw notFound(serviceName, algorithm);