Lines Matching refs:provider
42 * The security provider.
44 private final Provider provider;
67 * @param provider
68 * the security provider.
73 Provider provider, String algorithm) {
74 this.provider = provider;
98 return new AlgorithmParameters((AlgorithmParametersSpi) sap.spi, sap.provider, algorithm);
103 * provider for the specified algorithm.
107 * @param provider
108 * name of the provider of the {@code AlgorithmParameters}.
114 * if the specified provider is not available.
115 * @throws IllegalArgumentException if {@code provider == null || provider.isEmpty()}
120 String provider) throws NoSuchAlgorithmException,
122 if (provider == null || provider.isEmpty()) {
123 throw new IllegalArgumentException("provider == null || provider.isEmpty()");
125 Provider p = Security.getProvider(provider);
127 throw new NoSuchProviderException(provider);
134 * provider for the specified algorithm.
138 * @param provider
139 * the provider of the {@code AlgorithmParameters}.
146 * @throws IllegalArgumentException if {@code provider == null}
149 Provider provider) throws NoSuchAlgorithmException {
150 if (provider == null) {
151 throw new IllegalArgumentException("provider == null");
156 Object spi = ENGINE.getInstance(algorithm, provider, null);
157 return new AlgorithmParameters((AlgorithmParametersSpi) spi, provider, algorithm);
161 * Returns the provider associated with this {@code AlgorithmParameters}.
163 * @return the provider associated with this {@code AlgorithmParameters}.
166 return provider;