Lines Matching refs:provider
46 // Store used provider
47 private final Provider provider;
60 * @param provider
61 * the security provider.
66 Provider provider, String algorithm) {
67 this.provider = provider;
82 * Returns the security provider.
84 * @return the provider.
87 return provider;
97 * if no installed provider provides the specified algorithm.
107 return new CertPathValidator((CertPathValidatorSpi) sap.spi, sap.provider, algorithm);
112 * from the specified provider.
116 * @param provider
117 * the security provider name.
120 * if the specified security provider cannot provide the
123 * if no provider with the specified name can be found.
126 * @throws IllegalArgumentException if {@code provider == null || provider.isEmpty()}
129 String provider) throws NoSuchAlgorithmException,
131 if (provider == null || provider.isEmpty()) {
134 Provider impProvider = Security.getProvider(provider);
136 throw new NoSuchProviderException(provider);
143 * from the specified provider.
147 * @param provider
148 * the security provider name.
151 * if the specified provider cannot provide the requested
153 * @throws IllegalArgumentException if {@code provider == null}
158 Provider provider) throws NoSuchAlgorithmException {
159 if (provider == null) {
160 throw new IllegalArgumentException("provider == null");
165 Object spi = ENGINE.getInstance(algorithm, provider, null);
166 return new CertPathValidator((CertPathValidatorSpi) spi, provider, algorithm);