use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class TrustManagerFactory2Test method setUp.
protected void setUp() throws Exception {
super.setUp();
mProv = (new SpiEngUtils()).new MyProvider("MyTMFProvider", "Provider for testing", srvTrustManagerFactory.concat(".").concat(defaultAlg), TrustManagerFactoryProviderClass);
Security.insertProviderAt(mProv, 1);
}
use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class KeyPairGenerator2Test method setProv.
protected void setProv() {
mProv = (new SpiEngUtils()).new MyProvider("MyKPGenProvider".concat(post), "Testing provider", KeyPairGenerator1Test.srvKeyPairGenerator.concat(".").concat(defaultAlg.concat(post)), KeyPairGeneratorProviderClass);
Security.insertProviderAt(mProv, 1);
}
use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class KeyManagerFactory2Test method setUp.
protected void setUp() throws Exception {
super.setUp();
mProv = (new SpiEngUtils()).new MyProvider("MyKMFProvider", "Provider for testing", srvKeyManagerFactory.concat(".").concat(defaultAlg), KeyManagerFactoryProviderClass);
Security.insertProviderAt(mProv, 2);
}
use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class SSLContext2Test method setUp.
protected void setUp() throws Exception {
super.setUp();
mProv = (new SpiEngUtils()).new MyProvider("MySSLContextProvider", "Provider for testing", srvSSLContext.concat(".").concat(defaultProtocol), SSLContextProviderClass);
Security.insertProviderAt(mProv, 1);
}
use of org.apache.harmony.security.tests.support.SpiEngUtils in project robovm by robovm.
the class CertPathBuilder2Test method setUp.
protected void setUp() throws Exception {
super.setUp();
mProv = (new SpiEngUtils()).new MyProvider("MyCertPathBuilderProvider", "Provider for testing", CertPathBuilder1Test.srvCertPathBuilder + "." + defaultAlg, CertPathBuilderProviderClass);
Security.insertProviderAt(mProv, 1);
}
Aggregations