Home
last modified time | relevance | path

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

/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationTest.java212 private void verifyCertificateSignatures(Certificate[] certChain) in verifyCertificateSignatures() argument
215 for (Certificate cert : certChain) { in verifyCertificateSignatures()
221 for (int i = 1; i < certChain.length; ++i) { in verifyCertificateSignatures()
222 PublicKey pubKey = certChain[i].getPublicKey(); in verifyCertificateSignatures()
224 certChain[i - 1].verify(pubKey); in verifyCertificateSignatures()
228 + certChain[i - 1] + " with public key " + certChain[i].getPublicKey(), e); in verifyCertificateSignatures()
230 if (i == certChain.length - 1) { in verifyCertificateSignatures()
233 certChain[i].verify(pubKey); in verifyCertificateSignatures()
236 "Root cert " + certChain[i] + " is not correctly self-signed", e); in verifyCertificateSignatures()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java338 Certificate[] certChain = ks.getCertificateChain(keyAlias); in loadPrivateKeyAndCertsFromKeyStore() local
339 if ((certChain == null) || (certChain.length == 0)) { in loadPrivateKeyAndCertsFromKeyStore()
343 this.certs = new ArrayList<>(certChain.length); in loadPrivateKeyAndCertsFromKeyStore()
344 for (Certificate cert : certChain) { in loadPrivateKeyAndCertsFromKeyStore()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java591 mResult.certChain.clear(); in verifySigBlockAgainstSigFile()
592 mResult.certChain.addAll(signingCertChain); in verifySigBlockAgainstSigFile()
1476 public final List<X509Certificate> certChain = new ArrayList<>(); field in V1SchemeVerifier.Result.SignerInfo
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java1430 mCertChain = result.certChain; in V1SchemeSignerInfo()