Searched refs:defaultType (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/test/java/tests/security/cert/
H A DCertPathValidator3Test.java48 private static final String defaultType = CertPathBuilder1Test.defaultType; field in class:CertPathValidator3Test
58 defaultProvider = SpiEngUtils.isSupport(defaultType,
62 NotSupportMsg = defaultType.concat(" is not supported");
72 certPVs[0] = CertPathValidator.getInstance(defaultType);
73 certPVs[1] = CertPathValidator.getInstance(defaultType,
75 certPVs[2] = CertPathValidator.getInstance(defaultType,
H A DCertificateFactory3Test.java51 private static String defaultType = CertificateFactory1Test.defaultType; field in class:CertificateFactory3Test
60 defaultProvider = SpiEngUtils.isSupport(defaultType,
65 NotSupportMsg = defaultType.concat(" is not supported");
74 certFs[0] = CertificateFactory.getInstance(defaultType);
75 certFs[1] = CertificateFactory.getInstance(defaultType,
78 .getInstance(defaultType, defaultProvider);
156 assertEquals(defaultType, certPath.getType());
184 assertEquals(defaultType, certPath.getType());
H A DCertPathValidator1Test.java51 private static final String defaultType = "PKIX"; field in class:CertPathValidator1Test
65 defaultProvider = SpiEngUtils.isSupport(defaultType,
69 NotSupportMsg = defaultType.concat(" is not supported");
81 certPVs[0] = CertPathValidator.getInstance(defaultType);
82 certPVs[1] = CertPathValidator.getInstance(defaultType,
84 certPVs[2] = CertPathValidator.getInstance(defaultType,
108 resType = defaultType;
114 Security.setProperty(propName, defaultType);
364 defaultProvider, defaultType);
365 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), defaultType);
[all...]
H A DCertPathBuilder1Test.java55 public static final String defaultType = "PKIX"; field in class:CertPathBuilder1Test
71 defaultProvider = SpiEngUtils.isSupport(defaultType,
75 NotSupportMsg = defaultType.concat(" is not supported");
84 certPBs[0] = CertPathBuilder.getInstance(defaultType);
85 certPBs[1] = CertPathBuilder.getInstance(defaultType,
87 certPBs[2] = CertPathBuilder.getInstance(defaultType,
351 defaultProvider, defaultType);
352 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), defaultType);
H A DCertificateFactory1Test.java64 public static String defaultType = "X.509"; field in class:CertificateFactory1Test
74 defaultProvider = SpiEngUtils.isSupport(defaultType,
78 NotSupportMsg = defaultType.concat(" is not supported"); }
87 certFs[0] = CertificateFactory.getInstance(defaultType);
88 certFs[1] = CertificateFactory.getInstance(defaultType,
90 certFs[2] = CertificateFactory.getInstance(defaultType,
641 defaultType);
642 assertEquals("Incorrect type", cf.getType(), defaultType);
700 defaultType);
701 assertEquals("Incorrect type", cf.getType(), defaultType);
[all...]
H A DCertStore1Test.java53 private static final String defaultType = "LDAP"; field in class:CertStore1Test
72 defaultProvider = SpiEngUtils.isSupport(defaultType,
103 dType = (CollectionSupport ? CollectionType : defaultType );
138 sn = defaultType;
/libcore/luni/src/main/java/java/security/cert/
H A DCertPathBuilder.java194 String defaultType = Security.getProperty(PROPERTY_NAME);
195 return (defaultType != null ? defaultType : DEFAULT_PROPERTY);
H A DCertPathValidator.java202 String defaultType = Security.getProperty(PROPERTY_NAME);
203 return (defaultType != null ? defaultType : DEFAULT_PROPERTY);
H A DCertStore.java269 String defaultType = Security.getProperty(PROPERTY_NAME);
270 return (defaultType == null ? DEFAULT_PROPERTY : defaultType);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyStoreTest.java62 private static final String defaultType = "KeyStore"; field in class:KeyStoreTest
78 kpg[0] = KeyStore.getInstance(defaultType);
79 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider);
80 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName);
88 .concat(defaultType), KeyStoreProviderClass);
90 defaultProvider = SpiEngUtils.isSupport(defaultType,
192 resType = defaultType;
198 Security.setProperty(propName, defaultType);
H A DKeyStoreBuilderTest.java60 private static String defaultType = KeyStoreTestSupport.defaultType; field in class:KeyStoreBuilderTest
392 KeyStore.Builder.newInstance(defaultType, defaultProvider, null);
401 ksB = KeyStore.Builder.newInstance(defaultType, defaultProvider,
403 ksB1 = KeyStore.Builder.newInstance(defaultType, null, pp[i]);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DKeyStoreTestSupport.java46 public static String defaultType = "bks"; field in class:KeyStoreTestSupport
55 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);

Completed in 159 milliseconds