Searched refs:getCertificateChain (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 274 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 …]
|
D | AttestationPerformanceTest.java | 119 mKeyGen.getCertificateChain(); in measure()
|
D | KeyAttestationTest.java | 262 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()
|
D | PerformanceTestBase.java | 343 Certificate[] getCertificateChain() throws Exception { in getCertificateChain() method in PerformanceTestBase.AndroidKeystoreKeyGenerator 344 return mKeyStore.getCertificateChain(KEY_ALIAS); in getCertificateChain()
|
D | AttestKeyTest.java | 193 return mKeyStore.getCertificateChain(spec.getKeystoreAlias()); in generateKeyPair()
|
D | AndroidKeyStoreTest.java | 1009 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()
|
D | KeyPairGeneratorTest.java | 1681 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
|
D | TestUtils.java | 246 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | PreSelectedKeyAccessTest.java | 54 X509Certificate[] certs = KeyChain.getCertificateChain(getContext(), PRE_SELECTED_ALIAS); in testAccessingPreSelectedAliasExpectingSuccess()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 187 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/ |
D | CredentialManagementAppActivity.java | 300 KeyChain.getCertificateChain(getApplicationContext(), mChosenAlias); in getPublicKeyAndVerifySignature()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 265 Certificate[] fetchedCerts = KeyChain.getCertificateChain(sContext, ALIAS); in setKeyPairCertificate_isCredentialManagementApp_success()
|