/openssl/crypto/cmp/ |
H A D | cmp_ctx.c | 65 DEFINE_OSSL_CMP_CTX_get0(untrusted, STACK_OF(X509)) 73 STACK_OF(X509) *untrusted = NULL; 606 DEFINE_OSSL_set1_up_ref(ossl_cmp_ctx, validatedSrvCert, X509) 613 DEFINE_OSSL_set1_up_ref(OSSL_CMP_CTX, srvCert, X509) 698 DEFINE_OSSL_set1_up_ref(OSSL_CMP_CTX, cert, X509) in DEFINE_OSSL_set1_up_ref() argument 701 STACK_OF(X509) *candidates) in DEFINE_OSSL_set1_up_ref() 703 STACK_OF(X509) *chain; in DEFINE_OSSL_set1_up_ref() 732 DEFINE_OSSL_set1_up_ref(OSSL_CMP_CTX, oldCert, X509) in DEFINE_OSSL_set1_up_ref() argument 741 DEFINE_OSSL_set0(ossl_cmp_ctx, newCert, X509) in DEFINE_OSSL_set1_up_ref() 744 DEFINE_OSSL_CMP_CTX_get0(validatedSrvCert, X509) in DEFINE_OSSL_set1_up_ref() [all …]
|
/openssl/doc/internal/man3/ |
H A D | ossl_cmp_ctx_set1_caPubs.pod | 19 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs); 20 int ossl_cmp_ctx_set0_validatedSrvCert(OSSL_CMP_CTX *ctx, X509 *cert); 25 int ossl_cmp_ctx_set0_newCert(OSSL_CMP_CTX *ctx, X509 *cert); 27 STACK_OF(X509) *extraCertsIn);
|
H A D | x509v3_cache_extensions.pod | 12 int x509v3_cache_extensions(X509 *x, OSSL_LIB_CTX *libctx, const char *propq); 16 This function processes any X509v3 extensions present in an X509 object I<x> 24 Many OpenSSL functions that use an X509 object call this function implicitly.
|
/openssl/test/certs/ |
H A D | cyrillic_crl.pem | 1 -----BEGIN X509 CRL----- 13 -----END X509 CRL-----
|
/openssl/doc/man3/ |
H A D | PEM_read_bio_PrivateKey.pod | 108 X509 *PEM_read_bio_X509(BIO *bp, X509 **x, pem_password_cb *cb, void *u); 109 X509 *PEM_read_X509(FILE *fp, X509 **x, pem_password_cb *cb, void *u); 111 int PEM_write_X509(FILE *fp, X509 *x); 120 X509 *PEM_read_bio_X509_AUX(BIO *bp, X509 **x, pem_password_cb *cb, void *u); 121 X509 *PEM_read_X509_AUX(FILE *fp, X509 **x, pem_password_cb *cb, void *u); 295 The B<X509> functions process an X509 certificate using an X509 303 an X509 structure. 400 X509 *x; 490 X509 *x = X509_new_ex(libctx, NULL); 500 X509 *x; [all …]
|
H A D | X509_get0_distinguishing_id.pod | 13 ASN1_OCTET_STRING *X509_get0_distinguishing_id(X509 *x); 14 void X509_set0_distinguishing_id(X509 *x, ASN1_OCTET_STRING *distid); 46 Calling this function transfers the memory management of the value to the X509 53 objects instead of B<X509>.
|
H A D | X509_get_subject_name.pod | 20 X509_NAME *X509_get_subject_name(const X509 *x); 21 int X509_set_subject_name(X509 *x, const X509_NAME *name); 22 unsigned long X509_subject_name_hash(X509 *x); 24 X509_NAME *X509_get_issuer_name(const X509 *x); 25 int X509_set_issuer_name(X509 *x, const X509_NAME *name); 26 unsigned long X509_issuer_name_hash(X509 *x);
|
H A D | OSSL_ESS_check_signing_certs.pod | 14 ESS_SIGNING_CERT *OSSL_ESS_signing_cert_new_init(const X509 *signcert, 15 const STACK_OF(X509) *certs, 18 const X509 *signcert, 20 STACK_OF(X509) *certs, 24 const STACK_OF(X509) *chain,
|
H A D | X509_get_pubkey.pod | 14 EVP_PKEY *X509_get_pubkey(X509 *x); 15 EVP_PKEY *X509_get0_pubkey(const X509 *x); 16 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); 17 X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x);
|
H A D | X509_STORE_set_verify_cb_func.pod | 43 typedef int (*X509_STORE_CTX_get_issuer_fn)(X509 **issuer, 44 X509_STORE_CTX *ctx, X509 *x); 46 X509 *x, X509 *issuer); 49 X509_CRL **crl, X509 *x); 52 X509_CRL *crl, X509 *x); 54 typedef STACK_OF(X509) *(*X509_STORE_CTX_lookup_certs_fn)(X509_STORE_CTX *ctx, 68 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); 201 certificates (B<X509>) or to a stack of CRLs (B<X509_CRL>) on
|
H A D | TS_VERIFY_CTX.pod | 28 int TS_VERIFY_CTX_set0_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs); 36 STACK_OF(X509) *TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx, 37 STACK_OF(X509) *certs); 41 STACK_OF(X509) *TS_VERIFY_CTS_set_certs(TS_VERIFY_CTX *ctx, 42 STACK_OF(X509) *certs); 83 verifying a TST. I<certs> is a stack of B<X509> certificates. 107 of B<X509> certificates.
|
H A D | OSSL_CMP_exec_certreq.pod | 27 X509 *OSSL_CMP_exec_certreq(OSSL_CMP_CTX *ctx, int req_type, 29 X509 *OSSL_CMP_exec_IR_ses(OSSL_CMP_CTX *ctx); 30 X509 *OSSL_CMP_exec_CR_ses(OSSL_CMP_CTX *ctx); 31 X509 *OSSL_CMP_exec_P10CR_ses(OSSL_CMP_CTX *ctx); 32 X509 *OSSL_CMP_exec_KUR_ses(OSSL_CMP_CTX *ctx); 42 int OSSL_CMP_get1_caCerts(OSSL_CMP_CTX *ctx, STACK_OF(X509) **out); 44 const X509 *oldWithOld, X509 **newWithNew, 45 X509 **newWithOld, X509 **oldWithNew); 46 int OSSL_CMP_get1_crlUpdate(OSSL_CMP_CTX *ctx, const X509 *crlcert, 207 pointer to the newly obtained X509 certificate on success, NULL on error.
|
/openssl/include/openssl/ |
H A D | ts.h | 275 int TS_RESP_CTX_set_signer_cert(TS_RESP_CTX *ctx, X509 *signer); 288 int TS_RESP_CTX_set_certs(TS_RESP_CTX *ctx, STACK_OF(X509) *certs); 362 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs, 363 X509_STORE *store, X509 **signer_out); 443 STACK_OF(X509) *TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs); 445 int TS_VERIFY_CTX_set0_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs); 484 X509 *TS_CONF_load_cert(const char *file); 485 STACK_OF(X509) *TS_CONF_load_certs(const char *file);
|
H A D | pkcs12.h.in | 114 X509 *PKCS12_SAFEBAG_get1_cert_ex(const PKCS12_SAFEBAG *bag, OSSL_LIB_CTX *libctx, const char *prop… 115 X509 *PKCS12_SAFEBAG_get1_cert(const PKCS12_SAFEBAG *bag); 123 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_cert(X509 *x509); 293 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 294 STACK_OF(X509) **ca); 297 X509 *cert, STACK_OF(X509) *ca, int nid_key, int nid_cert, 300 X509 *cert, STACK_OF(X509) *ca, int nid_key, int nid_cert, 304 X509 *cert, STACK_OF(X509) *ca, int nid_key, int nid_cert, 309 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert);
|
/openssl/apps/ |
H A D | ocsp.c | 53 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, 54 const EVP_MD *cert_id_md, X509 *issuer, 57 const EVP_MD *cert_id_md, X509 *issuer, 64 CA_DB *db, STACK_OF(X509) *ca, X509 *rcert, 225 STACK_OF(X509) *issuers = NULL; in ocsp_main() 226 X509 *issuer = NULL, *cert = NULL; in ocsp_main() 227 STACK_OF(X509) *rca_certs = NULL; in ocsp_main() 229 X509 *signer = NULL, *rsigner = NULL; in ocsp_main() 903 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, in add_ocsp_cert() 1029 CA_DB *db, STACK_OF(X509) *ca, X509 *rcert, in make_ocsp_response() [all …]
|
H A D | pkcs12.c | 41 STACK_OF(X509) **chain); 56 int cert_load(BIO *in, STACK_OF(X509) *sk); 539 X509 *ee_cert = NULL, *x = NULL; in pkcs12_main() 540 STACK_OF(X509) *certs = NULL; in pkcs12_main() 541 STACK_OF(X509) *untrusted_certs = NULL; in pkcs12_main() 610 STACK_OF(X509) *chain2; in pkcs12_main() 612 X509 *ee_cert_tmp = ee_cert; in pkcs12_main() 1002 X509 *x509; in dump_certs_pkeys_bag() 1101 STACK_OF(X509) *chn = NULL; in get_cert_chain() 1215 int cert_load(BIO *in, STACK_OF(X509) *sk) in cert_load() [all …]
|
/openssl/test/ |
H A D | cmp_ctx_test.c | 42 static STACK_OF(X509) *sk_X509_new_1(void) in STACK_OF() argument 44 STACK_OF(X509) *sk = sk_X509_new_null(); in STACK_OF() 45 X509 *x = X509_new(); in STACK_OF() 55 static void sk_X509_pop_X509_free(STACK_OF(X509) *sk) in sk_X509_pop_X509_free() 64 STACK_OF(X509) *certs = NULL; in execute_CTX_reinit_test() 65 X509 *cert = X509_new(); in execute_CTX_reinit_test() 763 DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 0, srvCert, X509) in DEFINE_SET_CB_TEST() 771 DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 0, cert, X509) in DEFINE_SET_CB_TEST() 776 DEFINE_SET_SK_TEST(OSSL_CMP, CTX, 1, extraCertsOut, X509) in DEFINE_SET_CB_TEST() 793 DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 0, oldCert, X509) in DEFINE_SET_CB_TEST() [all …]
|
H A D | cmp_vfy_test.c | 35 X509 *cert; 75 static X509 *srvcert = NULL; 76 static X509 *clcert = NULL; 78 static X509 *endentity1 = NULL, *endentity2 = NULL, 81 static X509 *insta_cert = NULL, *instaca_cert = NULL; 140 X509 *validated = OSSL_CMP_CTX_get0_validatedSrvCert(fixture->cmp_ctx); in execute_validate_msg_test() 211 static int add_trusted(OSSL_CMP_CTX *ctx, X509 *cert) in add_trusted() 216 static int add_untrusted(OSSL_CMP_CTX *ctx, X509 *cert) in add_untrusted() 399 static void setup_path(CMP_VFY_TEST_FIXTURE **fixture, X509 *wrong, int expired) in setup_path()
|
H A D | cmp_server_test.c | 54 X509 **certOut, in process_cert_request() 55 STACK_OF(X509) **chainOut, in process_cert_request() 56 STACK_OF(X509) **caPubs) in process_cert_request()
|
/openssl/crypto/objects/ |
H A D | objects.txt | 776 X500 4 : X509 778 X509 4 : SN : surname 786 X509 12 : title : title 805 X509 31 : member : 806 X509 32 : owner : 808 X509 34 : seeAlso : 815 X509 41 : name : name 828 X509 54 : dmdName : 829 X509 65 : : pseudonym 830 X509 72 : role : role [all …]
|
/openssl/crypto/x509/ |
H A D | x509_r2x.c | 20 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509() 22 X509 *ret = NULL; in X509_REQ_to_X509()
|
H A D | x509_lu.c | 402 obj->data.x509 = (X509 *)x; in x509_store_add() 430 int X509_STORE_add_cert(X509_STORE *xs, X509 *x) in X509_STORE_add_cert() 461 X509 *X509_OBJECT_get0_X509(const X509_OBJECT *a) in X509_OBJECT_get0_X509() 506 int X509_OBJECT_set1_X509(X509_OBJECT *a, X509 *obj) in X509_OBJECT_set1_X509() 539 X509 x509_s; in x509_object_idx_cnt() 616 STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *store) in STACK_OF() argument 618 STACK_OF(X509) *sk; in STACK_OF() 651 STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *ctx, in STACK_OF() argument 655 STACK_OF(X509) *sk = NULL; in STACK_OF() 656 X509 *x; in STACK_OF() [all …]
|
/openssl/demos/cms/ |
H A D | cms_enc.c | 18 X509 *rcert = NULL; in main() 19 STACK_OF(X509) *recips = NULL; in main()
|
H A D | cms_denc.c | 21 X509 *rcert = NULL; in main() 22 STACK_OF(X509) *recips = NULL; in main()
|
/openssl/demos/smime/ |
H A D | smenc.c | 18 X509 *rcert = NULL; in main() 19 STACK_OF(X509) *recips = NULL; in main()
|