HomeSort by relevance Sort by last modified time
    Searched refs:Provider (Results 76 - 100 of 362) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
MessageDigest_Impl2Test.java 25 import java.security.Provider;
40 * Provider
42 Provider p;
94 * Class under test for MessageDigest getInstance(String, Provider)
97 Provider p = new MyProvider();
103 * Class under test for MessageDigest getInstance(String, Provider)
106 Provider p = new MyProvider();
119 private void checkMD1(MessageDigest md1, Provider p) throws Exception {
145 private void checkMD2(MessageDigest md2, Provider p) throws Exception {
170 private class MyProvider extends Provider {
    [all...]
  /libcore/luni/src/main/java/java/security/
SecureRandom.java 26 import org.apache.harmony.security.provider.crypto.SHA1PRNG_SecureRandomImpl;
33 * provider available:
40 * provider found in the installed security providers. Use {@link Security}
75 private final Provider provider; field in class:SecureRandom
89 Provider.Service service = Services.getSecureRandomService();
91 this.provider = null;
96 this.provider = service.getProvider();
117 * implementation from the specified provider.
121 * @param provider
    [all...]
MessageDigest.java 56 // The provider
57 private Provider provider; field in class:MessageDigest
93 Provider provider = sap.provider; local
97 result.provider = provider;
100 return new MessageDigestImpl((MessageDigestSpi) sap.spi, sap.provider, algorithm);
105 * specified algorithm from the specified provider
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
MessageDigest2Test.java 26 import java.security.Provider;
39 private Map<Provider, List<String>> digestAlgs = new HashMap<Provider, List<String>>();
80 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) {
242 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) {
255 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) {
287 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) {
299 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) {
311 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) {
330 for (Entry<Provider, List<String>> e : digestAlgs.entrySet())
    [all...]
Signature2Test.java 30 import java.security.Provider;
103 * java.security.Provider)
107 Provider[] providers = Security.getProviders("Signature.DSA");
116 Signature.getInstance((String) null, (Provider) null);
122 Signature.getInstance("DSA", (Provider) null);
146 Provider[] providers = Security.getProviders("Signature.DSA");
158 Provider[] pp = Security.getProviders();
217 Provider p = Signature.getInstance("DSA").getProvider();
218 assertNotNull("provider is null", p);
267 Provider p = new MyProvider()
    [all...]
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
Sasl4Test.java 25 import java.security.Provider;
49 private Provider [] provs;
60 for (Provider element : provs) {
66 protected Provider[] mProv;
69 for (Provider element : mProv) {
81 for (Provider element : mProv) {
104 mProv = new Provider[] {
106 "Testing provider SaslServerFactory - 1", SRVSSRV
109 "Testing provider SaslServerFactory - 2", SRVSSRV
169 mProv = new Provider[] {
    [all...]
Sasl3Test.java 25 import java.security.Provider;
52 private Provider [] provs;
63 for (Provider element : provs) {
69 protected Provider[] mProv;
72 for (Provider element : mProv) {
84 for (Provider element : mProv) {
106 mProv = new Provider[] {
108 "Testing provider SaslClientFactory - 1", CLNTSRV
111 "Testing provider SaslClientFactory - 2", CLNTSRV
172 mProv = new Provider[] {
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
ProviderTest.java 19 import java.security.Provider;
23 import java.security.Provider;
58 Provider[] providers = Security.getProviders();
59 for (Provider provider : providers) {
60 String providerName = provider.getName();
61 // ignore BouncyCastle provider if it is installed on the RI
65 Set<Provider.Service> services = provider.getServices();
69 for (Provider.Service service : services)
    [all...]
MessageDigestTest.java 21 import java.security.Provider;
45 Provider[] providers = Security.getProviders();
46 for (Provider provider : providers) {
47 Set<Provider.Service> services = provider.getServices();
48 for (Provider.Service service : services) {
60 // MessageDigest.getInstance(String, Provider)
61 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
63 assertEquals(provider, md2.getProvider())
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismTest.java 29 import java.security.Provider;
61 * Assertion: creates new object using provider and mechanism name
64 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider",
65 "Provider for ExemptionMechanism testing",
72 assertEquals("Incorrect provider", em.getProvider(), mProv);
87 assertNull("Incorrect provider", em.getProvider());
99 * javax/crypto/ExemptionMechanism#getInstance(String algorithm, String provider)
124 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider",
125 "Provider for ExemptionMechanism testing",
156 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider"
    [all...]
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/
Signature_Impl2Test.java 36 * Provider
38 Provider p;
91 * Class under test for Signature getInstance(String, Provider)
94 Provider p1 = new MyProvider();
100 * Class under test for Signature getInstance(String, Provider)
103 Provider p2 = new MyProvider();
108 private void checkSig1(Signature s, Provider p) throws Exception {
158 private void checkSig2(Signature s, Provider p) throws Exception {
200 private class MyProvider extends Provider {
202 super("MyProvider", 1.0, "Provider for testing")
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
ExemptionMechanism.java 26 import java.security.Provider;
41 // Store used provider
42 private final Provider provider; field in class:ExemptionMechanism
64 * @param provider
65 * the associated provider.
70 Provider provider, String mechanism) {
73 this.provider = provider;
    [all...]
Mac.java 26 import java.security.Provider;
41 // Store used provider
42 private final Provider provider; field in class:Mac
58 * @param provider
59 * the implementation provider.
63 protected Mac(MacSpi macSpi, Provider provider, String algorithm) {
64 this.provider = provider;
    [all...]
  /external/chromium_org/chrome/browser/extensions/
default_apps_unittest.cc 17 using default_apps::Provider;
47 Provider provider(profile.get(), NULL, loader, Manifest::INTERNAL,
52 EXPECT_TRUE(provider.ShouldInstallInProfile());
57 EXPECT_FALSE(provider.ShouldInstallInProfile());
65 EXPECT_FALSE(provider.ShouldInstallInProfile());
72 EXPECT_TRUE(provider.ShouldInstallInProfile());
83 Provider provider2(profile.get(), NULL, loader, Manifest::INTERNAL,
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismTest.java 23 import java.security.Provider;
49 * Assertion: creates new object using provider and mechanism name
52 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider",
53 "Provider for ExemptionMechanism testing",
60 assertEquals("Incorrect provider", em.getProvider(), mProv);
75 assertNull("Incorrect provider", em.getProvider());
87 * @tests javax/crypto/ExemptionMechanism#getInstance(String algorithm, String provider)
106 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider",
107 "Provider for ExemptionMechanism testing",
139 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider"
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator5Test.java 23 import java.security.Provider;
  /external/smack/src/org/jivesoftware/smackx/packet/
AttentionExtension.java 23 import org.jivesoftware.smack.provider.PacketExtensionProvider;
86 public static class Provider implements PacketExtensionProvider {
92 * org.jivesoftware.smack.provider.PacketExtensionProvider#parseExtension
OfflineMessageInfo.java 24 import org.jivesoftware.smack.provider.PacketExtensionProvider;
91 public static class Provider implements PacketExtensionProvider {
94 * Creates a new Provider.
98 public Provider() {
SharedGroupsInfo.java 23 import org.jivesoftware.smack.provider.IQProvider;
63 * Internal Search service Provider.
65 public static class Provider implements IQProvider {
68 * Provider Constructor.
70 public Provider() {
  /external/smack/src/org/jivesoftware/smackx/workgroup/packet/
AgentInfo.java 23 import org.jivesoftware.smack.provider.IQProvider;
102 public static class Provider implements IQProvider {
104 public Provider() {
TranscriptSearch.java 23 import org.jivesoftware.smack.provider.IQProvider;
61 public static class Provider implements IQProvider {
63 public Provider() {
  /libcore/crypto/src/test/java/org/conscrypt/
MacTest.java 19 import java.security.Provider;
34 Provider p = Security.getProvider(OpenSSLProvider.PROVIDER_NAME);
  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
Cipher_ImplTest.java 27 import java.security.Provider;
44 private Provider p1;
45 private Provider p2;
182 * Class under test for Cipher getInstance(String, Provider)
213 * Class under test for Cipher getInstance(String, Provider)
285 private class MyProvider1 extends Provider {
292 private class MyProvider2 extends Provider {
  /libcore/luni/src/test/java/libcore/javax/crypto/
KeyGeneratorTest.java 19 import java.security.Provider;
39 Provider[] providers = Security.getProviders();
40 for (Provider provider : providers) {
41 Set<Provider.Service> services = provider.getServices();
42 for (Provider.Service service : services) {
54 // KeyGenerator.getInstance(String, Provider)
55 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider);
57 assertEquals(provider, kg2.getProvider())
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
TrustManagerFactorySpiTest.java 23 import java.security.Provider;
56 Provider provider = new MyProvider(); local
58 provider);
83 Provider provider = new MyProvider(); local
85 provider);
109 Provider provider = new MyProvider(); local
111 provider);
    [all...]

Completed in 460 milliseconds

1 2 34 5 6 7 8 91011>>