use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class AlgorithmParameterGenerator2Test method setUp.
protected void setUp() throws Exception {
super.setUp();
mProv = (new SpiEngUtils()).new MyProvider("MyAPGProvider", "Testing provider", AlgorithmParameterGenerator1Test.srvAlgorithmParameterGenerator.concat(".").concat(defaultAlg), AlgorithmParameterGeneratorProviderClass);
Security.insertProviderAt(mProv, 1);
}
use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class KeyStoreTest method setUp.
protected void setUp() throws Exception {
super.setUp();
mProv = (new SpiEngUtils()).new MyProvider("MyKSProvider", "Testing provider", KeyStoreTestSupport.srvKeyStore.concat(".").concat(defaultType), KeyStoreProviderClass);
Security.insertProviderAt(mProv, 2);
defaultProvider = SpiEngUtils.isSupport(defaultType, KeyStoreTestSupport.srvKeyStore);
KSSupported = (defaultProvider != null);
defaultProviderName = (KSSupported ? defaultProvider.getName() : null);
}
use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class CertificateFactory2Test method setUp.
protected void setUp() throws Exception {
super.setUp();
mProv = (new SpiEngUtils()).new MyProvider("MyCFProvider", "Provider for testing", CertificateFactory1Test.srvCertificateFactory.concat(".").concat(defaultAlg), CertificateFactoryProviderClass);
Security.insertProviderAt(mProv, 1);
}
Aggregations