/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeSigner.java | 194 if (signerConfig.certificates.isEmpty()) { in generateSignerBlock() 197 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock() 203 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock() 242 encodeAsSequenceOfLengthPrefixedElements(signedData.certificates), in generateSignerBlock() 296 public List<byte[]> certificates; field in V2SchemeSigner.V2SignatureSchemeBlock.SignedData
|
D | V2SchemeVerifier.java | 341 ByteBuffer certificates = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner() local 346 while (certificates.hasRemaining()) { in parseSigner() 348 byte[] encodedCert = ApkSigningBlockUtils.readLengthPrefixedByteArray(certificates); in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 175 if (signerConfig.certificates.isEmpty()) { in generateSignerBlock() 178 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock() 184 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock() 258 encodeAsSequenceOfLengthPrefixedElements(signedData.certificates)); in encodeSignedData() 307 public List<byte[]> certificates; field in V3SchemeSigner.V3SignatureSchemeBlock.SignedData
|
D | V3SchemeVerifier.java | 389 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in parseSigner() local 409 while (certificates.hasRemaining()) { in parseSigner() 411 byte[] encodedCert = readLengthPrefixedByteArray(certificates); in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | V1SourceStampSigner.java | 60 if (sourceStampSignerConfig.certificates.isEmpty()) { in generateSourceStampBlock() 74 sourceStampSignerConfig.certificates.get(0).getEncoded(); in generateSourceStampBlock()
|
D | V2SourceStampSigner.java | 63 if (sourceStampSignerConfig.certificates.isEmpty()) { in generateSourceStampBlock() 90 sourceStampSignerConfig.certificates.get(0).getEncoded(); in generateSourceStampBlock()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | DefaultApkSignerEngine.java | 230 List<X509Certificate> certificates = signerConfig.getCertificates(); in createV1SignerConfigs() local 231 PublicKey publicKey = certificates.get(0).getPublicKey(); in createV1SignerConfigs() 252 v1SignerConfig.certificates = certificates; in createV1SignerConfigs() 327 String keyAlgorithm = config.certificates.get(0).getPublicKey().getAlgorithm(); in createV3SignerConfigs() 347 mSigningCertificateLineage.getSubLineage(config.certificates.get(0)); in createV3SignerConfigs() 418 List<X509Certificate> certificates = signerConfig.getCertificates(); in createSigningBlockSignerConfig() local 419 PublicKey publicKey = certificates.get(0).getPublicKey(); in createSigningBlockSignerConfig() 423 newSignerConfig.certificates = certificates; in createSigningBlockSignerConfig() 1414 String name, PrivateKey privateKey, List<X509Certificate> certificates) { in SignerConfig() argument 1417 mCertificates = Collections.unmodifiableList(new ArrayList<>(certificates)); in SignerConfig() [all …]
|
D | SigningCertificateLineage.java | 364 List<X509Certificate> certificates = new ArrayList<>(1); in spawnDescendant() local 365 certificates.add(parent.getCertificate()); in spawnDescendant() 369 newSignerConfig.certificates = certificates; in spawnDescendant()
|
D | ApkSigner.java | 952 String name, PrivateKey privateKey, List<X509Certificate> certificates) { in SignerConfig() argument 955 mCertificates = Collections.unmodifiableList(new ArrayList<>(certificates)); in SignerConfig() 991 public Builder(String name, PrivateKey privateKey, List<X509Certificate> certificates) { in Builder() argument 997 mCertificates = new ArrayList<>(certificates); in Builder()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4SchemeSigner.java | 158 if (signerConfig.certificates.isEmpty()) { in generateSignature() 161 if (signerConfig.certificates.size() != 1) { in generateSignature() 166 final PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignature() 168 final List<byte[]> encodedCertificates = encodeCertificates(signerConfig.certificates); in generateSignature()
|
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | SignedData.java | 47 public List<Asn1OpaqueObject> certificates; field in SignedData
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 88 public List<X509Certificate> certificates; field in V1SchemeSigner.SignerConfig 299 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in signManifest() 318 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in getOutputEntryNames() 495 List<X509Certificate> signerCerts = signerConfig.certificates; in generateSignatureBlock()
|
D | V1SchemeVerifier.java | 528 signedDataCertificates = parseCertificates(signedData.certificates); in verifySigBlockAgainstSigFile()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_verify.txt | 12 --print-certs Show information about the APK's signing certificates
|
D | help_lineage.txt | 12 different signing certificates. 19 --print-certs Show information about the signing certificates and their capabilities 183 2. Display details about the signing certificates and their capabilities in the lineage:
|
D | help_rotate.txt | 11 different signing certificates. This can be used with APK Signature Scheme v3
|
D | help_sign.txt | 76 signing certificates changed for an APK using APK
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 913 public static List<byte[]> encodeCertificates(List<X509Certificate> certificates) in encodeCertificates() argument 915 List<byte[]> result = new ArrayList<>(certificates.size()); in encodeCertificates() 916 for (X509Certificate certificate : certificates) { in encodeCertificates() 1254 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignaturesOverData() 1336 signedData.certificates = new ArrayList<>(signerCerts.size()); in generatePkcs7DerEncodedMessage() 1338 signedData.certificates.add(new Asn1OpaqueObject(cert.getEncoded())); in generatePkcs7DerEncodedMessage() 1377 public List<X509Certificate> certificates; field in ApkSigningBlockUtils.SignerConfig
|
/tools/tradefederation/core/tests/res/testdata/ |
D | tradefed-prebuilt-cts-8.0_r21.jar | META-INF/
META-INF/MANIFEST.MF
jline/
jline/CompletionHandler.class
CompletionHandler ... |