HomeSort by relevance Sort by last modified time
    Searched refs:X509 (Results 101 - 125 of 134) sorted by null

1 2 3 45 6

  /external/ipsec-tools/src/racoon/
crypto_openssl.c 53 #include <openssl/x509.h>
123 static X509 *mem2x509 __P((vchar_t *));
127 /* X509 Certificate */
269 * The following are derived from code in crypto/x509/x509_cmp.c
463 X509 *x509 = NULL; local
493 if (info->x509) {
494 X509_STORE_add_cert(cert_ctx, info->x509);
524 x509 = mem2x509(cert);
525 if (x509 == NULL
647 X509 *x509 = NULL; local
694 X509 *x509 = NULL; local
796 X509 *x509 = NULL; local
847 X509 *x509; local
889 X509 *x509; local
949 X509 *x509; local
1064 X509 *x509 = NULL; local
    [all...]
  /external/openssl/crypto/stack/
safestack.h     [all...]
  /external/openssl/include/openssl/
safestack.h     [all...]
  /external/openssl/apps/
apps.c 129 #include <openssl/x509.h>
459 int dump_cert_text (BIO *out, X509 *x)
743 EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca)
786 X509 *load_cert(BIO *err, const char *file, int format,
789 X509 *x=NULL;
1117 STACK_OF(X509) **pcerts, STACK_OF(X509_CRL) **pcrls)
1170 if (xi->x509 && pcerts)
1172 if (!sk_X509_push(*pcerts, xi->x509))
1174 xi->x509 = NULL
    [all...]
s_server.c 179 #include <openssl/x509.h>
784 X509 *x = NULL;
842 id = OCSP_cert_to_id(NULL, x, obj.data.x509);
843 X509_free(obj.data.x509);
952 X509 *s_cert = NULL, *s_dcert = NULL;
957 X509 *s_cert2 = NULL;
    [all...]
req.c 78 #include <openssl/x509.h>
123 * -x509 - output a self signed X509 structure instead.
162 int ex=1,x509=0,days=30; local
163 X509 *x509ss=NULL;
352 else if (strcmp(*argv,"-x509") == 0)
353 x509=1;
439 BIO_printf(bio_err," -x509 output a x509 structure instead of a cert. req.\n");
440 BIO_printf(bio_err," -days number of days a certificate generated by -x509 is valid for.\n")
    [all...]
pkeyutl.c 421 X509 *x;
s_client.c 159 #include <openssl/x509.h>
573 X509 *cert = NULL;
    [all...]
  /external/openssl/crypto/x509v3/
v3_utl.c 58 /* X509 v3 extension utilities */
466 STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x)
477 STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x)
v3_addr.c     [all...]
v3_asid.c 69 #include <openssl/x509.h>
751 STACK_OF(X509) *chain,
756 X509 *x;
877 int v3_asid_validate_resource_set(STACK_OF(X509) *chain,
v3_ncons.c 239 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc)
  /external/openssl/ssl/
ssl_lib.c 827 X509 *SSL_get_peer_certificate(const SSL *s)
829 X509 *r;
843 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s)
845 STACK_OF(X509) *r;
893 (ctx->cert->key->x509 == NULL))
903 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
919 if (ssl->cert->key->x509 == NULL)
929 return(X509_check_private_key(ssl->cert->key->x509,
    [all...]
s2_clnt.c 518 s->session->peer = s->session->sess_cert->peer_key->x509;
519 /* peer_key->x509 has been set by ssl2_set_certificate. */
524 || s->session->peer != s->session->sess_cert->peer_key->x509)
771 /* type eq x509 */
780 (s->cert->key->x509 == NULL) ||
794 X509 *x509=NULL; local
806 i=s->ctx->client_cert_cb(s,&(x509),&(pkey));
816 if ((i == 1) && (pkey != NULL) && (x509 != NULL))
819 if ( !SSL_use_certificate(s,x509) ||
1031 X509 *x509=NULL; local
    [all...]
s2_srvr.c 774 n=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL);
776 i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,&d);
927 X509 *x509=NULL; local
928 STACK_OF(X509) *sk=NULL;
1041 x509=(X509 *)d2i_X509(NULL,&cp,(long)s->s2->tmp.clen);
1042 if (x509 == NULL)
1048 if (((sk=sk_X509_new_null()) == NULL) || (!sk_X509_push(sk,x509)))
1067 i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL)
    [all...]
ssl_sess.c 879 X509 *SSL_SESSION_get0_peer(SSL_SESSION *s)
    [all...]
s3_clnt.c 1136 X509 *x=NULL;
1139 STACK_OF(X509) *sk=NULL;
3144 X509 *x509=NULL; local
    [all...]
ssltest.c 167 #include <openssl/x509.h>
380 X509 *cert;
    [all...]
  /external/openssl/crypto/x509/
by_dir.c 1 /* crypto/x509/by_dir.c */
73 #include <openssl/x509.h>
279 X509 st_x509;
281 } x509; member in union:__anon10104
299 data.x509.st_x509.cert_info= &data.x509.st_x509_cinf;
300 data.x509.st_x509_cinf.subject=name;
301 stmp.data.x509= &data.x509.st_x509;
474 /* CRYPTO_add(&tmp->data.x509->references,1
    [all...]
  /libcore/luni/src/main/native/
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp 151 void operator()(X509* p) const {
155 typedef UniquePtr<X509, X509_Delete> Unique_X509;
172 void operator()(STACK_OF(X509)* p) const {
176 typedef UniquePtr<STACK_OF(X509), sk_X509_Delete> Unique_sk_X509;
3518 X509* x509 = SSL_get_peer_certificate(ssl); local
    [all...]
  /external/openssl/crypto/store/
str_lib.c 66 #include <openssl/x509.h>
254 X509 *STORE_get_certificate(STORE *s, OPENSSL_ITEM attributes[],
258 X509 *x;
265 if (!object || !object->data.x509.certificate)
271 CRYPTO_add(&object->data.x509.certificate->references,1,CRYPTO_LOCK_X509);
273 REF_PRINT("X509",data);
275 x = object->data.x509.certificate;
280 int STORE_store_certificate(STORE *s, X509 *data, OPENSSL_ITEM attributes[],
299 REF_PRINT("X509",data);
301 object->data.x509.certificate = data
    [all...]
  /external/openssl/crypto/asn1/
x_crl.c 63 #include <openssl/x509.h>
400 int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x)
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
tls_gnutls.c 17 #include <gnutls/x509.h>
455 static int tls_match_altsubject(X509 *cert, const char *match)
509 X509 *err_cert;
    [all...]