Home
last modified time | relevance | path

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

/cts/tests/tests/identity/src/android/security/identity/cts/
DProvisioningTest.java134 Collection<X509Certificate> certificateChain = in createCredentialWithChallengeAndAcpId() local
272 certificateChain.iterator().next().getPublicKey())); in createCredentialWithChallengeAndAcpId()
286 return certificateChain; in createCredentialWithChallengeAndAcpId()
295 Collection<X509Certificate> certificateChain = in createCredentialMultipleNamespaces() local
366 return certificateChain; in createCredentialMultipleNamespaces()
422 Collection<X509Certificate> certificateChain = createCredential(store, "test"); in deleteCredentialByName() local
427 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in deleteCredentialByName()
440 certificateChain.iterator().next().getPublicKey())); in deleteCredentialByName()
461 Collection<X509Certificate> certificateChain = createCredential(store, "test"); in deleteCredential() local
466 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in deleteCredential()
[all …]
DUtil.java463 @Nullable Collection<X509Certificate> certificateChain) in coseSign1Sign() argument
494 if (certificateChain != null && certificateChain.size() > 0) { in coseSign1Sign()
495 if (certificateChain.size() == 1) { in coseSign1Sign()
496 X509Certificate cert = certificateChain.iterator().next(); in coseSign1Sign()
501 for (X509Certificate cert : certificateChain) { in coseSign1Sign()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1708 Certificate[] certificateChain) throws Exception { in assertUsableForTLSPeerAuthentication() argument
1712 X509Certificate[] x509CertificateChain = new X509Certificate[certificateChain.length]; in assertUsableForTLSPeerAuthentication()
1713 for (int i = 0; i < certificateChain.length; i++) { in assertUsableForTLSPeerAuthentication()
1714 x509CertificateChain[i] = (X509Certificate) certificateChain[i]; in assertUsableForTLSPeerAuthentication()
1720 "trusted", certificateChain[certificateChain.length - 1]); in assertUsableForTLSPeerAuthentication()