Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java580 X509Certificate[] fetchedCerts = KeyChain.getCertificateChain(mActivity, alias); in testCanSetKeyPairCert() local
581 assertEquals(fetchedCerts.length, certs.size()); in testCanSetKeyPairCert()
582 assertTrue(Arrays.equals(fetchedCerts[0].getEncoded(), certs.get(0).getEncoded())); in testCanSetKeyPairCert()
605 X509Certificate[] fetchedCerts = KeyChain.getCertificateChain(mActivity, alias); in testCanSetKeyPairCertChain() local
606 assertEquals(fetchedCerts.length, chain.size()); in testCanSetKeyPairCertChain()
608 assertTrue(Arrays.equals(fetchedCerts[i].getEncoded(), chain.get(i).getEncoded())); in testCanSetKeyPairCertChain()