/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
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...] |
SignerInformationStore.java | 22 SignerInformation signer = (SignerInformation)it.next(); local 23 SignerId sid = signer.getSID(); 32 list.add(signer); 42 * @param selector to identify a signer 76 * @param selector a signer id to select against.
|
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();
|
CMSSignedData.java | 33 * matches the given signer... 43 * SignerInformation signer = (SignerInformation)it.next(); 44 * Collection certCollection = certStore.getMatches(signer.getSID()); 49 * if (signer.verify(new JcaSimpleSignerInfoVerifierBuilder().setProvider("BC").build(cert))) 367 // SignerInformation signer = (SignerInformation)it.next(); 371 // SignerInformationVerifier verifier = verifierProvider.get(signer.getSID()); 373 // if (!signer.verify(verifier)) 380 // Collection counterSigners = signer.getCounterSignatures().getSigners(); 385 // SignerInformationVerifier counterVerifier = verifierProvider.get(signer.getSID()); 408 * attributes associated with a signer, or perhaps delete one 437 SignerInformation signer = (SignerInformation)it.next(); local [all...] |
/external/openssl/crypto/ocsp/ |
ocsp_vfy.c | 78 X509 *signer, *x; local 82 ret = ocsp_find_signer(&signer, bs, certs, st, flags); 93 skey = X509_get_pubkey(signer); 109 init_res = X509_STORE_CTX_init(&ctx, st, signer, NULL); 111 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs); 169 X509 *signer; local 171 if ((signer = ocsp_find_signer_sk(certs, rid))) 173 *psigner = signer; 177 (signer = ocsp_find_signer_sk(bs->certs, rid))) 179 *psigner = signer; 219 X509 *signer, *sca; local 365 X509 *signer; local 435 X509 *signer; local [all...] |
ocsp_srv.c | 209 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, 215 if (!X509_check_private_key(signer, key)) 223 if(!OCSP_basic_add1_cert(brsp, signer)) 237 X509_pubkey_digest(signer, EVP_sha1(), md, NULL); 247 X509_get_subject_name(signer)))
|
ocsp_cl.c | 144 X509 *signer, 154 if (!OCSP_request_set1_name(req, X509_get_subject_name(signer))) 160 if (!X509_check_private_key(signer, key)) 170 if(!OCSP_request_add1_cert(req, signer)) goto err;
|
/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/bcpkix/src/main/java/org/bouncycastle/cert/ |
CertUtils.java | 38 static X509CertificateHolder generateFullCert(ContentSigner signer, TBSCertificate tbsCert) 42 return new X509CertificateHolder(generateStructure(tbsCert, signer.getAlgorithmIdentifier(), generateSig(signer, tbsCert))); 50 static X509AttributeCertificateHolder generateFullAttrCert(ContentSigner signer, AttributeCertificateInfo attrInfo) 54 return new X509AttributeCertificateHolder(generateAttrStructure(attrInfo, signer.getAlgorithmIdentifier(), generateSig(signer, attrInfo))); 62 static X509CRLHolder generateFullCRL(ContentSigner signer, TBSCertList tbsCertList) 66 return new X509CRLHolder(generateCRLStructure(tbsCertList, signer.getAlgorithmIdentifier(), generateSig(signer, tbsCertList))); 74 private static byte[] generateSig(ContentSigner signer, ASN1Encodable tbsObj [all...] |
/external/chromium_org/crypto/ |
ec_signature_creator_unittest.cc | 36 scoped_ptr<crypto::ECSignatureCreator> signer( 38 ASSERT_TRUE(signer.get()); 42 ASSERT_TRUE(signer->Sign(reinterpret_cast<const uint8*>(data.c_str()),
|
signature_creator_unittest.cc | 43 scoped_ptr<crypto::SignatureCreator> signer( 46 ASSERT_TRUE(signer.get()); 49 ASSERT_TRUE(signer->Update(reinterpret_cast<const uint8*>(data.c_str()), 53 ASSERT_TRUE(signer->Final(&signature));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
DSASigner.java | 46 private DSA signer; field in class:DSASigner 51 DSA signer) 54 this.signer = signer; 81 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 86 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 91 signer.init(false, param); 117 signer.init(true, param); 145 BigInteger[] sig = signer.generateSignature(hash); 174 return signer.verifySignature(hash, sig[0], sig[1]) [all...] |
/external/openssl/crypto/pkcs7/ |
pk7_smime.c | 270 X509 *signer; local 321 signer = sk_X509_value (signers, k); 323 if(!X509_STORE_CTX_init(&cert_ctx, store, signer, 331 } else if(!X509_STORE_CTX_init (&cert_ctx, store, signer, NULL)) { 407 signer = sk_X509_value (signers, i); 408 j=PKCS7_signatureVerify(p7bio,p7,si, signer); 436 X509 *signer; local 467 signer = NULL; 469 if (certs) signer = X509_find_by_issuer_and_serial (certs, 471 if (!signer && !(flags & PKCS7_NOINTERN [all...] |
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
multiplesigner.js | 6 * @fileoverview A multiple gnubby signer wraps the process of opening a number 26 * @param {boolean} forEnroll Whether this signer is signing for an attempted 28 * @param {function(boolean)} allCompleteCb Called when this signer completes 34 * whether this signer expects to produce more results. The boolean is a 35 * hint rather than a promise: it's possible for this signer to produce 39 * signer will not attempt any new operations, assuming the caller is no 76 * signer: SingleGnubbySigner, 84 * Closes this signer's gnubbies, if any are open. 88 this.gnubbies_[k].signer.close(); 128 * Signals this signer to rescan for gnubbies. Useful when the caller ha [all...] |
singlesigner.js | 6 * @fileoverview A single gnubby signer wraps the process of opening a gnubby, 28 * is defined differently depending whether this signer is used for enrolling 37 * The complete callback is called only when the signer reaches success or 38 * failure, i.e. when there is no need for this signer to continue trying new 42 * @param {boolean} forEnroll Whether this signer is signing for an attempted 45 * completeCb Called when this signer completes, i.e. no further results are 48 * signer will not attempt any new operations, assuming the caller is no 83 /** The signer is attempting to open a gnubby. */ 85 /** The signer's gnubby opened, but is busy. */ 87 /** The signer has an open gnubby, but no challenges to sign. * [all...] |
/build/target/product/ |
core_minimal.mk | 40 com.android.mediadrm.signer \ 41 com.android.mediadrm.signer.xml \
|
/external/openssl/crypto/cms/ |
cms_sd.c | 301 X509 *signer, EVP_PKEY *pk, const EVP_MD *md, 308 if(!X509_check_private_key(signer, pk)) 320 X509_check_purpose(signer, -1, -1); 323 CRYPTO_add(&signer->references, 1, CRYPTO_LOCK_X509); 326 si->signer = signer; 341 if (!cms_set1_SignerIdentifier(si->sid, signer, type)) 441 if (!CMS_add1_cert(cms, signer)) 511 if (si->signer) 519 if (!sk_X509_push(signers, si->signer)) [all...] |
cms_smime.c | 286 X509 *signer; local 288 CMS_SignerInfo_get0_algs(si, NULL, &signer, NULL, NULL); 289 if (!X509_STORE_CTX_init(&ctx, store, signer, certs)) 323 X509 *signer; local 330 /* Attempt to find all signer certificates */ 343 CMS_SignerInfo_get0_algs(si, NULL, &signer, NULL, NULL); 344 if (signer)
|
/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/openssl/apps/ |
smime.c | 101 X509 *cert = NULL, *recip = NULL, *signer = NULL; local 254 else if (!strcmp (*args, "-signer")) 258 /* If previous -signer argument add signer to list */ 296 /* If previous -inkey arument add signer to list */ 301 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 383 /* Check to see if any final signer needs to be appended */ 386 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 402 BIO_printf(bio_err, "No signer certificate specified\n"); 459 BIO_printf (bio_err, "-nointern don't search certificates in message for signer\n") [all...] |
cms.c | 117 X509 *cert = NULL, *recip = NULL, *signer = NULL; local 391 else if (!strcmp (*args, "-signer")) 395 /* If previous -signer argument add signer to list */ 439 /* If previous -inkey arument add signer to list */ 444 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 545 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 548 /* Check to see if any final signer needs to be appended */ 562 BIO_printf(bio_err, "No signer certificate specified\n"); 620 BIO_printf (bio_err, "-nointern don't search certificates in message for signer\n") [all...] |
/external/chromium_org/v8/tools/testrunner/server/ |
main.py | 220 signer = data[3] 221 if not self.IsTrusted(signer): 226 signer_pubkeyfile = self._PubkeyFilename(signer)
|
/build/tools/signapk/ |
SignApk.java | 440 ContentSigner signer = new JcaContentSignerBuilder(getSignatureAlgorithm(publicKey)) local 449 .build(signer, publicKey)); 583 // write to both output streams. out is the CMSTypedData signer and tee is the file. 596 // write to both output streams. out is the CMSTypedData signer and tee is the file. 611 private WholeFileSignerOutputStream signer; field in class:SignApk.CMSSigner 634 signer = new WholeFileSignerOutputStream(out, outputStream); 635 JarOutputStream outputJar = new JarOutputStream(signer); 651 signer.notifyClosing(); 653 signer.finish(); 669 return signer; [all...] |