Home
last modified time | relevance | path

Searched refs:X509 (Results 51 – 75 of 337) sorted by relevance

12345678910>>...14

/openssl/apps/
H A Dverify.c23 STACK_OF(X509) *uchain, STACK_OF(X509) *tchain,
82 STACK_OF(X509) *untrusted = NULL, *trusted = NULL; in verify_main()
246 STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, in check()
250 X509 *x = NULL; in check()
253 STACK_OF(X509) *chain = NULL; in check()
302 X509 *cert = sk_X509_value(chain, j); in check()
331 X509 *current_cert = X509_STORE_CTX_get_current_cert(ctx); in cb()
/openssl/doc/man3/
H A DX509_get0_notBefore.pod16 const ASN1_TIME *X509_get0_notBefore(const X509 *x);
17 const ASN1_TIME *X509_get0_notAfter(const X509 *x);
19 ASN1_TIME *X509_getm_notBefore(const X509 *x);
20 ASN1_TIME *X509_getm_notAfter(const X509 *x);
22 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm);
23 int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm);
25 const ASN1_GENERALIZEDTIME *X509_ACERT_get0_notBefore(const X509 *x);
26 const ASN1_GENERALIZEDTIME *X509_ACERT_get0_notAfter(const X509 *x);
90 Unlike the B<X509> and B<X509_CRL> routines, the B<X509_ACERT> routines
H A DX509_get_extension_flags.pod21 long X509_get_pathlen(X509 *x);
22 uint32_t X509_get_extension_flags(X509 *x);
23 uint32_t X509_get_key_usage(X509 *x);
24 uint32_t X509_get_extended_key_usage(X509 *x);
25 const ASN1_OCTET_STRING *X509_get0_subject_key_id(X509 *x);
26 const ASN1_OCTET_STRING *X509_get0_authority_key_id(X509 *x);
27 const GENERAL_NAMES *X509_get0_authority_issuer(X509 *x);
28 const ASN1_INTEGER *X509_get0_authority_serial(X509 *x);
29 void X509_set_proxy_flag(X509 *x);
31 long X509_get_proxy_pathlen(X509 *x);
[all …]
H A DSSL_CTX_add1_chain_cert.pod17 int SSL_CTX_set0_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);
18 int SSL_CTX_set1_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);
19 int SSL_CTX_add0_chain_cert(SSL_CTX *ctx, X509 *x509);
20 int SSL_CTX_add1_chain_cert(SSL_CTX *ctx, X509 *x509);
24 int SSL_set0_chain(SSL *ssl, STACK_OF(X509) *sk);
25 int SSL_set1_chain(SSL *ssl, STACK_OF(X509) *sk);
26 int SSL_add0_chain_cert(SSL *ssl, X509 *x509);
27 int SSL_add1_chain_cert(SSL *ssl, X509 *x509);
28 int SSL_get0_chain_certs(SSL *ssl, STACK_OF(X509) **sk);
34 int SSL_CTX_select_current_cert(SSL_CTX *ctx, X509 *x509);
[all …]
H A DSSL_get_peer_cert_chain.pod5 SSL_get_peer_cert_chain, SSL_get0_verified_chain - get the X509 certificate
12 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *ssl);
13 STACK_OF(X509) *SSL_get0_verified_chain(const SSL *ssl);
17 SSL_get_peer_cert_chain() returns a pointer to STACK_OF(X509) certificates
40 The reference count of each certificate in the returned STACK_OF(X509) object
57 =item Pointer to a STACK_OF(X509)
H A DX509_STORE_get0_param.pod17 STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *xs);
27 X509_STORE_get1_objects() returns a snapshot of all objects in the store's X509
28 cache. The cache contains B<X509> and B<X509_CRL> objects. The caller is
32 X509 object cache. The cache contains B<X509> and B<X509_CRL> objects. The
H A DX509_add_cert.pod7 X509 certificate list addition functions
13 int X509_add_cert(STACK_OF(X509) *sk, X509 *cert, int flags);
14 int X509_add_certs(STACK_OF(X509) *sk, STACK_OF(X509) *certs, int flags);
H A DOSSL_CMP_ITAV_new_caCerts.pod26 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_caCerts(const STACK_OF(X509) *caCerts);
27 int OSSL_CMP_ITAV_get0_caCerts(const OSSL_CMP_ITAV *itav, STACK_OF(X509) **out);
29 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_rootCaCert(const X509 *rootCaCert);
30 int OSSL_CMP_ITAV_get0_rootCaCert(const OSSL_CMP_ITAV *itav, X509 **out);
31 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_rootCaKeyUpdate(const X509 *newWithNew,
32 const X509 *newWithOld,
33 const X509 *oldWithNew);
35 X509 **newWithNew,
36 X509 **newWithOld,
37 X509 **oldWithNew);
[all …]
/openssl/crypto/cmp/
H A Dcmp_asn.c51 ASN1_SIMPLE(OSSL_CMP_CAKEYUPDANNCONTENT, oldWithNew, X509),
53 ASN1_SIMPLE(OSSL_CMP_CAKEYUPDANNCONTENT, newWithOld, X509),
55 ASN1_SIMPLE(OSSL_CMP_CAKEYUPDANNCONTENT, newWithNew, X509)
144 ASN1_SIMPLE(OSSL_CMP_ROOTCAKEYUPDATE, newWithNew, X509),
145 ASN1_EXP_OPT(OSSL_CMP_ROOTCAKEYUPDATE, newWithOld, X509, 0),
146 ASN1_EXP_OPT(OSSL_CMP_ROOTCAKEYUPDATE, oldWithNew, X509, 1)
355 X509 **newWithNew, in OSSL_CMP_ITAV_get0_rootCaKeyUpdate()
356 X509 **newWithOld, in OSSL_CMP_ITAV_get0_rootCaKeyUpdate()
357 X509 **oldWithNew) in OSSL_CMP_ITAV_get0_rootCaKeyUpdate()
1034 ASN1_EXP(OSSL_CMP_PKIBODY, value.cann, X509, 16),
[all …]
/openssl/test/
H A Dx509aux.c28 typedef X509 *(*d2i_X509_t)(X509 **, const unsigned char **, long); in test_certs()
29 typedef int (*i2d_X509_t)(const X509 *, unsigned char **); in test_certs()
40 X509 *cert = NULL; in test_certs()
41 X509 *reuse = NULL; in test_certs()
H A Dcrltest.c190 static X509 *test_root = NULL;
191 static X509 *test_leaf = NULL;
229 static X509 *X509_from_strings(const char **pem) in X509_from_strings()
231 X509 *x; in X509_from_strings()
253 static int verify(X509 *leaf, X509 *root, STACK_OF(X509_CRL) *crls, in verify()
259 STACK_OF(X509) *roots = sk_X509_new_null(); in verify()
H A Ddanetest.c55 static int verify_chain(SSL *ssl, STACK_OF(X509) *chain) in verify_chain()
91 static STACK_OF(X509) *load_chain(BIO *fp, int nelem) in STACK_OF() argument
99 STACK_OF(X509) *chain; in STACK_OF()
100 typedef X509 *(*d2i_X509_t)(X509 **, const unsigned char **, long); in STACK_OF()
114 X509 *cert; in STACK_OF()
299 STACK_OF(X509) *chain; in test_tlsafile()
H A Dtestcrl.pem1 -----BEGIN X509 CRL-----
16 -----END X509 CRL-----
/openssl/crypto/x509/
H A Dt_x509.c20 void OSSL_STACK_OF_X509_free(STACK_OF(X509) *certs) in OSSL_STACK_OF_X509_free()
26 int X509_print_fp(FILE *fp, X509 *x) in X509_print_fp()
31 int X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, in X509_print_ex_fp()
48 int X509_print(BIO *bp, X509 *x) in X509_print()
53 int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, in X509_print_ex()
198 int X509_ocspid_print(BIO *bp, X509 *x) in X509_ocspid_print()
316 int X509_aux_print(BIO *out, X509 *x, int indent) in X509_aux_print()
384 if (X509_check_issued((X509 *)cert, cert) == X509_V_OK) { in ossl_x509_print_ex_brief()
405 static int print_certs(BIO *bio, const STACK_OF(X509) *certs) in print_certs()
413 X509 *cert = sk_X509_value(certs, i); in print_certs()
[all …]
H A Dx_all.c33 int X509_verify(X509 *a, EVP_PKEY *r) in X509_verify()
77 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign()
100 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx) in X509_sign_ctx()
135 return (X509 *)simple_get_asn1(url, bio, rbio, timeout, in X509_load_http()
136 ASN1_ITEM_rptr(X509)); in X509_load_http()
216 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp()
218 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); in d2i_X509_fp()
221 int i2d_X509_fp(FILE *fp, const X509 *x509) in i2d_X509_fp()
227 X509 *d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio()
232 int i2d_X509_bio(BIO *bp, const X509 *x509) in i2d_X509_bio()
[all …]
H A Dpcy_local.h101 X509 *cert;
149 int ossl_policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps);
171 const X509_POLICY_CACHE *ossl_policy_cache_set(X509 *x);
/openssl/include/openssl/
H A Dx509v3.h.in101 X509 *issuer_cert;
102 X509 *subject_cert;
644 X509 *cert);
674 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject,
726 int X509_check_ca(X509 *x);
730 int X509_check_issued(X509 *issuer, X509 *subject);
732 void X509_set_proxy_flag(X509 *x);
733 void X509_set_proxy_pathlen(X509 *x, long l);
734 long X509_get_proxy_pathlen(X509 *x);
736 uint32_t X509_get_extension_flags(X509 *x);
[all …]
/openssl/ssl/
H A Dssl_rsa.c20 static int ssl_set_cert(CERT *c, X509 *x509, SSL_CTX *ctx);
31 int SSL_use_certificate(SSL *ssl, X509 *x) in SSL_use_certificate()
58 X509 *cert = NULL, *x = NULL; in SSL_use_certificate_file()
107 X509 *x; in SSL_use_certificate_ASN1()
229 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) in SSL_CTX_use_certificate()
245 static int ssl_set_cert(CERT *c, X509 *x, SSL_CTX *ctx) in ssl_set_cert()
301 X509 *x = NULL, *cert = NULL; in SSL_CTX_use_certificate_file()
344 X509 *x; in SSL_CTX_use_certificate_ASN1()
441 X509 *x = NULL; in use_certificate_chain_file()
500 X509 *ca; in use_certificate_chain_file()
[all …]
H A Dssl_cert.c302 X509 *x = sk_X509_value(chain, i); in ssl_cert_set0_chain()
317 STACK_OF(X509) *dchain; in ssl_cert_set1_chain()
358 int ssl_cert_select_current(CERT *c, X509 *x) in ssl_cert_select_current()
421 X509 *x; in ssl_verify_internal()
671 int SSL_add1_to_CA_list(SSL *ssl, const X509 *x) in SSL_add1_to_CA_list()
690 int SSL_add_client_CA(SSL *ssl, X509 *x) in SSL_add_client_CA()
700 int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x) in SSL_CTX_add_client_CA()
745 X509 *x = NULL; in STACK_OF()
823 X509 *x = NULL; in add_file_cert_subjects_to_stack()
985 X509 *x = NULL; in add_uris_recursive()
[all …]
/openssl/crypto/pkcs12/
H A Dp12_crt.c20 X509 *cert,
36 X509 *cert, STACK_OF(X509) *ca, int nid_key, int nid_cert, in PKCS12_create_ex2()
174 PKCS12 *PKCS12_create_ex(const char *pass, const char *name, EVP_PKEY *pkey, X509 *cert, in PKCS12_create_ex()
175 STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, in PKCS12_create_ex()
184 PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey, X509 *cert, in PKCS12_create()
185 STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, in PKCS12_create()
193 X509 *cert, in pkcs12_add_cert_bag()
221 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert) in PKCS12_add_cert()
H A Dp12_sbag.c85 X509 *PKCS12_SAFEBAG_get1_cert(const PKCS12_SAFEBAG *bag) in PKCS12_SAFEBAG_get1_cert()
92 ASN1_ITEM_rptr(X509)); in PKCS12_SAFEBAG_get1_cert()
105 X509 *PKCS12_SAFEBAG_get1_cert_ex(const PKCS12_SAFEBAG *bag, in PKCS12_SAFEBAG_get1_cert_ex()
108 X509 *ret = NULL; in PKCS12_SAFEBAG_get1_cert_ex()
115 ASN1_ITEM_rptr(X509), libctx, propq); in PKCS12_SAFEBAG_get1_cert_ex()
141 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_cert(X509 *x509) in PKCS12_SAFEBAG_create_cert()
143 return PKCS12_item_pack_safebag(x509, ASN1_ITEM_rptr(X509), in PKCS12_SAFEBAG_create_cert()
/openssl/doc/internal/man3/
H A Dossl_cmp_mock_srv_new.pod27 int ossl_cmp_mock_srv_set1_refCert(OSSL_CMP_SRV_CTX *ctx, const X509 *cert);
28 int ossl_cmp_mock_srv_set1_certOut(OSSL_CMP_SRV_CTX *ctx, const X509 *cert);
30 const STACK_OF(X509) *chain);
32 const STACK_OF(X509) *caPubs);
33 int ossl_cmp_mock_srv_set1_newWithNew(OSSL_CMP_SRV_CTX *ctx, const X509 *cert);
34 int ossl_cmp_mock_srv_set1_newWithOld(OSSL_CMP_SRV_CTX *ctx, const X509 *cert);
35 int ossl_cmp_mock_srv_set1_oldWithNew(OSSL_CMP_SRV_CTX *ctx, const X509 *cert);
/openssl/crypto/ts/
H A Dts_local.h102 X509 *signer_cert;
106 STACK_OF(X509) *certs; /* Certs to include in signed data. */
136 STACK_OF(X509) *certs;
/openssl/test/recipes/80-test_cmp_http_data/Mock/
H A Doldcrl.pem1 -----BEGIN X509 CRL-----
12 -----END X509 CRL-----
H A Dnewcrl.pem1 -----BEGIN X509 CRL-----
12 -----END X509 CRL-----

Completed in 62 milliseconds

12345678910>>...14