Home
last modified time | relevance | path

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

/tools/dexter/slicer/export/slicer/
Ddex_ir_builder.h35 const char* signature; member
37 MethodId(const char* class_descriptor, const char* method_name, const char* signature = nullptr)
38 : class_descriptor(class_descriptor), method_name(method_name), signature(signature) { in class_descriptor()
80 Proto* FindPrototype(const char* signature) const;
Dinstrumentation.h49 SLICER_CHECK(hook_method_id_.signature == nullptr); in hook_method_id_()
69 SLICER_CHECK(hook_method_id_.signature == nullptr); in ExitHook()
88 SLICER_CHECK(detour_method_id_.signature == nullptr); in DetourVirtualInvoke()
Ddex_format.h137 u1 signature[kSHA1DigestLen]; member
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java120 byte[] signature = readLengthPrefixedByteArray(nodeBytes); in readSigningCertificateLineage()
135 if (!sig.verify(signature)) { in readSigningCertificateLineage()
161 SignatureAlgorithm.findById(sigAlgorithmId), signature, flags)); in readSigningCertificateLineage()
223 byte[] prefixedSignature = encodeAsLengthPrefixedElement(node.signature); in encodeSigningCertificateNode()
260 byte[] signature, in SigningCertificateNode() argument
265 this.signature = signature; in SigningCertificateNode()
278 if (!Arrays.equals(signature, that.signature)) return false; in equals()
307 public final byte[] signature; field in V3SigningCertificateLineage.SigningCertificateNode
DV3SchemeVerifier.java309 ByteBuffer signature = getLengthPrefixedSlice(signatures); in parseSigner() local
310 int sigAlgorithmId = signature.getInt(); in parseSigner()
311 byte[] sigBytes = readLengthPrefixedByteArray(signature); in parseSigner()
344 for (ApkSigningBlockUtils.SupportedSignature signature : signaturesToVerify) { in parseSigner()
345 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in parseSigner()
368 byte[] sigBytes = signature.signature; in parseSigner()
462 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
463 sigAlgsFromSignaturesRecord.add(signature.getAlgorithmId()); in parseSigner()
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt25 fun `Loading a signature file and writing the API back out`() { in Loading a signature file and writing the API back out()
72 fun `Loading a signature file with alternate modifier order`() { in Loading a signature file with alternate modifier order()
222 fun `Loading a signature file with annotations on classes, fields, methods and parameters`() { in Loading a signature file with annotations on classes, fields, methods and parameters()
334 fun `Loading a signature file with default values`() { in Loading a signature file with default values()
DApiFileTest.kt61 fun `Basic class signature extraction`() { in Basic class signature extraction()
876 fun `Superclass signature extraction`() { in Superclass signature extraction()
1091 fun `Package with only hidden classes should be removed from signature files`() { in Package with only hidden classes should be removed from signature files()
1242 fun `Check various generics signature subtleties`() { in Check various generics signature subtleties()
2292 fun `Private API signature corner cases`() { in Private API signature corner cases()
DJava9LanguageFeaturesTest.kt56 fun `Basic class signature extraction`() { in Basic class signature extraction()
DAnnotationsMergerTest.kt177 fun `Merge signature files`() { in Merge signature files()
DSystemServiceCheckTest.kt23 fun `SystemService OK, loaded from signature file`() { in SystemService OK, loaded from signature file()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java109 Manifest signature = new Manifest(new ByteArrayInputStream(signatureEntry.read())); in signJarWithPrexistingSimpleTextFilePre18() local
110 assertEquals(3, signature.getMainAttributes().size()); in signJarWithPrexistingSimpleTextFilePre18()
111 assertEquals("1.0", signature.getMainAttributes().getValue("Signature-Version")); in signJarWithPrexistingSimpleTextFilePre18()
112 assertEquals("1.0 (Android)", signature.getMainAttributes().getValue("Created-By")); in signJarWithPrexistingSimpleTextFilePre18()
119 signature.getMainAttributes().getValue("SHA1-Digest-Manifest")); in signJarWithPrexistingSimpleTextFilePre18()
121 Attributes signAttrs = signature.getAttributes("directory/file"); in signJarWithPrexistingSimpleTextFilePre18()
167 Manifest signature = new Manifest(new ByteArrayInputStream(signatureEntry.read())); in signJarWithPrexistingSimpleTextFilePos18() local
168 assertEquals(3, signature.getMainAttributes().size()); in signJarWithPrexistingSimpleTextFilePos18()
169 assertEquals("1.0", signature.getMainAttributes().getValue("Signature-Version")); in signJarWithPrexistingSimpleTextFilePos18()
170 assertEquals("1.0 (Android)", signature.getMainAttributes().getValue("Created-By")); in signJarWithPrexistingSimpleTextFilePos18()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java263 ByteBuffer signature = ApkSigningBlockUtils.getLengthPrefixedSlice(signatures); in parseSigner() local
264 int sigAlgorithmId = signature.getInt(); in parseSigner()
265 byte[] sigBytes = ApkSigningBlockUtils.readLengthPrefixedByteArray(signature); in parseSigner()
296 for (ApkSigningBlockUtils.SupportedSignature signature : signaturesToVerify) { in parseSigner()
297 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in parseSigner()
320 byte[] sigBytes = signature.signature; in parseSigner()
399 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
400 sigAlgsFromSignaturesRecord.add(signature.getAlgorithmId()); in parseSigner()
/tools/metalava/
DREADME.md9 * Allow extracting the API (into signature text files, into stub API files (which
40 signature files, the SDK stub files, external annotations etc.
72 signature files for the framework as doclava1.
75 we can regenerate signature files etc for older versions according to new formats
80 IntelliJ external annotations data as well as signature files containing
84 * Support for an updated signature file format:
89 * Improve the signature format such that it for example labels enums "enum"
95 comments in the signature files.)
97 * Add support for writing (and reading) annotations into the signature
104 contract, the signature files would very quickly become bloated with
[all …]
/tools/dexter/slicer/
Ddex_ir_builder.cc27 && method_decl->prototype->Signature() == signature; in Match()
39 auto ir_prototype = FindPrototype(method_id.signature); in FindMethod()
52 Proto* Builder::FindPrototype(const char* signature) const { in FindPrototype()
53 return dex_ir_->prototypes_lookup.Lookup(signature); in FindPrototype()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java909 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignaturesOverData() local
910 signature.initSign(signerConfig.privateKey); in generateSignaturesOverData()
912 signature.setParameter(jcaSignatureAlgorithmParams); in generateSignaturesOverData()
914 signature.update(data); in generateSignaturesOverData()
915 signatureBytes = signature.sign(); in generateSignaturesOverData()
923 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignaturesOverData() local
924 signature.initVerify(publicKey); in generateSignaturesOverData()
926 signature.setParameter(jcaSignatureAlgorithmParams); in generateSignaturesOverData()
928 signature.update(data); in generateSignaturesOverData()
929 if (!signature.verify(signatureBytes)) { in generateSignaturesOverData()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeSigner.java514 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignatureBlock() local
515 signature.initSign(signerConfig.privateKey); in generateSignatureBlock()
516 signature.update(signatureFileBytes); in generateSignatureBlock()
517 signatureBytes = signature.sign(); in generateSignatureBlock()
526 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignatureBlock() local
527 signature.initVerify(publicKey); in generateSignatureBlock()
528 signature.update(signatureFileBytes); in generateSignatureBlock()
529 if (!signature.verify(signatureBytes)) { in generateSignatureBlock()
570 signerInfo.signature = ByteBuffer.wrap(signatureBytes); in generateSignatureBlock()
DV1SchemeVerifier.java734 byte[] sigBytes = ByteBufferUtils.toByteArray(signerInfo.signature.slice()); in verifySignerInfoAgainstSigFile()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt217 fun cleanupGenerics(signature: String): String { in <lambda>()
222 return signature.replace(" extends java.lang.Object>", ">") in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignerInfo.java53 public ByteBuffer signature; field in SignerInfo
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...
/tools/apksig/
DREADME.md10 The key feature of apksig is that it knows about differences in APK signature verification logic
12 signature is expected to verify on all Android platform versions supported by the APK. When signing
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java257 byte[] signature = signatures.get(0).getSecond(); in spawnDescendant()
262 signature, childCapabilities.getFlags()); in spawnDescendant()
/tools/dexter/dexter/
Dexperimental.cc442 auto signature = decl->prototype->Signature(); in StressFindMethod() local
444 ir::MethodId method_id(class_descriptor->c_str(), decl->name->c_str(), signature.c_str()); in StressFindMethod()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt62 --v1-signer-name Basename for files comprising the JAR signature scheme
63 (aka v1 scheme) signature of this signer. By default,