HomeSort by relevance Sort by last modified time
    Searched refs:testChain (Results 1 - 3 of 3) sorted by null

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KSPrivateKeyEntryTest.java 49 private Certificate [] testChain;
53 testChain = new Certificate[5];
54 for (int i = 0; i < testChain.length; i++) {
56 testChain[i] = new MyCertificate("MY_TEST_CERTIFICATE_"
60 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm()));
108 new KeyStore.PrivateKeyEntry(testPrivateKey, testChain);
123 new KeyStore.PrivateKeyEntry(testPrivateKey, testChain);
136 testPrivateKey, testChain);
148 testPrivateKey, testChain);
150 assertEquals("Incorrect chain length", testChain.length, res.length)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KSPrivateKeyEntryTest.java 43 private Certificate [] testChain;
47 testChain = new Certificate[5];
48 for (int i = 0; i < testChain.length; i++) {
50 testChain[i] = new MyCertificate("MY_TEST_CERTIFICATE_"
54 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm()));
102 new KeyStore.PrivateKeyEntry(testPrivateKey, testChain);
117 new KeyStore.PrivateKeyEntry(testPrivateKey, testChain);
130 testPrivateKey, testChain);
142 testPrivateKey, testChain);
144 assertEquals("Incorrect chain length", testChain.length, res.length)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
TrustedCertificateStoreTest.java 399 public void testChain() throws Exception {
400 testChain(getAliasSystemChain1(), getAliasSystemChain2());
401 testChain(getAliasSystemChain1(), getAliasUserChain2());
402 testChain(getAliasUserChain1(), getAliasSystemCa1());
403 testChain(getAliasUserChain1(), getAliasUserChain2());
406 private void testChain(String alias1, String alias2) throws Exception {

Completed in 1229 milliseconds