Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java273 getPrivateKey().getCertificateChain()); in populate()
312 ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.getCertificateChain()); in setPrivateKeyNoPassword()
327 privateKey.getCertificateChain()); in setPrivateKey()
342 privateKey.getCertificateChain()); in setPrivateKeyBytes()
402 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()), in assertPrivateKey()
403 Arrays.asList(privateKey.getCertificateChain())); in assertPrivateKey()
437 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()), in assertCertificateChain()
666 keyStore.getCertificateChain(null); in test_KeyStore_getCertificateChain()
676 keyStore.getCertificateChain(null); in test_KeyStore_getCertificateChain()
684 assertNull(keyStore.getCertificateChain("")); in test_KeyStore_getCertificateChain()
[all …]
DKeyAttestationTest.java231 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_NoChallenge()
269 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_DeviceLocked()
399 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation_NoChallenge()
438 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation_DeviceLocked()
464 assertNull(keyStore.getCertificateChain(keystoreAlias)); in testAesAttestation()
484 assertNull(keyStore.getCertificateChain(keystoreAlias)); in testHmacAttestation()
556 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation()
615 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation()
DPerformanceTestBase.java343 Certificate[] getCertificateChain() throws Exception { in getCertificateChain() method in PerformanceTestBase.AndroidKeystoreKeyGenerator
344 return mKeyStore.getCertificateChain(KEY_ALIAS); in getCertificateChain()
DAttestationPerformanceTest.java111 mKeyGen.getCertificateChain(); in measure()
DAndroidKeyStoreTest.java1005 Certificate[] actual = mKeyStore.getCertificateChain(TEST_ALIAS_1); in testKeyStore_GetCertificateChain_SingleLength_Unencrypted_Success()
1015 mKeyStore.getCertificateChain(TEST_ALIAS_2)); in testKeyStore_GetCertificateChain_SingleLength_Unencrypted_Success()
1022 mKeyStore.getCertificateChain(TEST_ALIAS_1)); in testKeyStore_GetCertificateChain_NonExist_Unencrypted_Failure()
1155 Certificate[] actualChain = keyEntry.getCertificateChain(); in assertPrivateKeyEntryEquals()
DKeyPairGeneratorTest.java1680 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate()
1691 mKeyStore.getCertificateChain(alias)); in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
1833 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in KeyPairGeneratorTest.MyKeyManager
DTestUtils.java189 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java362 desiredIssuer = (X509Certificate) mKeyStore.getCertificateChain(ALIAS)[1]; in startWebServer()
448 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in KeyChainTest.KeyChainKeyManager
452 KeyChain.getCertificateChain(KeyChainTest.this, alias); in getCertificateChain()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java196 assertThat(KeyChain.getCertificateChain(mActivity, alias)).isEqualTo(certChain); in testCanInstallCertChain()
683 X509Certificate[] fetchedCerts = KeyChain.getCertificateChain(mActivity, alias); in testCanSetKeyPairCert()
708 X509Certificate[] fetchedCerts = KeyChain.getCertificateChain(mActivity, alias); in testCanSetKeyPairCertChain()