/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | SignerParams.java | 70 private List<X509Certificate> certs; field in SignerParams 147 return certs; in getCerts() 169 && (certs == null); in isEmpty() 343 this.certs = new ArrayList<>(certChain.length); in loadPrivateKeyAndCertsFromKeyStore() 345 this.certs.add((X509Certificate) cert); in loadPrivateKeyAndCertsFromKeyStore() 443 Collection<? extends Certificate> certs; in loadPrivateKeyAndCertsFromFiles() local 445 certs = X509CertificateUtils.generateCertificates(in); in loadPrivateKeyAndCertsFromFiles() 447 List<X509Certificate> certList = new ArrayList<>(certs.size()); in loadPrivateKeyAndCertsFromFiles() 448 for (Certificate cert : certs) { in loadPrivateKeyAndCertsFromFiles() 451 this.certs = certList; in loadPrivateKeyAndCertsFromFiles()
|
D | help_verify.txt | 12 --print-certs Show information about the APK's signing certificates 14 --print-certs-pem Show information about the APK's signing certificates and prints the PEM
|
D | help_lineage.txt | 19 --print-certs Show information about the signing certificates and their capabilities 22 --print-certs-pem Show information about the signing certificates and their capabilities 188 $ apksigner lineage --in /path/to/existing/lineage --print-certs -v
|
/tools/security/remote_provisioning/cert_validator/src/ |
D | bcc_main.rs | 40 if let Some(certs) = sub_args.values_of("certs") { in main() 41 let certs: Vec<_> = certs.collect(); in main() localVariable 42 return bcc::entry::check_sign1_cert_chain(&certs); in main()
|
D | bcc.rs | 125 pub fn check_sign1_cert_chain(certs: &[&str]) -> Result<()> { in check_sign1_cert_chain() 126 ensure!(!certs.is_empty()); in check_sign1_cert_chain() 127 let mut payload = Payload::from_sign1(&read(certs[0])?) in check_sign1_cert_chain() 129 for item in certs.iter().skip(1) { in check_sign1_cert_chain()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | Resources.java | 74 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()
|
D | X509CertificateUtilsTest.java | 176 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/ |
D | Certificate.java | 56 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/ |
D | V3SchemeVerifier.java | 481 result.certs.add(certificate); in parseSigner() 484 if (result.certs.isEmpty()) { in parseSigner() 488 X509Certificate mainCertificate = result.certs.get(0); in parseSigner() 558 result.signingCertificateLineage.getSubLineage(result.certs.get(0)); in parseSigner()
|
D | V3SchemeSigner.java | 349 byte[] certs = in encodeSignedData() 367 int payloadSize = digests.length + certs.length + 4 + 4 + attributes.length; in encodeSignedData() 372 result.put(certs); in encodeSignedData()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 366 result.certs.add(certificate); in parseSigner() 369 if (result.certs.isEmpty()) { in parseSigner() 373 X509Certificate mainCertificate = result.certs.get(0); in parseSigner()
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | SigningCertificateLineageTest.java | 338 List<X509Certificate> certs = lineage.getCertificatesInLineage(); in testAllExpectedCertificatesAreInLineage() local 342 expectedCertSet.size(), certs.size()); in testAllExpectedCertificatesAreInLineage() 343 for (X509Certificate cert : certs) { in testAllExpectedCertificatesAreInLineage()
|
D | ApkSignerTest.java | 2458 List<X509Certificate> certs = in getDefaultSignerConfigFromResources() local 2460 return new ApkSigner.SignerConfig.Builder(keyNameInResources, privateKey, certs, in getDefaultSignerConfigFromResources() 2468 List<X509Certificate> certs = in getDefaultSignerConfigFromResources() local 2470 return new ApkSigner.SignerConfig.Builder(keyNameInResources, privateKey, certs).build(); in getDefaultSignerConfigFromResources()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 623 List<X509Certificate> certs = new ArrayList<>(); in getCertificatesInLineage() local 626 certs.add(cert); in getCertificatesInLineage() 628 return certs; in getCertificatesInLineage()
|
D | ApkVerifier.java | 1522 mCerts = result.certs; in V2SchemeSignerInfo() 1594 mCerts = result.certs; in V3SchemeSignerInfo() 1692 mCerts = result.certs; in V4SchemeSignerInfo() 1773 mCertificates = result.certs; in SourceStampInfo()
|
D | SourceStampVerifier.java | 745 mCertificates = result.certs; in SourceStampInfo()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSignerInfo.java | 31 public List<X509Certificate> certs = new ArrayList<>(); field in ApkSignerInfo
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4SchemeVerifier.java | 209 result.certs.add(certificate); in parseAndVerifySignatureBlock()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | SourceStampVerifier.java | 205 result.certs.add(sourceStampCertificate); in verifySourceStampCertificate()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 803 List<X509Certificate> certs, X509Certificate leaf) { in getCertificateChain() argument 804 List<X509Certificate> unusedCerts = new ArrayList<>(certs); in getCertificateChain()
|