Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java451 X509Certificate[] certificateChain = in getCertificateChain() local
453 if (certificateChain == null) { in getCertificateChain()
457 log("Returned " + certificateChain.length + " certificates in chain"); in getCertificateChain()
458 for (int i = 0; i < certificateChain.length; i++) { in getCertificateChain()
459 Log.d(TAG, "certificate[" + i + "]=" + certificateChain[i]); in getCertificateChain()
461 return certificateChain; in getCertificateChain()
/cts/tests/tests/identity/src/android/security/identity/cts/
DProvisioningTest.java133 Collection<X509Certificate> certificateChain = in createCredentialWithChallengeAndAcpId() local
271 certificateChain.iterator().next().getPublicKey())); in createCredentialWithChallengeAndAcpId()
285 return certificateChain; in createCredentialWithChallengeAndAcpId()
294 Collection<X509Certificate> certificateChain = in createCredentialMultipleNamespaces() local
365 return certificateChain; in createCredentialMultipleNamespaces()
421 Collection<X509Certificate> certificateChain = createCredential(store, "test"); in deleteCredential() local
426 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in deleteCredential()
439 certificateChain.iterator().next().getPublicKey())); in deleteCredential()
902 Collection<X509Certificate> certificateChain = in testProvisionAcpIdNotInValidRange() local
DUtil.java423 @Nullable Collection<X509Certificate> certificateChain) in coseSign1Sign() argument
454 if (certificateChain != null && certificateChain.size() > 0) { in coseSign1Sign()
455 if (certificateChain.size() == 1) { in coseSign1Sign()
456 X509Certificate cert = certificateChain.iterator().next(); in coseSign1Sign()
461 for (X509Certificate cert : certificateChain) { in coseSign1Sign()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1707 Certificate[] certificateChain) throws Exception { in assertUsableForTLSPeerAuthentication() argument
1711 X509Certificate[] x509CertificateChain = new X509Certificate[certificateChain.length]; in assertUsableForTLSPeerAuthentication()
1712 for (int i = 0; i < certificateChain.length; i++) { in assertUsableForTLSPeerAuthentication()
1713 x509CertificateChain[i] = (X509Certificate) certificateChain[i]; in assertUsableForTLSPeerAuthentication()
1719 "trusted", certificateChain[certificateChain.length - 1]); in assertUsableForTLSPeerAuthentication()