/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
DSAKCalculator.java | 1 package org.bouncycastle.crypto.signers;
|
RandomDSAKCalculator.java | 1 package org.bouncycastle.crypto.signers;
|
DSASigner.java | 1 package org.bouncycastle.crypto.signers;
|
RSADigestSigner.java | 1 package org.bouncycastle.crypto.signers;
|
ECDSASigner.java | 1 package org.bouncycastle.crypto.signers;
|
/libcore/ojluni/src/main/java/java/util/jar/ |
JarEntry.java | 40 CodeSigner[] signers; field in class:JarEntry 75 this.signers = je.signers; 118 * <p>The returned array comprises all the code signers that have signed 127 return signers == null ? null : signers.clone();
|
/libcore/ojluni/src/main/java/sun/security/util/ |
SignatureFileVerifier.java | 253 * and adds code signers for each section where the .SF section 258 public void process(Hashtable<String, CodeSigner[]> signers, 268 processImpl(signers, manifestDigests); 275 private void processImpl(Hashtable<String, CodeSigner[]> signers, 333 updateSigners(newSigners, signers, name); 345 updateSigners(newSigners, signers, JarFile.MANIFEST_NAME); 548 ArrayList<CodeSigner> signers = null; local 555 if (signers == null) { 556 signers = new ArrayList<CodeSigner>(); 559 signers.add(new CodeSigner(certChain, info.getTimestamp())) [all...] |
ManifestEntryVerifier.java | 73 private CodeSigner[] signers = null; field in class:ManifestEntryVerifier 101 signers = null; 188 * code signers from sigFileSigners and place in verifiedSigners. 200 if (signers != null) 201 return signers; 223 signers = sigFileSigners.remove(name); 224 if (signers != null) { 225 verifiedSigners.put(name, signers); 227 return signers;
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedData.java | 45 * SignerInformationStore signers = s.getSignerInfos(); 46 * Collection c = signers.getSigners(); 239 * return the collection of signers that are associated with the 286 * @return true if the message has no signers or content, false otherwise. 415 // Collection signers = this.getSignerInfos().getSigners(); 417 // for (Iterator it = signers.iterator(); it.hasNext();) 500 // replace the signers in the SignedData object 514 ASN1Set signers = new DERSet(vec); local 520 // signers are the last item in the sequence. 530 vec.add(signers); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
DSASigner.java | 42 // import org.bouncycastle.crypto.signers.HMacDSAKCalculator; 242 super(AndroidDigestFactory.getSHA1(), new org.bouncycastle.crypto.signers.DSASigner()); 253 // super(DigestFactory.createSHA1(), new org.bouncycastle.crypto.signers.DSASigner(new HMacDSAKCalculator(DigestFactory.createSHA1()))); 263 super(AndroidDigestFactory.getSHA224(), new org.bouncycastle.crypto.signers.DSASigner()); 274 // super(DigestFactory.createSHA224(), new org.bouncycastle.crypto.signers.DSASigner(new HMacDSAKCalculator(DigestFactory.createSHA224()))); 284 super(AndroidDigestFactory.getSHA256(), new org.bouncycastle.crypto.signers.DSASigner()); 294 // super(DigestFactory.createSHA256(), new org.bouncycastle.crypto.signers.DSASigner(new HMacDSAKCalculator(DigestFactory.createSHA256()))); 303 // super(DigestFactory.createSHA384(), new org.bouncycastle.crypto.signers.DSASigner()); 312 // super(DigestFactory.createSHA384(), new org.bouncycastle.crypto.signers.DSASigner(new HMacDSAKCalculator(DigestFactory.createSHA384()))); 321 // super(DigestFactory.createSHA512(), new org.bouncycastle.crypto.signers.DSASigner()) [all...] |
/tools/apksig/src/test/java/com/android/apksig/ |
ApkSignerTest.java | 267 List<ApkSigner.SignerConfig> signers = local 272 DataSource out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); 276 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(18)); 285 List<ApkSigner.SignerConfig> signers = local 290 DataSource out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); 294 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(21)); 303 List<ApkSigner.SignerConfig> signers = local 309 DataSource out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(18)); 320 List<ApkSigner.SignerConfig> signers = local 324 new ApkSigner.Builder(signers).setV1SigningEnabled(true)) 346 List<ApkSigner.SignerConfig> signers = local 357 List<ApkSigner.SignerConfig> signers = local [all...] |
ApkVerifierTest.java | 434 // APK signed by two different signers 435 assertVerified(verify("two-signers.apk")); 436 assertVerified(verify("v1-only-two-signers.apk")); 437 assertVerified(verifyForMinSdkVersion("v2-only-two-signers.apk", AndroidSdkVersion.N)); 442 // Bitflip in the ECDSA signature of second signer. Based on two-signers.apk. 445 "two-signers-second-signer-v2-broken.apk", Issue.V2_SIG_DID_NOT_VERIFY); 450 // APK v2-signed by two different signers. However, there are no signatures for the second 453 "v2-only-two-signers-second-signer-no-sig.apk", Issue.V2_SIG_NO_SIGNATURES); 458 // APK v2-signed by two different signers. However, there are no supported signatures for 461 "v2-only-two-signers-second-signer-no-supported-sig.apk" 502 List<ApkVerifier.Result.V1SchemeSignerInfo> signers = result.getV1SchemeSigners(); local [all...] |
/libcore/ojluni/src/main/java/java/net/ |
URLClassLoader.java | 456 CodeSigner[] signers = res.getCodeSigners(); local 457 CodeSource cs = new CodeSource(url, signers); 462 CodeSigner[] signers = res.getCodeSigners(); local 463 CodeSource cs = new CodeSource(url, signers);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
JarFileTest.java | 684 public CodeSigner[] signers; field in class:JarFileTest.Results 702 CodeSigner[] signers = entry.getCodeSigners(); local 705 results.signers = signers; 720 assertEquals(Arrays.deepToString(result.signers), 1, result.signers.length); 721 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()); 731 assertEquals(Arrays.deepToString(result.signers), 1, result.signers.length); 732 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()) [all...] |
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
ApkSignerTool.java | 125 List<SignerParams> signers = new ArrayList<>(1); local 152 signers.add(signerParams); 217 signers.add(signerParams); 225 if (signers.isEmpty()) { 259 List<ApkSigner.SignerConfig> signerConfigs = new ArrayList<>(signers.size()); 262 for (SignerParams signer : signers) { 451 System.out.println("Number of signers: " + signerCerts.size()); [all...] |
/frameworks/base/core/java/android/util/apk/ |
ApkSignatureSchemeV2Verifier.java | 214 ByteBuffer signers; local 216 signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); 218 throw new SecurityException("Failed to read list of signers", e); 220 while (signers.hasRemaining()) { 223 ByteBuffer signer = getLengthPrefixedSlice(signers); 234 throw new SecurityException("No signers found"); [all...] |
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
V2SchemeVerifier.java | 142 ByteBuffer signers; local 144 signers = getLengthPrefixedSlice(apkSignatureSchemeV2Block); 149 if (!signers.hasRemaining()) { 161 while (signers.hasRemaining()) { 166 result.signers.add(signerInfo); 168 ByteBuffer signer = getLengthPrefixedSlice(signers); 489 for (Result.SignerInfo signerInfo : result.signers) { 818 public final List<SignerInfo> signers = new ArrayList<>(); field in class:V2SchemeVerifier.Result [all...] |
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
V1SchemeVerifier.java | 121 Signers.verify( 159 * All JAR signers of an APK. 161 private static class Signers { 165 * with errors, warnings, and information about signers. The APK is considered verified if 245 // Identify signers 246 List<Signer> signers = new ArrayList<>(sigBlockEntries.size()); local 268 signers.add(signer); 270 if (signers.isEmpty()) { 278 for (Signer signer : signers) { 282 result.signers.add(signer.getResult()) 1935 public final List<SignerInfo> signers = new ArrayList<>(); field in class:V1SchemeVerifier.Result [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/apksig/2.3.0/ |
apksig-2.3.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/apksig/2.3.0-alpha1/ |
apksig-2.3.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/apksig/2.3.0-beta1/ |
apksig-2.3.0-beta1.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/apksig/2.3.0-beta2/ |
apksig-2.3.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/apksig/2.3.0-beta3/ |
apksig-2.3.0-beta3.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/apksig/2.3.0-beta4/ |
apksig-2.3.0-beta4.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/apksig/2.3.1/ |
apksig-2.3.1.jar | |