HomeSort by relevance Sort by last modified time
    Searched refs:signer (Results 1 - 25 of 62) sorted by null

1 2 3

  /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/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.
  /external/chromium_org/third_party/openssl/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)))
  /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)))
  /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/smack/src/org/xbill/DNS/
RRSIGRecord.java 38 * @param signer The owner of the signing key
43 Date expire, Date timeSigned, int footprint, Name signer,
47 timeSigned, footprint, signer, signature);
SIGRecord.java 38 * @param signer The owner of the signing key
43 Date expire, Date timeSigned, int footprint, Name signer,
47 timeSigned, footprint, signer, signature);
SIGBase.java 24 protected Name signer; field in class:SIGBase
32 long origttl, Date expire, Date timeSigned, int footprint, Name signer,
47 this.signer = checkName("signer", signer);
60 signer = new Name(in);
79 signer = st.getName(origin);
103 sb.append (signer);
166 return signer;
189 signer.toWire(out, null, canonical)
    [all...]
  /external/chromium/crypto/
signature_creator_unittest.cc 24 scoped_ptr<crypto::SignatureCreator> signer(
26 ASSERT_TRUE(signer.get());
29 ASSERT_TRUE(signer->Update(reinterpret_cast<const uint8*>(data.c_str()),
33 ASSERT_TRUE(signer->Final(&signature));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DSASigner.java 43 private DSA signer; field in class:DSASigner
48 DSA signer)
51 this.signer = signer;
78 throw new InvalidKeyException("can't recognise key type in DSA based signer");
83 throw new InvalidKeyException("can't recognise key type in DSA based signer");
88 signer.init(false, param);
114 signer.init(true, param);
142 BigInteger[] sig = signer.generateSignature(hash);
171 return signer.verifySignature(hash, sig[0], sig[1])
    [all...]
  /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 36 scoped_ptr<crypto::SignatureCreator> signer(
38 ASSERT_TRUE(signer.get());
41 ASSERT_TRUE(signer->Update(reinterpret_cast<const uint8*>(data.c_str()),
45 ASSERT_TRUE(signer->Final(&signature));
  /frameworks/base/services/tests/servicestests/src/com/android/server/updates/
CertPinInstallReceiverTest.java 162 Signature signer = Signature.getInstance("SHA512withRSA"); local
163 signer.initSign(createKey());
164 signer.update(content.trim().getBytes());
165 signer.update(version.trim().getBytes());
166 signer.update(requiredHash.getBytes());
167 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT));
175 Signature signer = Signature.getInstance("SHA512withRSA"); local
176 signer.initVerify(cert);
177 signer.update(content.trim().getBytes());
178 signer.update(version.trim().getBytes())
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
SignatureSpi.java 42 SignatureSpi(Digest digest, DSA signer, DSAEncoder encoder)
44 super(digest, signer, encoder);
53 signer.init(false, param);
66 signer.init(true, new ParametersWithRandom(param, appRandom));
70 signer.init(true, param);
  /external/chromium_org/third_party/openssl/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/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/net/quic/crypto/
channel_id_test.cc 223 scoped_ptr<ChannelIDSigner> signer(
229 ASSERT_TRUE(signer->Sign(hostname, signed_data, &key, &signature));
231 EXPECT_EQ(key, signer->GetKeyForHostname(hostname));
  /frameworks/base/services/java/com/android/server/updates/
ConfigUpdateInstallReceiver.java 217 Signature signer = Signature.getInstance("SHA512withRSA"); local
218 signer.initVerify(cert);
219 signer.update(content);
220 signer.update(Long.toString(version).getBytes());
221 signer.update(requiredPrevious.getBytes());
222 return signer.verify(Base64.decode(signature.getBytes(), Base64.DEFAULT));
  /libcore/luni/src/main/java/org/apache/harmony/security/utils/
JarUtils.java 229 private static X509Certificate[] createChain(X509Certificate signer, X509Certificate[] candidates) {
231 chain.add(0, signer);
233 // Signer is self-signed
234 if (signer.getSubjectDN().equals(signer.getIssuerDN())){
238 Principal issuer = signer.getIssuerDN();
  /external/chromium/chrome/browser/chromeos/login/
owner_key_utils.cc 152 scoped_ptr<crypto::SignatureCreator> signer(
154 if (!signer->Update(reinterpret_cast<const uint8*>(data.c_str()),
158 return signer->Final(OUT_signature);
  /external/chromium_org/net/tools/quic/
quic_client.h 140 // given ChannelID. This object takes ownership of |signer|.
141 void SetChannelIDSigner(ChannelIDSigner* signer) {
142 crypto_config_.SetChannelIDSigner(signer);

Completed in 428 milliseconds

1 2 3