Home
last modified time | relevance | path

Searched refs:ta (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/tests/security/cert/
DPKIXCertPathValidatorResultTest.java73 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult01() local
74 if (ta == null) { in testPKIXCertPathValidatorResult01()
78 ta, in testPKIXCertPathValidatorResult01()
108 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult03() local
109 if (ta == null) { in testPKIXCertPathValidatorResult03()
115 ta, in testPKIXCertPathValidatorResult03()
129 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult04() local
130 if (ta == null) { in testPKIXCertPathValidatorResult04()
135 ta, in testPKIXCertPathValidatorResult04()
147 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetTrustAnchor() local
[all …]
DPKIXCertPathBuilderResultTest.java82 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult01() local
83 if (ta == null) { in testPKIXCertPathBuilderResult01()
89 ta, in testPKIXCertPathBuilderResult01()
105 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult02() local
106 if (ta == null) { in testPKIXCertPathBuilderResult02()
112 ta, in testPKIXCertPathBuilderResult02()
125 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult03() local
126 if (ta == null) { in testPKIXCertPathBuilderResult03()
134 ta, in testPKIXCertPathBuilderResult03()
168 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult05() local
[all …]
DTrustAnchorTest.java114 TrustAnchor ta = new TrustAnchor(validCaNameRfc2253, pk, ncCopy); in testTrustAnchorStringPublicKeybyteArray03() local
119 assertTrue(Arrays.equals(nc, ta.getNameConstraints())); in testTrustAnchorStringPublicKeybyteArray03()
225 TrustAnchor ta = new TrustAnchor(new X500Principal(validCaNameRfc2253), in testTrustAnchorX500PrincipalPublicKeybyteArray03() local
231 assertTrue(Arrays.equals(nc, ta.getNameConstraints())); in testTrustAnchorX500PrincipalPublicKeybyteArray03()
417 TrustAnchor ta = in testGetCAPublicKey01() local
419 assertEquals("equals1", pk, ta.getCAPublicKey()); in testGetCAPublicKey01()
422 ta = new TrustAnchor(x500p, pk, null); in testGetCAPublicKey01()
423 assertEquals("equals2", pk, ta.getCAPublicKey()); in testGetCAPublicKey01()
440 TrustAnchor ta = in testGetCAName01() local
442 assertEquals("equals1", validCaNameRfc2253, ta.getCAName()); in testGetCAName01()
[all …]
/libcore/ojluni/src/test/java/security/cert/
DPKIXCertPathValidatorValidity.java120 TrustAnchor ta = new TrustAnchor(generateCert(trustedCertStr, cf), in runTest() local
122 trustAnchors.add(ta); in runTest()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DTestUtils.java126 TrustAnchor ta = getTrustAnchor(); in getTrustAnchorSet() local
127 if (ta == null) { in getTrustAnchorSet()
131 if (!set.add(ta)) { in getTrustAnchorSet()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNonIsoFormatter.java191 TemporalAccessor ta = dtf.parse(text); in test_chronoNames() local
192 Chronology cal = ta.query(TemporalQueries.chronology()); in test_chronoNames()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DTrustManagerFactory1Test.java449 TrustAnchor ta = new TrustAnchor(validCaNameRfc2253, pk, getFullEncoding()); in test_initLjavax_net_ssl_ManagerFactoryParameters() local
451 trustAnchors.add(ta); in test_initLjavax_net_ssl_ManagerFactoryParameters()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DRevocationChecker.java1036 TrustAnchor ta = cpbr.getTrustAnchor();
1037 PublicKey prevKey2 = ta.getCAPublicKey();
1039 prevKey2 = ta.getTrustedCert().getPublicKey();