Searched refs:X509 (Results 51 - 75 of 155) sorted by relevance

1234567

/freebsd-12-stable/crypto/openssl/apps/
H A Ds_apps.h25 int set_cert_key_stuff(SSL_CTX *ctx, X509 *cert, EVP_PKEY *key,
26 STACK_OF(X509) *chain, int build_chain);
H A Dapps.h88 int set_cert_times(X509 *x, const char *startdate, const char *enddate,
447 int dump_cert_text(BIO *out, X509 *x);
458 int copy_extensions(X509 *x, X509_REQ *req, int copy_type);
461 X509 *load_cert(const char *file, int format, const char *cert_descrip);
467 int load_certs(const char *file, STACK_OF(X509) **certs, int format,
554 int do_X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md,
566 void print_cert_checks(BIO *bio, X509 *x,
H A Docsp.c84 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert,
85 const EVP_MD *cert_id_md, X509 *issuer,
88 const EVP_MD *cert_id_md, X509 *issuer,
95 CA_DB *db, STACK_OF(X509) *ca, X509 *rcert,
98 STACK_OF(X509) *rother, unsigned long flags,
239 STACK_OF(X509) *sign_other = NULL, *verify_other = NULL, *rother = NULL;
240 STACK_OF(X509) *issuers = NULL;
241 X509 *issuer = NULL, *cert = NULL;
242 STACK_OF(X509) *rca_cer
[all...]
H A Dpkcs7.c125 STACK_OF(X509) *certs = NULL;
147 X509 *x;
H A Dcrl2p7.c22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
47 STACK_OF(X509) *cert_stack = NULL;
179 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile)
H A Dpkcs12.c29 static int get_cert_chain(X509 *cert, X509_STORE *store,
30 STACK_OF(X509) **chain);
45 int cert_load(BIO *in, STACK_OF(X509) *sk);
341 X509 *ucert = NULL, *x = NULL;
342 STACK_OF(X509) *certs = NULL;
401 STACK_OF(X509) *chain2;
662 X509 *x509;
746 static int get_cert_chain(X509 *cert, X509_STORE *store,
747 STACK_OF(X509) **chain)
750 STACK_OF(X509) *ch
[all...]
H A Dx509.c36 static int sign(X509 *x, EVP_PKEY *pkey, int days, int clrext,
40 X509 *x, X509 *xca, EVP_PKEY *pkey,
45 static int purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt);
46 static int print_x509v3_exts(BIO *bio, X509 *x, const char *exts);
163 X509 *x = NULL, *xca = NULL;
947 X509 *x, X509 *xca, EVP_PKEY *pkey,
960 BIO_printf(bio_err, "Error obtaining CA X509 public key\n");
967 BIO_printf(bio_err, "Error initialising X509 stor
[all...]
/freebsd-12-stable/crypto/openssl/crypto/cms/
H A Dcms_lib.c382 int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert)
408 int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert)
479 STACK_OF(X509) *CMS_get1_certs(CMS_ContentInfo *cms)
481 STACK_OF(X509) *certs = NULL;
534 int cms_ias_cert_cmp(CMS_IssuerAndSerialNumber *ias, X509 *cert)
543 int cms_keyid_cert_cmp(ASN1_OCTET_STRING *keyid, X509 *cert)
552 int cms_set1_ias(CMS_IssuerAndSerialNumber **pias, X509 *cert)
571 int cms_set1_keyid(ASN1_OCTET_STRING **pkeyid, X509 *cert)
H A Dcms_smime.c229 STACK_OF(X509) *certs,
233 X509 *signer;
265 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
270 STACK_OF(X509) *cms_certs = NULL;
272 X509 *signer;
424 STACK_OF(X509) *certs,
435 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,
436 STACK_OF(X509) *certs, BIO *data,
456 X509 *x = sk_X509_value(certs, i);
479 X509 *signcer
[all...]
/freebsd-12-stable/crypto/openssl/crypto/engine/
H A Deng_pkey.c115 STACK_OF(X509_NAME) *ca_dn, X509 **pcert,
116 EVP_PKEY **ppkey, STACK_OF(X509) **pother,
/freebsd-12-stable/crypto/openssl/crypto/ocsp/
H A Docsp_local.h53 STACK_OF(X509) *certs;
193 STACK_OF(X509) *certs;
H A Docsp_cl.c70 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert)
97 X509 *signer,
100 STACK_OF(X509) *certs, unsigned long flags)
103 X509 *x;
205 const STACK_OF(X509) *OCSP_resp_get0_certs(const OCSP_BASICRESP *bs)
H A Docsp_lib.c22 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, const X509 *subject,
23 const X509 *issuer)
H A Docsp_asn.c18 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_SIGNATURE, certs, X509, 0)
117 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_BASICRESP, certs, X509, 0)
/freebsd-12-stable/crypto/openssl/ssl/
H A Dssl_cert.c252 int ssl_cert_set0_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain)
270 int ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain)
272 STACK_OF(X509) *dchain;
285 int ssl_cert_add0_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x)
303 int ssl_cert_add1_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x)
311 int ssl_cert_select_current(CERT *c, X509 *x)
363 int ssl_verify_cert_chain(SSL *s, STACK_OF(X509) *sk)
365 X509 *x;
527 static int add_ca_name(STACK_OF(X509_NAME) **sk, const X509 *x)
546 int SSL_add1_to_CA_list(SSL *ssl, const X509 *
[all...]
/freebsd-12-stable/crypto/openssl/crypto/store/
H A Dstore_local.h40 X509 *x509; /* when type == OSSL_STORE_INFO_CERT */
/freebsd-12-stable/crypto/openssl/crypto/x509/
H A Dx509type.c16 int X509_certificate_type(const X509 *x, const EVP_PKEY *pkey)
/freebsd-12-stable/crypto/openssl/crypto/x509v3/
H A Dpcy_map.c22 int policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps)
/freebsd-12-stable/crypto/openssl/include/openssl/
H A Dct.h76 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx);
83 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert);
86 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx);
93 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer);
H A Dts.h332 int TS_RESP_CTX_set_signer_cert(TS_RESP_CTX *ctx, X509 *signer);
345 int TS_RESP_CTX_set_certs(TS_RESP_CTX *ctx, STACK_OF(X509) *certs);
419 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs,
420 X509_STORE *store, X509 **signer_out);
482 STACK_OF(X509) *TS_VERIFY_CTS_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs);
521 X509 *TS_CONF_load_cert(const char *file);
522 STACK_OF(X509) *TS_CONF_load_certs(const char *file);
/freebsd-12-stable/crypto/openssl/crypto/ts/
H A Dts_conf.c44 X509 *TS_CONF_load_cert(const char *file)
47 X509 *x = NULL;
59 STACK_OF(X509) *TS_CONF_load_certs(const char *file)
62 STACK_OF(X509) *othercerts = NULL;
192 X509 *cert_obj = NULL;
216 STACK_OF(X509) *certs_obj = NULL;
H A Dts_verify_ctx.c63 STACK_OF(X509) *TS_VERIFY_CTS_set_certs(TS_VERIFY_CTX *ctx,
64 STACK_OF(X509) *certs)
/freebsd-12-stable/lib/libfetch/
H A Dcommon.h60 X509 *ssl_cert; /* server certificate */
/freebsd-12-stable/crypto/openssl/crypto/pkcs12/
H A Dp12_crt.c31 PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey, X509 *cert,
32 STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter,
135 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert)
/freebsd-12-stable/contrib/unbound/smallapp/
H A Dunbound-anchor.c324 verb_cert(const char* msg, X509* x)
340 verb_certs(const char* msg, STACK_OF(X509)* sk)
351 static STACK_OF(X509)*
354 STACK_OF(X509) *sk = sk_X509_new_null();
360 X509* x = PEM_read_bio_X509(bio, NULL, NULL, NULL);
363 printf("failed to read X509\n");
377 static STACK_OF(X509)*
380 STACK_OF(X509)* sk;
401 X509* x = PEM_read_X509(in, NULL, NULL, NULL);
404 printf("failed to read X509 fil
[all...]

Completed in 624 milliseconds

1234567