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.java270 getPrivateKey().getCertificateChain()); in populate()
309 ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.getCertificateChain()); in setPrivateKeyNoPassword()
324 privateKey.getCertificateChain()); in setPrivateKey()
339 privateKey.getCertificateChain()); in setPrivateKeyBytes()
399 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()), in assertPrivateKey()
400 Arrays.asList(privateKey.getCertificateChain())); in assertPrivateKey()
434 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()), in assertCertificateChain()
663 keyStore.getCertificateChain(null); in test_KeyStore_getCertificateChain()
673 keyStore.getCertificateChain(null); in test_KeyStore_getCertificateChain()
681 assertNull(keyStore.getCertificateChain("")); in test_KeyStore_getCertificateChain()
[all …]
DKeyAttestationTest.java201 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_NoChallenge()
295 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation_NoChallenge()
317 assertNull(keyStore.getCertificateChain(keystoreAlias)); in testAesAttestation()
333 assertNull(keyStore.getCertificateChain(keystoreAlias)); in testHmacAttestation()
391 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation()
445 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation()
DAndroidKeyStoreTest.java995 Certificate[] actual = mKeyStore.getCertificateChain(TEST_ALIAS_1); in testKeyStore_GetCertificateChain_SingleLength_Unencrypted_Success()
1005 mKeyStore.getCertificateChain(TEST_ALIAS_2)); in testKeyStore_GetCertificateChain_SingleLength_Unencrypted_Success()
1012 mKeyStore.getCertificateChain(TEST_ALIAS_1)); in testKeyStore_GetCertificateChain_NonExist_Unencrypted_Failure()
1145 Certificate[] actualChain = keyEntry.getCertificateChain(); in assertPrivateKeyEntryEquals()
DKeyPairGeneratorTest.java1328 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate()
1339 mKeyStore.getCertificateChain(alias)); in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
1469 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in KeyPairGeneratorTest.MyKeyManager
DTestUtils.java168 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java396 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in KeyChainTest.KeyChainKeyManager
400 KeyChain.getCertificateChain(KeyChainTest.this, alias); in getCertificateChain()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java159 X509Certificate[] returnedCerts = KeyChain.getCertificateChain(getActivity(), alias); in testCanInstallCertChain()
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java962 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in OpenSSLHeartbleedTest.HardcodedCertX509KeyManager
/cts/tools/dex-tools/dex/
Dclasses0.out.dex32609 public java.security.cert.Certificate[] getCertificateChain()
32724 public final java.security.cert.Certificate[] getCertificateChain(
62484 public abstract java.security.cert.X509Certificate[] getCertificateChain(
85270 public java.security.cert.X509Certificate[] getCertificateChain(
105209 java.security.cert.Certificate[] getCertificateChain()