Home
last modified time | relevance | path

Searched refs:certs (Results 1 – 18 of 18) sorted by relevance

/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java70 private List<X509Certificate> certs; field in SignerParams
147 return certs; in getCerts()
169 && (certs == null); in isEmpty()
334 this.certs = new ArrayList<>(certChain.length); in loadPrivateKeyAndCertsFromKeyStore()
336 this.certs.add((X509Certificate) cert); in loadPrivateKeyAndCertsFromKeyStore()
434 Collection<? extends Certificate> certs; in loadPrivateKeyAndCertsFromFiles() local
436 certs = X509CertificateUtils.generateCertificates(in); in loadPrivateKeyAndCertsFromFiles()
438 List<X509Certificate> certList = new ArrayList<>(certs.size()); in loadPrivateKeyAndCertsFromFiles()
439 for (Certificate cert : certs) { in loadPrivateKeyAndCertsFromFiles()
442 this.certs = certList; in loadPrivateKeyAndCertsFromFiles()
Dhelp_verify.txt12 --print-certs Show information about the APK's signing certificates
Dhelp_lineage.txt19 --print-certs Show information about the signing certificates and their capabilities
184 $ apksigner lineage --in /path/to/existing/lineage --print-certs -v
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java74 Collection<? extends Certificate> certs; in toCertificateChain() local
79 certs = X509CertificateUtils.generateCertificates(in); in toCertificateChain()
81 List<X509Certificate> result = new ArrayList<>(certs.size()); in toCertificateChain()
82 for (Certificate cert : certs) { in toCertificateChain()
DX509CertificateUtilsTest.java176 Collection<? extends Certificate> certs = X509CertificateUtils.generateCertificates(in); in getHexEncodedDigestsOfCertsFromResources() local
177 List<String> encodedCerts = new ArrayList<>(certs.size()); in getHexEncodedDigestsOfCertsFromResources()
178 for (Certificate cert : certs) { in getHexEncodedDigestsOfCertsFromResources()
/tools/apksig/src/main/java/com/android/apksig/internal/x509/
DCertificate.java56 Collection<X509Certificate> certs, SignerIdentifier id) { in findCertificate() argument
57 for (X509Certificate cert : certs) { in findCertificate()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java256 byte[] certs = in encodeSignedData()
274 int payloadSize = digests.length + certs.length + 4 + 4 + attributes.length; in encodeSignedData()
279 result.put(certs); in encodeSignedData()
DV3SchemeVerifier.java428 result.certs.add(certificate); in parseSigner()
431 if (result.certs.isEmpty()) { in parseSigner()
435 X509Certificate mainCertificate = result.certs.get(0); in parseSigner()
504 result.signingCertificateLineage.getSubLineage(result.certs.get(0)); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java365 result.certs.add(certificate); in parseSigner()
368 if (result.certs.isEmpty()) { in parseSigner()
372 X509Certificate mainCertificate = result.certs.get(0); in parseSigner()
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java313 List<X509Certificate> certs = lineage.getCertificatesInLineage(); in testAllExpectedCertificatesAreInLineage() local
317 expectedCertSet.size(), certs.size()); in testAllExpectedCertificatesAreInLineage()
318 for (X509Certificate cert : certs) { in testAllExpectedCertificatesAreInLineage()
DApkSignerTest.java1362 List<X509Certificate> certs = in getDefaultSignerConfigFromResources() local
1364 return new ApkSigner.SignerConfig.Builder(keyNameInResources, privateKey, certs).build(); in getDefaultSignerConfigFromResources()
1371 List<X509Certificate> certs = in getDefaultSignerConfigFromResources() local
1373 return new ApkSigner.SignerConfig.Builder(keyNameInResources, privateKey, certs).build(); in getDefaultSignerConfigFromResources()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java603 List<X509Certificate> certs = new ArrayList<>(); in getCertificatesInLineage() local
606 certs.add(cert); in getCertificatesInLineage()
608 return certs; in getCertificatesInLineage()
DApkVerifier.java1141 mCerts = result.certs; in V2SchemeSignerInfo()
1210 mCerts = result.certs; in V3SchemeSignerInfo()
1276 mCerts = result.certs; in V4SchemeSignerInfo()
1337 mCertificates = result.certs; in SourceStampInfo()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java172 result.certs.add(sourceStampCertificate); in verifySourceStampCertificate()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java192 result.certs.add(certificate); in parseAndVerifySignatureBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java774 List<X509Certificate> certs, X509Certificate leaf) { in getCertificateChain() argument
775 List<X509Certificate> unusedCerts = new ArrayList<>(certs); in getCertificateChain()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java1450 public List<X509Certificate> certs = new ArrayList<>(); field in ApkSigningBlockUtils.Result.SignerInfo
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...