41 |
import java.security.spec.AlgorithmParameterSpec; |
import java.security.spec.AlgorithmParameterSpec; |
42 |
import java.io.IOException; |
import java.io.IOException; |
43 |
|
|
44 |
|
import gnu.java.security.Engine; |
45 |
|
|
46 |
/** |
/** |
47 |
* <p>This class is used as an opaque representation of cryptographic |
* <p>This class is used as an opaque representation of cryptographic |
48 |
* parameters.</p> |
* parameters.</p> |
206 |
Engine.getInstance(ALGORITHM_PARAMETERS, algorithm, provider), |
Engine.getInstance(ALGORITHM_PARAMETERS, algorithm, provider), |
207 |
provider, algorithm); |
provider, algorithm); |
208 |
} |
} |
209 |
|
catch (java.lang.reflect.InvocationTargetException ite) |
210 |
|
{ |
211 |
|
throw new NoSuchAlgorithmException(algorithm); |
212 |
|
} |
213 |
catch (ClassCastException cce) |
catch (ClassCastException cce) |
214 |
{ |
{ |
215 |
throw new NoSuchAlgorithmException(algorithm); |
throw new NoSuchAlgorithmException(algorithm); |