/external/openssl/crypto/pkcs7/ |
pk7_smime.c | 63 #include <openssl/x509.h> 68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, 161 PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7, X509 *signcert, 266 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, 269 STACK_OF(X509) *signers; 270 X509 *signer; 430 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) 432 STACK_OF(X509) *signers 498 X509 *x509; local [all...] |
enc.c | 61 #include <openssl/x509.h> 69 X509 *x509; local 78 STACK_OF(X509) *recips=NULL; 102 if (!(x509=PEM_read_bio_X509(in,NULL,NULL,NULL))) 105 sk_X509_push(recips, x509); 124 if (PKCS7_add_signature(p7,x509,pkey,EVP_sha1()) == NULL) goto err; 126 PKCS7_add_certificate(p7,x509);
|
/external/openssl/apps/ |
verify.c | 65 #include <openssl/x509.h> 74 STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, 86 STACK_OF(X509) *untrusted = NULL, *trusted = NULL; 256 STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, 259 X509 *x=NULL; 303 X509 *current_cert = X509_STORE_CTX_get_current_cert(ctx);
|
apps.h | 118 #include <openssl/x509.h> 237 int dump_cert_text(BIO *out, X509 *x); 243 int copy_extensions(X509 *x, X509_REQ *req, int copy_type); 246 X509 *load_cert(BIO *err, const char *file, int format, 252 STACK_OF(X509) *load_certs(BIO *err, const char *file, int format, 320 int do_X509_sign(BIO *err, X509 *x, EVP_PKEY *pkey, const EVP_MD *md,
|
CA.sh | 68 X509="$OPENSSL x509" 86 $REQ -new -x509 -keyout newkey.pem -out newcert.pem $DAYS 125 $X509 -in ${CATOP}/$CACERT -noout -next_serial \ 168 $X509 -x509toreq -in newreq.pem -signkey newreq.pem -out tmp.pem
|
CA.pl | 53 $X509="$openssl x509"; 71 system ("$REQ -new -x509 -keyout newkey.pem -out newcert.pem $DAYS"); 147 system ("$X509 -x509toreq -in newreq.pem -signkey newreq.pem " .
|
CA.pl.in | 53 $X509="$openssl x509"; 71 system ("$REQ -new -x509 -keyout newkey.pem -out newcert.pem $DAYS"); 147 system ("$X509 -x509toreq -in newreq.pem -signkey newreq.pem " .
|
ocsp.c | 98 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md, X509 *issuer, 100 static int add_ocsp_serial(OCSP_REQUEST **req, char *serial, const EVP_MD * cert_id_md, X509 *issuer, 108 X509 *ca, X509 *rcert, EVP_PKEY *rkey, 109 STACK_OF(X509) *rother, unsigned long flags, 140 X509 *issuer = NULL, *cert = NULL; 141 X509 *signer = NULL, *rsigner = NULL; 151 STACK_OF(X509) *sign_other = NULL, *verify_other = NULL, *rother = NULL; 162 X509 *rca_cert = NULL [all...] |
/external/openssl/crypto/x509/ |
x_all.c | 1 /* crypto/x509/x_all.c */ 65 #include <openssl/x509.h> 73 int X509_verify(X509 *a, EVP_PKEY *r) 91 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) 98 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx) 137 X509 *d2i_X509_fp(FILE *fp, X509 **x509) 139 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); [all...] |
x509type.c | 1 /* crypto/x509/x509type.c */ 63 #include <openssl/x509.h> 65 int X509_certificate_type(X509 *x, EVP_PKEY *pkey)
|
/external/openssl/crypto/x509v3/ |
v3prin.c | 64 #include <openssl/x509.h> 69 X509 *cert;
|
pcy_cache.c | 60 #include <openssl/x509.h> 73 static int policy_cache_create(X509 *x, 129 static int policy_cache_new(X509 *x) 246 const X509_POLICY_CACHE *policy_cache_set(X509 *x)
|
x509v3.h | 62 #include <openssl/x509.h> 132 X509 *issuer_cert; 133 X509 *subject_cert; 463 const X509 *, int); 575 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc); 608 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509 *cert); 617 char *section, X509 *cert); 635 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, 677 int X509_check_ca(X509 *x) [all...] |
/external/openssl/crypto/pkcs12/ |
pkcs12.h | 63 #include <openssl/x509.h> 170 PKCS12_SAFEBAG *PKCS12_x5092certbag(X509 *x509); 172 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag); 245 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 246 STACK_OF(X509) **ca); 247 PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, 248 STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, 251 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert);
|
/external/openssl/include/openssl/ |
pkcs12.h | 63 #include <openssl/x509.h> 170 PKCS12_SAFEBAG *PKCS12_x5092certbag(X509 *x509); 172 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag); 245 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 246 STACK_OF(X509) **ca); 247 PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, 248 STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, 251 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert);
|
ocsp.h | 68 #include <openssl/x509.h> 146 STACK_OF(X509) *certs; 308 STACK_OF(X509) *certs; 413 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer); 428 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert); 431 X509 *signer, 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags); 476 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert) [all...] |
x509v3.h | 62 #include <openssl/x509.h> 132 X509 *issuer_cert; 133 X509 *subject_cert; 463 const X509 *, int); 575 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc); 608 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509 *cert); 617 char *section, X509 *cert); 635 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, 677 int X509_check_ca(X509 *x) [all...] |
/external/openssl/ssl/ |
ssl_rsa.c | 64 #include <openssl/x509.h> 67 static int ssl_set_cert(CERT *c, X509 *x509); 69 int SSL_use_certificate(SSL *ssl, X509 *x) 90 X509 *x=NULL; 136 X509 *x; 193 if (c->pkeys[i].x509 != NULL) 196 pktmp = X509_get_pubkey(c->pkeys[i].x509); 209 if (!X509_check_private_key(c->pkeys[i].x509,pkey)) 211 X509_free(c->pkeys[i].x509); [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
opensslidentity.cc | 89 static X509* MakeCertificate(EVP_PKEY* pkey, const char* common_name) { 91 X509* x509 = NULL; local 95 if ((x509=X509_new()) == NULL) 98 if (!X509_set_pubkey(x509, pkey)) 102 // temporary reference to serial number inside x509 struct 106 !(asn1_serial_number = X509_get_serialNumber(x509)) || 110 if (!X509_set_version(x509, 0L)) // version 1 123 !X509_set_subject_name(x509, name) || 124 !X509_set_issuer_name(x509, name) 196 X509* x509 = MakeCertificate(key_pair->pkey(), actual_common_name.c_str()); local 214 X509 *x509 = PEM_read_bio_X509(bio, NULL, NULL, local [all...] |
opensslstreamadapter.h | 136 const X509* peer_cert);
|
/external/openssl/crypto/ocsp/ |
ocsp.h | 68 #include <openssl/x509.h> 146 STACK_OF(X509) *certs; 308 STACK_OF(X509) *certs; 413 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer); 428 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert); 431 X509 *signer, 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags); 476 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert) [all...] |
ocsp_cl.c | 69 #include <openssl/x509.h> 121 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert) 144 X509 *signer, 147 STACK_OF(X509) *certs, 152 X509 *x;
|
ocsp_srv.c | 63 #include <openssl/x509.h> 198 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert) 209 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, 210 STACK_OF(X509) *certs, unsigned long flags) 227 X509 *tmpcert = sk_X509_value(certs, i);
|
/external/chromium/net/socket/ |
ssl_client_socket_openssl.h | 22 typedef struct x509_st X509; 49 int ClientCertRequestCallback(SSL* ssl, X509** x509, EVP_PKEY** pkey);
|
/external/openssl/crypto/engine/ |
eng_pkey.c | 169 STACK_OF(X509_NAME) *ca_dn, X509 **pcert, EVP_PKEY **ppkey, 170 STACK_OF(X509) **pother, UI_METHOD *ui_method, void *callback_data)
|