Home
last modified time | relevance | path

Searched refs:X509 (Results 1 – 17 of 17) sorted by relevance

/optee_test/host/openssl/include/openssl/
A Dx509.h318 X509 *forward;
497 X509 *x509;
670 X509 *d2i_X509_fp(FILE *fp, X509 **x509);
709 X509 *d2i_X509_bio(BIO *bp, X509 **x509);
747 X509 *X509_dup(X509 *x509);
959 X509 *x, STACK_OF(X509) *chain,
962 STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain);
964 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
967 int X509_issuer_name_cmp(const X509 *a, const X509 *b);
970 int X509_subject_name_cmp(const X509 *a, const X509 *b);
[all …]
A Dx509_vfy.h128 X509 *x509;
199 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
201 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
242 X509 *cert;
256 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
258 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
277 STACK_OF(X509) *chain;
285 X509 *current_cert;
287 X509 *current_issuer;
487 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
[all …]
A Dpkcs7.h111 X509 *cert; /* get the pub-key from this */
120 STACK_OF(X509) *cert; /* [ 0 ] */
146 STACK_OF(X509) *cert; /* [ 0 ] */
298 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
304 X509 *x509);
310 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509,
316 PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509);
321 int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509);
338 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
348 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs,
[all …]
A Dcms.h146 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,
147 STACK_OF(X509) *certs, BIO *data,
173 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
177 STACK_OF(X509) *certs,
180 STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
182 CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
253 int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert);
254 int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert);
255 STACK_OF(X509) *CMS_get1_certs(CMS_ContentInfo *cms);
274 int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
[all …]
A Dx509v3.h137 X509 *issuer_cert;
138 X509 *subject_cert;
619 X509 *cert);
631 char *section, X509 *cert);
649 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject,
697 int X509_check_ca(X509 *x);
698 int X509_check_purpose(X509 *x, int id, int ca);
701 int X509_check_issued(X509 *issuer, X509 *subject);
716 STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x);
719 STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x);
[all …]
A Docsp.h144 STACK_OF(X509) *certs;
301 STACK_OF(X509) *certs;
417 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer);
432 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert);
435 X509 *signer,
438 STACK_OF(X509) *certs, unsigned long flags);
458 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs,
481 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert);
483 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst,
484 STACK_OF(X509) *certs, unsigned long flags);
[all …]
A Dpkcs12.h172 PKCS12_SAFEBAG *PKCS12_x5092certbag(X509 *x509);
174 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag);
255 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
256 STACK_OF(X509) **ca);
257 PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
258 STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter,
261 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert);
A Dts.h499 X509 *signer_cert;
501 STACK_OF(X509) *certs; /* Certs to include in signed data. */
532 int TS_RESP_CTX_set_signer_cert(TS_RESP_CTX *ctx, X509 *signer);
541 int TS_RESP_CTX_set_certs(TS_RESP_CTX *ctx, STACK_OF(X509) *certs);
615 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs,
616 X509_STORE *store, X509 **signer_out);
665 STACK_OF(X509) *certs;
734 X509 *TS_CONF_load_cert(const char *file);
735 STACK_OF(X509) *TS_CONF_load_certs(const char *file);
A Dengine.h343 X509 **pcert, EVP_PKEY **pkey,
344 STACK_OF(X509) **pother,
669 STACK_OF(X509_NAME) *ca_dn, X509 **pcert,
670 EVP_PKEY **ppkey, STACK_OF(X509) **pother,
A Dssl.h538 X509 *peer;
1015 STACK_OF(X509) *extra_certs;
2181 int SSL_use_certificate(SSL *ssl, X509 *x);
2226 X509 *SSL_SESSION_get0_peer(SSL_SESSION *s);
2253 X509 *SSL_get_peer_certificate(const SSL *s);
2256 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s);
2278 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
2411 int SSL_add_client_CA(SSL *ssl, X509 *x);
2412 int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x);
2426 X509 *SSL_get_certificate(const SSL *ssl);
[all …]
A Dtls1.h331 int SSL_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain);
A Dossl_typ.h154 typedef struct x509_st X509; typedef
A Dpem.h451 DECLARE_PEM_rw(X509, X509)
452 DECLARE_PEM_rw(X509_AUX, X509)
A Dsafestack.h1754 # define sk_X509_new(cmp) SKM_sk_new(X509, (cmp))
1755 # define sk_X509_new_null() SKM_sk_new_null(X509)
1756 # define sk_X509_free(st) SKM_sk_free(X509, (st))
1757 # define sk_X509_num(st) SKM_sk_num(X509, (st))
1758 # define sk_X509_value(st, i) SKM_sk_value(X509, (st), (i))
1760 # define sk_X509_zero(st) SKM_sk_zero(X509, (st))
1769 # define sk_X509_dup(st) SKM_sk_dup(X509, st)
1772 # define sk_X509_shift(st) SKM_sk_shift(X509, (st))
1773 # define sk_X509_pop(st) SKM_sk_pop(X509, (st))
1774 # define sk_X509_sort(st) SKM_sk_sort(X509, (st))
[all …]
A Dasn1.h565 X509 *cert;
/optee_test/host/xtest/
A Dregression_8100.c141 static bool get_cert(ADBG_Case_t *c, const char *crt_str, X509 **crt) in get_cert()
166 static bool push_cert(ADBG_Case_t *c, const char *crt_str, STACK_OF(X509) *cs) in push_cert()
168 X509 *crt = NULL; in push_cert()
183 static bool check(ADBG_Case_t *c, STACK_OF(X509) *trusted, in check()
184 STACK_OF(X509) *untrusted, X509 *crt) in check()
233 STACK_OF(X509) *trusted = NULL; in verify_cert()
234 STACK_OF(X509) *untrusted = NULL; in verify_cert()
235 X509 *crt = NULL; in verify_cert()
A Dpkcs11_1000.c7438 X509 *x509_cert = NULL; in xtest_pkcs11_test_1024()

Completed in 89 milliseconds