Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java274 getPrivateKey().getCertificateChain()); in populate()
313 ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.getCertificateChain()); in setPrivateKeyNoPassword()
328 privateKey.getCertificateChain()); in setPrivateKey()
343 privateKey.getCertificateChain()); in setPrivateKeyBytes()
403 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()), in assertPrivateKey()
404 Arrays.asList(privateKey.getCertificateChain())); in assertPrivateKey()
438 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()), in assertCertificateChain()
667 keyStore.getCertificateChain(null); in test_KeyStore_getCertificateChain()
677 keyStore.getCertificateChain(null); in test_KeyStore_getCertificateChain()
685 assertNull(keyStore.getCertificateChain("")); in test_KeyStore_getCertificateChain()
[all …]
DAttestationPerformanceTest.java119 mKeyGen.getCertificateChain(); in measure()
DKeyAttestationTest.java262 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_NoChallenge()
309 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_DeviceLocked()
341 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testAttestationKmVersionMatchesFeatureVersion()
395 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testAttestationKmVersionMatchesFeatureVersionStrongBox()
551 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation_NoChallenge()
597 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation_DeviceLocked()
623 assertNull(keyStore.getCertificateChain(keystoreAlias)); in testAesAttestation()
643 assertNull(keyStore.getCertificateChain(keystoreAlias)); in testHmacAttestation()
721 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation()
781 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()
DAttestKeyTest.java193 return mKeyStore.getCertificateChain(spec.getKeystoreAlias()); in generateKeyPair()
DAndroidKeyStoreTest.java1009 Certificate[] actual = mKeyStore.getCertificateChain(TEST_ALIAS_1); in testKeyStore_GetCertificateChain_SingleLength_Unencrypted_Success()
1019 mKeyStore.getCertificateChain(TEST_ALIAS_2)); in testKeyStore_GetCertificateChain_SingleLength_Unencrypted_Success()
1026 mKeyStore.getCertificateChain(TEST_ALIAS_1)); in testKeyStore_GetCertificateChain_NonExist_Unencrypted_Failure()
1159 Certificate[] actualChain = keyEntry.getCertificateChain(); in assertPrivateKeyEntryEquals()
DKeyPairGeneratorTest.java1681 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate()
1692 mKeyStore.getCertificateChain(alias)); in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
1834 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in KeyPairGeneratorTest.MyKeyManager
DTestUtils.java246 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DPreSelectedKeyAccessTest.java54 X509Certificate[] certs = KeyChain.getCertificateChain(getContext(), PRE_SELECTED_ALIAS); in testAccessingPreSelectedAliasExpectingSuccess()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java187 assertThat(KeyChain.getCertificateChain(mActivity, alias)).isEqualTo(certChain); in testCanInstallCertChain()
691 X509Certificate[] fetchedCerts = KeyChain.getCertificateChain(mActivity, alias); in testCanSetKeyPairCert()
717 X509Certificate[] fetchedCerts = KeyChain.getCertificateChain(mActivity, alias); in testCanSetKeyPairCertChain()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCredentialManagementAppActivity.java300 KeyChain.getCertificateChain(getApplicationContext(), mChosenAlias); in getPublicKeyAndVerifySignature()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCredentialManagementAppTest.java265 Certificate[] fetchedCerts = KeyChain.getCertificateChain(sContext, ALIAS); in setKeyPairCertificate_isCredentialManagementApp_success()