Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 17 of 17) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampCertificateLineage.java110 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in readSigningCertificateLineage() local
111 sig.initVerify(publicKey); in readSigningCertificateLineage()
113 sig.setParameter(jcaSignatureAlgorithmParams); in readSigningCertificateLineage()
115 sig.update(signedData); in readSigningCertificateLineage()
116 if (!sig.verify(signature)) { in readSigningCertificateLineage()
DSourceStampVerifier.java286 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySourceStampSignature() local
287 sig.initVerify(publicKey); in verifySourceStampSignature()
289 sig.setParameter(jcaSignatureAlgorithmParams); in verifySourceStampSignature()
291 sig.update(data); in verifySourceStampSignature()
293 if (!sig.verify(sigBytes)) { in verifySourceStampSignature()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Dshell.py218 for sig in signal_queue:
221 self.signal(pid, sig)
233 def signal(self, pid, sig): argument
244 self.run('kill -%d %d' % (sig, pid))
/tools/netsim/src/util/
Dcrash_report.cc83 void SignalHandler(int sig) {
90 sig, size);
92 exit(sig);
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java123 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in readSigningCertificateLineage() local
124 sig.initVerify(publicKey); in readSigningCertificateLineage()
126 sig.setParameter(jcaSignatureAlgorithmParams); in readSigningCertificateLineage()
128 sig.update(signedData); in readSigningCertificateLineage()
129 if (!sig.verify(signature)) { in readSigningCertificateLineage()
DV3SchemeVerifier.java422 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in parseSigner() local
423 sig.initVerify(publicKey); in parseSigner()
425 sig.setParameter(jcaSignatureAlgorithmParams); in parseSigner()
428 sig.update(signedData); in parseSigner()
430 if (!sig.verify(sigBytes)) { in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java174 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in parseAndVerifySignatureBlock() local
175 sig.initVerify(publicKey); in parseAndVerifySignatureBlock()
177 sig.setParameter(jcaSignatureAlgorithmParams); in parseAndVerifySignatureBlock()
179 sig.update(signedData); in parseAndVerifySignatureBlock()
180 if (!sig.verify(sigBytes)) { in parseAndVerifySignatureBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java318 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in parseSigner() local
319 sig.initVerify(publicKey); in parseSigner()
321 sig.setParameter(jcaSignatureAlgorithmParams); in parseSigner()
324 sig.update(signedData); in parseSigner()
326 if (!sig.verify(sigBytes)) { in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtilsLite.java181 for (T sig : signatures) { in getSignaturesToVerify()
182 SignatureAlgorithm sigAlgorithm = sig.algorithm; in getSignaturesToVerify()
196 bestSigAlgorithmOnSdkVersion.put(sigMinSdkVersion, sig); in getSignaturesToVerify()
/tools/test/connectivity/acts/framework/acts/libs/proc/
Dprocess.py189 def signal(self, sig): argument
199 os.killpg(pgid, sig)
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java105 for (byte[] sig : signatureDigests) { in toString()
107 for (byte b : sig) { in toString()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLegacySubprocessResultsReporter.java56 public void handle(Signal sig) {
59 String.format("Received signal %s. Shutting down...", sig.getName()));
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandRunner.java136 public void handle(Signal sig) { in run()
140 "Received signal %s. Shutting down.", sig.getName())); in run()
DConsole.java275 public void handle(Signal sig) { in registerShutdownSignals()
278 String.format("Received signal %s. Quit.", sig.getName())); in registerShutdownSignals()
286 public void handle(Signal sig) { in registerShutdownSignals()
289 String.format("Received signal %s. Kill.", sig.getName())); in registerShutdownSignals()
/tools/tradefederation/core/res/perfetto/
Drecord_android_trace617 sig = 'TERM' if ctrl_c_count == 0 else 'KILL'
619 prt('Stopping the trace (SIG%s)' % sig, ANSI.BLACK + ANSI.BG_YELLOW)
620 adb('shell', 'kill -%s %s' % (sig, bg_pid)).wait()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandboxRunner.java137 public void handle(Signal sig) { in run()
141 "Received signal %s. Shutting down.", sig.getName())); in run()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DStoredEntry.java511 long sig = signatureField.read(ddBytes); in readDataDescriptorRecord() local
512 if (sig == DATA_DESC_SIGNATURE) { in readDataDescriptorRecord()