/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedDataGenerator.java | 129 SignerInformation signer = (SignerInformation)it.next(); local 130 digestAlgs.add(CMSSignedHelper.INSTANCE.fixAlgID(signer.getDigestAlgorithmID())); 133 signerInfos.add(signer.toASN1Structure()); 223 * @param signer the signer to be countersigned 226 public SignerInformationStore generateCounterSigners(SignerInformation signer) 229 return this.generate(new CMSProcessableByteArray(null, signer.getSignature()), false).getSignerInfos();
|
SignerInformationStore.java | 21 * @param signerInfo the signer information to contain. 37 * @param signerInfos a collection signer information objects to contain. 46 SignerInformation signer = (SignerInformation)it.next(); local 47 SignerId sid = signer.getSID(); 56 list.add(signer); 66 * @param selector to identify a signer 100 * @param selector a signer id to select against.
|
CMSSignedData.java | 38 * matches the given signer... 48 * SignerInformation signer = (SignerInformation)it.next(); 49 * Collection certCollection = certStore.getMatches(signer.getSID()); 54 * if (signer.verify(new JcaSimpleSignerInfoVerifierBuilder().setProvider("BC").build(cert))) 416 // SignerInformation signer = (SignerInformation)it.next(); 420 // SignerInformationVerifier verifier = verifierProvider.get(signer.getSID()); 422 // if (!signer.verify(verifier)) 429 // Collection counterSigners = signer.getCounterSignatures().getSigners(); 476 * attributes associated with a signer, or perhaps delete one. 479 * @param signerInformationStore the new signer information store to use 505 SignerInformation signer = (SignerInformation)it.next(); local [all...] |
SignerInfoGenerator.java | 33 private final ContentSigner signer; field in class:SignerInfoGenerator 43 ContentSigner signer, 48 this(signerIdentifier, signer, digesterProvider, sigEncAlgFinder, false); 53 ContentSigner signer, 60 this.signer = signer; 64 this.digester = digesterProvider.get(digAlgFinder.find(signer.getAlgorithmIdentifier())); 91 this.signer = original.signer; 100 ContentSigner signer, [all...] |
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
MediaDrmSigner.java | 17 package com.android.mediadrm.signer;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
DSABase.java | 18 protected DSA signer; field in class:DSABase 23 DSA signer, 27 this.signer = signer; 56 BigInteger[] sig = signer.generateSignature(hash); 85 return signer.verifySignature(hash, sig[0], sig[1]);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
DSASigner.java | 50 private DSA signer; field in class:DSASigner 55 DSA signer) 58 this.signer = signer; 85 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 90 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 95 signer.init(false, param); 125 signer.init(true, param); 153 BigInteger[] sig = signer.generateSignature(hash); 182 return signer.verifySignature(hash, sig[0], sig[1]) [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
SignatureBenchmark.java | 83 Signature signer = Signature.getInstance(signatureAlgorithm); local 84 signer.initSign(keyPair.getPrivate()); 85 signer.update(DATA); 86 this.signature = signer.sign(); 93 Signature signer; local 96 signer = Signature.getInstance(signatureAlgorithm, "AndroidOpenSSL"); 99 signer = Signature.getInstance(signatureAlgorithm, "BC"); 104 signer.initSign(privateKey); 105 signer.update(DATA); 106 signer.sign() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
SignatureSpi.java | 43 SignatureSpi(Digest digest, DSA signer, DSAEncoder encoder) 45 super(digest, signer, encoder); 54 signer.init(false, param); 67 signer.init(true, new ParametersWithRandom(param, appRandom)); 71 signer.init(true, param);
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.java | 221 Signature signer = Signature.getInstance("SHA1withRSA"); local 222 signer.initSign(privateKey); 223 signer.update(message); 224 return signer.sign();
|
OAuthSignatureMethod.java | 209 OAuthSignatureMethod signer = newMethod(message.getSignatureMethod(), local 211 signer.setTokenSecret(accessor.tokenSecret); 212 return signer;
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_client_ocsp.c | 50 static int ocsp_responder_id_match(struct x509_certificate *signer, 55 const u8 *addr[1] = { signer->public_key }; 56 size_t len[1] = { signer->public_key_len }; 63 return x509_name_compare(&signer->subject, name) == 0; 365 struct x509_certificate *issuer, *signer; local 626 signer = issuer; 628 for (signer = certs; signer; signer = signer->next) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 164 Signature signer = Signature.getInstance("SHA512withRSA"); local 165 signer.initSign(createKey()); 166 signer.update(content.trim().getBytes()); 167 signer.update(version.trim().getBytes()); 168 signer.update(requiredHash.getBytes()); 169 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT)); 177 Signature signer = Signature.getInstance("SHA512withRSA"); local 178 signer.initVerify(cert); 179 signer.update(content.trim().getBytes()); 180 signer.update(version.trim().getBytes()) [all...] |
/build/tools/signapk/src/com/android/signapk/ |
SignApk.java | 497 ContentSigner signer = local 505 .build(signer, publicKey)); 664 // write to both output streams. out is the CMSTypedData signer and tee is the file. 677 // write to both output streams. out is the CMSTypedData signer and tee is the file. 693 private WholeFileSignerOutputStream signer; field in class:SignApk.CMSSigner 725 signer = new WholeFileSignerOutputStream(out, outputStream); 726 JarOutputStream outputJar = new JarOutputStream(signer); 742 signer.notifyClosing(); 744 signer.finish(); 760 return signer; [all...] |
ApkSignerV2.java | 47 * APK Signature Scheme v2 signer. 105 * Signer configuration. 133 * @param signerConfigs signer configurations, one for each signer. 218 // Sign the digests and wrap the signatures and signer info into an APK Signing Block. 392 // * length-prefixed sequence of length-prefixed signer blocks. 402 throw new InvalidKeyException("Signer #" + signerNumber + " failed", e); 404 throw new SignatureException("Signer #" + signerNumber + " failed", e); 419 throw new SignatureException("No certificates configured for signer"); 449 V2SignatureSchemeBlock.Signer signer = new V2SignatureSchemeBlock.Signer() local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl_ocsp.c | 506 X509 *signer, *tmp_cert; local 616 signer = ocsp_find_signer(certs, rd->responderID); 617 if (!signer) 618 signer = ocsp_find_signer(untrusted, rd->responderID); 621 if (!signer) { 623 "OpenSSL: Could not find OCSP signer certificate"); 627 skey = X509_get_pubkey(signer); 630 "OpenSSL: Could not get OCSP signer public key"); 641 X509_NAME_oneline(X509_get_subject_name(signer), buf, sizeof(buf)); 643 "OpenSSL: Found OCSP signer certificate %s and verified BasicOCSPResponse signature" [all...] |
/system/extras/verity/ |
Utils.java | 275 Signature signer = Signature.getInstance(getSignatureAlgorithm(privateKey)); local 276 signer.initSign(privateKey); 277 signer.update(input); 278 return signer.sign();
|
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 211 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) 217 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) 226 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) 238 .signer(rootCa2.getPrivateKey("RSA", "RSA")) 318 private PrivateKeyEntry signer; field in class:TestKeyStore.Builder 381 public Builder signer(PrivateKeyEntry signer) { method in class:TestKeyStore.Builder 382 this.signer = signer; 454 && signer == null && rootCa == null) [all...] |
/frameworks/base/core/java/android/util/apk/ |
ApkSignatureSchemeV2Verifier.java | 98 * associated with each signer. 113 * associated with each signer. 223 ByteBuffer signer = getLengthPrefixedSlice(signers); local 224 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); 228 "Failed to parse/verify signer #" + signerCount + " block", 355 + " contents digest does not match the digest specified by a preceding signer"); [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CertificateTest.java | 327 PublicKey signer = getRsaCertificatePublicKey(); local 329 c.verify(signer); 350 c.verify(signer, p.getName()); [all...] |
/prebuilts/tools/common/m2/repository/com/google/oauth-client/google-oauth-client/1.22.0/ |
google-oauth-client-1.22.0.jar | |
/external/icu/tools/srcgen/currysrc/libs/ |
org.eclipse.osgi_3.10.100.v20150529-1857.jar | |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |
/external/guice/lib/build/ |
felix-2.0.5.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.osgi_3.6.1.R36x_v20100806.jar | |