Home | History | Annotate | Download | only in crypto

Lines Matching refs:provider

26 import java.security.Provider;
41 // Store used provider
42 private final Provider provider;
64 * @param provider
65 * the associated provider.
70 Provider provider, String mechanism) {
73 this.provider = provider;
94 * if the specified algorithm is not available by any provider.
106 engine.provider, algorithm);
112 * specified exemption mechanism algorithm from the specified provider.
116 * @param provider
117 * the name of the provider that is providing the algorithm.
121 * provider.
123 * if the specified provider is not available.
127 * if the provider parameter is {@code null}.
130 String provider) throws NoSuchAlgorithmException,
132 if (provider == null) {
133 throw new IllegalArgumentException("provider == null");
135 Provider impProvider = Security.getProvider(provider);
137 throw new NoSuchProviderException(provider);
147 * specified exemption mechanism algorithm from the specified provider.
151 * @param provider
152 * the provider that is providing the algorithm.
156 * provider.
160 * if the provider parameter is {@code null}.
163 Provider provider) throws NoSuchAlgorithmException {
167 if (provider == null) {
168 throw new IllegalArgumentException("provider == null");
171 engine.getInstance(algorithm, provider, null);
173 provider, algorithm);
178 * Returns the provider of this {@code ExemptionMechanism} instance.
180 * @return the provider of this {@code ExemptionMechanism} instance.
182 public final Provider getProvider() {
183 return provider;