Searched refs:provider (Results 1 - 25 of 244) sorted by relevance

12345678910

/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
H A DSelectorProviderTest.java33 // calling #provider to see if it returns without Exception.
34 assertNotNull(SelectorProvider.provider());
37 SelectorProvider.provider().inheritedChannel();
39 assertNotNull(SelectorProvider.provider().openDatagramChannel());
40 assertNotNull(SelectorProvider.provider().openPipe());
41 assertNotNull(SelectorProvider.provider().openServerSocketChannel());
42 assertNotNull(SelectorProvider.provider().openSocketChannel());
43 assertNotNull(SelectorProvider.provider().openSelector());
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DAppendable.java18 package org.apache.harmony.xnet.provider.jsse;
H A DDataStream.java18 package org.apache.harmony.xnet.provider.jsse;
H A DOpenSSLKeyHolder.java17 package org.apache.harmony.xnet.provider.jsse;
H A DContentType.java18 package org.apache.harmony.xnet.provider.jsse;
H A DEndOfBufferException.java18 package org.apache.harmony.xnet.provider.jsse;
H A DEndOfSourceException.java18 package org.apache.harmony.xnet.provider.jsse;
H A DPinEntryException.java17 package org.apache.harmony.xnet.provider.jsse;
/libcore/luni/src/main/java/java/security/
H A DKeyPairGenerator.java42 // Store used provider
43 private Provider provider; field in class:KeyPairGenerator
87 Provider provider = sap.provider;
91 result.provider = provider;
94 return new KeyPairGeneratorImpl((KeyPairGeneratorSpi) spi, provider, algorithm);
99 * specified algorithm from the specified provider.
103 * @param provider
104 * the name of the provider
113 getInstance(String algorithm, String provider) argument
140 getInstance(String algorithm, Provider provider) argument
257 KeyPairGeneratorImpl(KeyPairGeneratorSpi keyPairGeneratorSpi, Provider provider, String algorithm) argument
[all...]
H A DAlgorithmParameterGenerator.java38 // Store used provider
39 private final Provider provider; field in class:AlgorithmParameterGenerator
53 * @param provider
54 * the provider.
59 AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider,
61 this.provider = provider;
95 sap.provider, algorithm);
100 * specified provider for the specified algorithm.
104 * @param provider
58 AlgorithmParameterGenerator( AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm) argument
117 getInstance(String algorithm, String provider) argument
146 getInstance(String algorithm, Provider provider) argument
[all...]
H A DKeyFactory.java37 // The provider
38 private final Provider provider; field in class:KeyFactory
52 * @param provider
53 * the provider.
58 Provider provider,
60 this.provider = provider;
74 * if no provider provides the requested algorithm.
82 return new KeyFactory((KeyFactorySpi) sap.spi, sap.provider, algorithm);
87 * algorithm from the specified provider
57 KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, String algorithm) argument
101 getInstance(String algorithm, String provider) argument
127 getInstance(String algorithm, Provider provider) argument
[all...]
H A DAlgorithmParameters.java42 * The security provider.
44 private final Provider provider; field in class:AlgorithmParameters
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
72 AlgorithmParameters(AlgorithmParametersSpi algPramSpi, Provider provider, String algorithm) argument
119 getInstance(String algorithm, String provider) argument
148 getInstance(String algorithm, Provider provider) argument
[all...]
H A DMessageDigest.java56 // The provider
57 private Provider provider; field in class:MessageDigest
93 Provider provider = sap.provider;
97 result.provider = provider;
100 return new MessageDigestImpl((MessageDigestSpi) sap.spi, sap.provider, algorithm);
105 * specified algorithm from the specified provider.
109 * @param provider
110 * the name of the provider
121 getInstance(String algorithm, String provider) argument
149 getInstance(String algorithm, Provider provider) argument
383 MessageDigestImpl(MessageDigestSpi messageDigestSpi, Provider provider, String algorithm) argument
[all...]
/libcore/luni/src/main/java/java/security/cert/
H A DCertPathBuilder.java45 // Store used provider
46 private final Provider provider; field in class:CertPathBuilder
59 * @param provider
60 * the provider.
62 * the desired algorithm available at the provider.
64 protected CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, argument
66 this.provider = provider;
81 * Returns the provider of this instance.
83 * @return the provider o
127 getInstance(String algorithm, String provider) argument
155 getInstance(String algorithm, Provider provider) argument
[all...]
H A DCertPathValidator.java46 // Store used provider
47 private final Provider provider; field in class:CertPathValidator
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;
65 CertPathValidator(CertPathValidatorSpi validatorSpi, Provider provider, String algorithm) argument
128 getInstance(String algorithm, String provider) argument
157 getInstance(String algorithm, Provider provider) argument
[all...]
H A DCertStore.java48 // Store used provider
49 private final Provider provider; field in class:CertStore
65 * @param provider
66 * the security provider.
72 protected CertStore(CertStoreSpi storeSpi, Provider provider, String type, argument
74 this.provider = provider;
90 * if no provider can provide the specified certificate store
104 return new CertStore((CertStoreSpi) sap.spi, sap.provider, type, params);
116 * Creates a new {@code CertStore} instance from the specified provider wit
138 getInstance(String type, CertStoreParameters params, String provider) argument
171 getInstance(String type, CertStoreParameters params, Provider provider) argument
[all...]
H A DCertificateFactory.java46 // Store used provider
47 private final Provider provider; field in class:CertificateFactory
60 * @param provider
61 * the associated provider.
66 Provider provider, String type) {
67 this.provider = provider;
81 * installed provider.
91 return new CertificateFactory((CertificateFactorySpi) sap.spi, sap.provider, type);
99 * provider tha
65 CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type) argument
116 getInstance(String type, String provider) argument
147 getInstance(String type, Provider provider) argument
[all...]
/libcore/luni/src/main/java/javax/crypto/
H A DSecretKeyFactory.java36 * <li>translate {@link SecretKey} objects from one provider implementation to
40 * {@link #getKeySpec} is provider dependent.
47 // Store used provider
48 private final Provider provider; field in class:SecretKeyFactory
61 * @param provider
62 * the provider providing this key factory.
67 Provider provider, String algorithm) {
68 this.provider = provider;
83 * Returns the provider fo
66 SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, Provider provider, String algorithm) argument
131 getInstance(String algorithm, String provider) argument
162 getInstance(String algorithm, Provider provider) argument
[all...]
H A DKeyAgreement.java44 // Store used provider
45 private final Provider provider; field in class:KeyAgreement
58 * @param provider
59 * the provider providing this KeyAgreement.
63 protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, argument
65 this.provider = provider;
80 * Returns the provider for this {@code KeyAgreement} instance.
82 * @return the provider for this {@code KeyAgreement} instance.
85 return provider;
127 getInstance(String algorithm, String provider) argument
158 getInstance(String algorithm, Provider provider) argument
[all...]
H A DKeyGenerator.java42 // Store used provider
43 private final Provider provider; field in class:KeyGenerator
56 * @param provider
57 * the implementation provider.
61 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, argument
63 this.provider = provider;
78 * Returns the provider of this {@code KeyGenerator} instance.
80 * @return the provider of this {@code KeyGenerator} instance.
83 return provider;
126 getInstance(String algorithm, String provider) argument
155 getInstance(String algorithm, Provider provider) argument
[all...]
/libcore/luni/src/main/java/javax/net/ssl/
H A DTrustManagerFactory.java30 * The factory for {@code TrustManager}s based on {@code KeyStore} or provider
66 * if no installed provider can provide the requested algorithm.
77 return new TrustManagerFactory((TrustManagerFactorySpi) sap.spi, sap.provider, algorithm);
82 * trust management algorithm from the specified provider.
86 * @param provider
87 * the name of the provider that provides the requested
91 * if the specified provider cannot provide the requested
94 * if the specified provider does not exist.
99 public static final TrustManagerFactory getInstance(String algorithm, String provider) argument
101 if ((provider
127 getInstance(String algorithm, Provider provider) argument
140 private final Provider provider; field in class:TrustManagerFactory
158 TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm) argument
[all...]
H A DKeyManagerFactory.java67 * if no installed provider can provide the requested algorithm.
78 return new KeyManagerFactory((KeyManagerFactorySpi) sap.spi, sap.provider, algorithm);
83 * management algorithm from the specified provider.
87 * @param provider
88 * the name of the provider that provides the requested
92 * if the specified provider cannot provide the requested
95 * if the specified provider does not exist.
100 public static final KeyManagerFactory getInstance(String algorithm, String provider) argument
102 if ((provider == null) || (provider
128 getInstance(String algorithm, Provider provider) argument
141 private final Provider provider; field in class:KeyManagerFactory
159 KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm) argument
[all...]
H A DSSLContext.java89 * if no installed provider can provide the requested protocol
99 return new SSLContext((SSLContextSpi) sap.spi, sap.provider, protocol);
104 * the specified provider.
108 * @param provider
109 * the name of the provider that provides the requested protocol.
112 * if the specified provider cannot provider the requested
115 * if the specified provider does not exits.
120 public static SSLContext getInstance(String protocol, String provider) argument
122 if (provider
151 getInstance(String protocol, Provider provider) argument
163 private final Provider provider; field in class:SSLContext
179 SSLContext(SSLContextSpi contextSpi, Provider provider, String protocol) argument
[all...]
/libcore/luni/src/main/java/java/nio/channels/
H A DPipe.java38 * @param provider
39 * the provider of the channel.
41 protected SinkChannel(SelectorProvider provider) { argument
42 super(provider);
64 * @param provider
65 * the provider of the channel.
67 protected SourceChannel(SelectorProvider provider) { argument
68 super(provider);
89 return SelectorProvider.provider().openPipe();
/libcore/luni/src/main/java/java/nio/channels/spi/
H A DSelectorProvider.java35 * <p>A provider instance can be retrieved through a system property or the
36 * configuration file in a jar file; if no provider is available that way then
37 * the system default provider is returned.
41 private static SelectorProvider provider = null; field in class:SelectorProvider
50 * Gets a provider instance by executing the following steps when called for
54 * set, the value of this property is the class name of the provider
56 * <li>if there is a provider-configuration file named
59 * provider's class name; </li>
60 * <li> otherwise, a system default provider will be returned.</li>
63 * @return the provider
65 synchronized public static SelectorProvider provider() { method in class:SelectorProvider
[all...]

Completed in 1316 milliseconds

12345678910