Home
last modified time | relevance | path

Searched refs:signatures (Results 1 – 25 of 27) sorted by relevance

12

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java258 ByteBuffer signatures = ApkSigningBlockUtils.getLengthPrefixedSlice(signerBlock); in parseSigner() local
264 while (signatures.hasRemaining()) { in parseSigner()
267 ByteBuffer signature = ApkSigningBlockUtils.getLengthPrefixedSlice(signatures); in parseSigner()
270 result.signatures.add( in parseSigner()
285 if (result.signatures.isEmpty()) { in parseSigner()
407 List<Integer> sigAlgsFromSignaturesRecord = new ArrayList<>(result.signatures.size()); in parseSigner()
408 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
DV2SchemeSigner.java240 signer.signatures = new ArrayList<>(); in generateSignerBlock()
241 signer.signatures = in generateSignerBlock()
254 signer.signatures), in generateSignerBlock()
283 public List<Pair<Integer, byte[]>> signatures; field in V2SchemeSigner.V2SignatureSchemeBlock.Signer
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java303 ByteBuffer signatures = getLengthPrefixedSlice(signerBlock); in parseSigner() local
309 while (signatures.hasRemaining()) { in parseSigner()
312 ByteBuffer signature = getLengthPrefixedSlice(signatures); in parseSigner()
315 result.signatures.add( in parseSigner()
332 if (result.signatures.isEmpty()) { in parseSigner()
468 List<Integer> sigAlgsFromSignaturesRecord = new ArrayList<>(result.signatures.size()); in parseSigner()
469 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
DV3SchemeSigner.java216 signer.signatures = in generateSignerBlock()
225 byte[] signatures = in encodeSigner()
228 signer.signatures)); in encodeSigner()
243 + signatures.length in encodeSigner()
251 result.put(signatures); in encodeSigner()
312 public List<Pair<Integer, byte[]>> signatures; field in V3SchemeSigner.V3SignatureSchemeBlock.Signer
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_verify.txt16 --min-sdk-version Lowest API Level on which this APK's signatures will be
20 --max-sdk-version Highest API Level on which this APK's signatures will be
33 1. Check whether the APK's signatures are expected to verify on all Android
37 2. Check whether the APK's signatures are expected to verify on Android
Dhelp_sign.txt3 This signs the provided APK, stripping out any pre-existing signatures. Signing
43 --min-sdk-version Lowest API Level on which this APK's signatures will be
48 --max-sdk-version Highest API Level on which this APK's signatures will be
Dhelp.txt10 signatures of APK files will verify on Android devices.
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java1114 List<SupportedSignature> signatures, int minSdkVersion, int maxSdkVersion) in getSignaturesToVerify() argument
1126 for (SupportedSignature sig : signatures) { in getSignaturesToVerify()
1187 List<Pair<Integer, byte[]>> signatures = in generateSignaturesOverData() local
1232 signatures.add(Pair.of(signatureAlgorithm.getId(), signatureBytes)); in generateSignaturesOverData()
1234 return signatures; in generateSignaturesOverData()
1310 public List<Signature> signatures = new ArrayList<>(); field in ApkSigningBlockUtils.Result.SignerInfo
/tools/metalava/src/test/java/com/android/tools/metalava/
DExtractAnnotationsTest.kt514 fun `No typedef signatures in api files`() { in No typedef signatures in api files()
550 fun `Inlining typedef signatures in api files`() { in Inlining typedef signatures in api files()
586 fun `Referencing typedef signatures in api files`() { in Referencing typedef signatures in api files()
DCompatibilityCheckTest.kt2414 fun `Compare signatures with Kotlin nullability from signature`() { in Compare signatures with Kotlin nullability from signature()
2449 fun `Compare signatures with Kotlin nullability from source`() { in Compare signatures with Kotlin nullability from source()
DDriverTest.kt1016 for ((artifactId, signatures) in artifacts) { in <lambda>() variable
1018 signatureFile.writeText(signatures.trimIndent()) in <lambda>()
DConvertTest.kt587 fun `Test convert new to v1 signatures with compat mode and no strip`() { in Test convert new to v1 signatures with compat mode and no strip()
DNullnessMigrationTest.kt24 fun `Test Kotlin-style null signatures`() { in Test Kotlin-style null signatures()
DApiFromTextTest.kt158 fun `Annotation signatures requiring more complicated token matching`() { in Annotation signatures requiring more complicated token matching()
DApiFileTest.kt526 fun `Nullness in reified signatures`() { in Nullness in reified signatures()
/tools/metalava/
DFORMAT.md483 ### Skipping some signatures
485 If a method overrides another method, and the signatures are the same, the
511 The Android source tree also has checked in versions of the signatures for all
516 $ metalava --write-android-jar-signatures *<android source dir>* --format=v3
DREADME.md172 same signatures as in the signature files.
175 StringBuilder.setLength(int) was missing from the API signatures since it is a
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java373 List<Pair<Integer, byte[]>> signatures = in spawnDescendant() local
377 SignatureAlgorithm sigAlgorithm = SignatureAlgorithm.findById(signatures.get(0).getFirst()); in spawnDescendant()
378 byte[] signature = signatures.get(0).getSecond(); in spawnDescendant()
/tools/apksig/
DAndroid.bp17 // apksig library, for signing APKs and verifying signatures of APKs
25 // apksigner command-line tool for signing APKs and verifying their signatures
DREADME.md3 apksig is a project which aims to simplify APK signing and checking whether APK signatures are
46 * check whether the provided APK's signatures are expected to verify on all Android platforms
Dandroid_plugin_for_gradle.gradle14 project.ext.pomDesc = 'Library for signing APKs and for checking that APK signatures verify on Andr…
/tools/repohooks/tools/
Dcheckpatch.pl2274 my %signatures = ();
2584 if (defined $signatures{$sig_nospace}) {
2588 $signatures{$sig_nospace} = 1;
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto456 // all method signatures remain the same. Furthermore, thread-safety of the
/tools/dexter/testdata/expected/
Dlarge.rewrite493095 169| iput-object v1, v6, android.content.pm.PackageInfo.signatures
493339 117| iget-object v0, v6, android.content.pm.PackageInfo.signatures
496332 …, "splitName", "versionCode", "revisionCode", "installLocation", "?", "signatures", "certificates"…
496360 29| iput-object v9, v1, android.content.pm.PackageParser$ApkLite.signatures
497444 .params "signatures"
498920 .local v20, "signatures", android.content.pm.Signature[]
498938 .local v20, "signatures", android.content.pm.Signature[]
498998 .local v20, "signatures", android.content.pm.Signature[]
500695 942| iput-object v0, v10, android.content.pm.PackageInfo.signatures
500700 950| iget-object v0, v10, android.content.pm.PackageInfo.signatures
[all …]
Dlarge.compact_cfg602635 169| iput-object v1, v6, android.content.pm.PackageInfo.signatures
602915 117| iget-object v0, v6, android.content.pm.PackageInfo.signatures
606479 …, "splitName", "versionCode", "revisionCode", "installLocation", "?", "signatures", "certificates"…
606507 29| iput-object v9, v1, android.content.pm.PackageParser$ApkLite.signatures
607867 .params "signatures"
609579 .local v20, "signatures", android.content.pm.Signature[]
609599 .local v20, "signatures", android.content.pm.Signature[]
609671 .local v20, "signatures", android.content.pm.Signature[]
611776 934| iput-object v0, v10, android.content.pm.PackageInfo.signatures
611781 942| iget-object v0, v10, android.content.pm.PackageInfo.signatures
[all …]

12