/external/openssl/crypto/pkcs7/ |
doc | 6 Use this to setup a signer info 10 Add a signer info to the content. 20 signer=PKCS7_SINGNER_INFO_new(); 21 PKCS7_SIGNER_INFO_set(signer,x509,pkey,EVP_md5()); 22 PKCS7_add_signer(py,signer);
|
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/bouncycastle/src/main/java/org/bouncycastle/crypto/ |
SignerWithRecovery.java | 4 * Signer with message recovery. 7 extends Signer 10 * Returns true if the signer has recovered the full message as
|
Signer.java | 4 * Generic signer interface for hash based and message recovery signers. 6 public interface Signer 9 * Initialise the signer for signing or verification.
|
DSA.java | 11 * initialise the signer for signature generation or signature
|
/libcore/luni/src/main/java/java/security/ |
Signer.java | 21 * {@link Signer} represents an identity (individual or corporation) that owns a 29 public abstract class Signer extends Identity { 36 * Constructs a new instance of {@code Signer}. 38 protected Signer() { 43 * Constructs a new instance of {@code Signer} with the given name. 46 * the name of the signer. 48 public Signer(String name) { 53 * Constructs a new instance of {@code Signer} with the given name in the 57 * the name of the signer. 59 * the scope of the signer [all...] |
CodeSigner.java | 24 * {@code CodeSigner} represents a signer of code. Instances are immutable. 41 * the certificate path associated with this code signer. 43 * the time stamp associated with this code signer, maybe {@code
|
SignatureSpi.java | 203 * public key or a certificate of the signer. 207 * signature of the same signer. 223 * a certificate of the signer. 227 * signature of the same signer.
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignerTest.java | 37 import java.security.Signer; 47 * tests for class Signer 51 @TestTargetClass(Signer.class) 62 * @tests java.security.Signer#toString() 71 Signer s1 = new SignerStub("testToString1"); 72 assertEquals("[Signer]testToString1", s1.toString()); 74 Signer s2 = new SignerStub("testToString2", IdentityScope.getSystemScope()); 87 * verify Signer() creates instance 92 method = "Signer", 96 Signer s = new SignerStub() [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); 106 init_res = X509_STORE_CTX_init(&ctx, st, signer, NULL); 108 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs); 165 X509 *signer; local 167 if ((signer = ocsp_find_signer_sk(certs, rid))) 169 *psigner = signer; 173 (signer = ocsp_find_signer_sk(bs->certs, rid))) 175 *psigner = signer; 215 X509 *signer, *sca; local 361 X509 *signer; local 431 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/chromium/base/crypto/ |
signature_creator_unittest.cc | 24 scoped_ptr<base::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));
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
SignerStub.java | 27 import java.security.Signer; 30 * Stub for abstract class Signer, necessary for testing purposes 34 public class SignerStub extends Signer {
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKDSASigner.java | 43 private DSA signer; field in class:JDKDSASigner 48 DSA signer) 51 this.signer = signer; 87 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 92 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 97 signer.init(false, param); 134 signer.init(true, param); 162 BigInteger[] sig = signer.generateSignature(hash); 191 return signer.verifySignature(hash, sig[0], sig[1]) [all...] |
/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 381 else if (!strcmp (*args, "-signer")) 385 /* If previous -signer argument add signer to list */ 429 /* If previous -inkey arument add signer to list */ 434 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 535 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 538 /* Check to see if any final signer needs to be appended */ 552 BIO_printf(bio_err, "No signer certificate specified\n"); 610 BIO_printf (bio_err, "-nointern don't search certificates in message for signer\n") [all...] |
ocsp.c | 141 X509 *signer = NULL, *rsigner = NULL; local 301 else if (!strcmp(*args, "-signer")) 580 BIO_printf (bio_err, "-signer file certificate to sign OCSP request with\n"); 602 BIO_printf (bio_err, "-verify_other file additional certificates to search for signer\n"); 604 BIO_printf (bio_err, "-no_intern don't search certificates contained in response for signer\n"); 710 signer = load_cert(bio_err, signfile, FORMAT_PEM, 711 NULL, e, "signer certificate"); 712 if (!signer) 714 BIO_printf(bio_err, "Error loading signer certificate\n"); 720 NULL, e, "signer certificates") [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
JarUtils.java | 188 private static X509Certificate[] createChain(X509Certificate signer, X509Certificate[] candidates) { 190 chain.add(0, signer); 192 // Signer is self-signed 193 if (signer.getSubjectDN().equals(signer.getIssuerDN())){ 197 Principal issuer = signer.getIssuerDN();
|
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 188 * @param signer If non-null, key store used for signing key, otherwise self-signed 196 TestKeyStore signer) { 207 signer); 209 if (signer != null) { 210 copySelfSignedCertificates(keyStore, signer.keyStore); 256 TestKeyStore signer) throws Exception { 260 if (signer == null) { 266 = privateKey(signer.keyStore, signer.keyPassword, keyAlgorithm);
|
/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;
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
AuthenticatedAttributes.java | 33 * authenticatedAttributes is a set of attributes that are signed (i.e., authenticated) by the signer
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/ |
RSADigestSigner.java | 16 import org.bouncycastle.crypto.Signer; 25 implements Signer 73 * initialise the signer for signing or verification.
|
/external/openssl/crypto/ts/ |
ts_err.c | 139 {ERR_REASON(TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE),"invalid signer certificate purpose"}, 152 {ERR_REASON(TS_R_THERE_MUST_BE_ONE_SIGNER),"there must be one signer"},
|