Home
last modified time | relevance | path

Searched refs:CT_POLICY_EVAL_CTX (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/openssl/crypto/ct/
H A Dct_policy.c28 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new_ex(OSSL_LIB_CTX *libctx, in CT_POLICY_EVAL_CTX_new_ex()
31 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new_ex()
55 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void) in CT_POLICY_EVAL_CTX_new()
60 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free()
70 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) in CT_POLICY_EVAL_CTX_set1_cert()
78 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) in CT_POLICY_EVAL_CTX_set1_issuer()
86 void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, in CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE()
92 void CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) in CT_POLICY_EVAL_CTX_set_time()
97 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_cert()
102 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_issuer()
[all …]
H A Dct_sct.c290 int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx) in SCT_validate()
376 int SCT_LIST_validate(const STACK_OF(SCT) *scts, CT_POLICY_EVAL_CTX *ctx) in SCT_LIST_validate()
/freebsd/crypto/openssl/doc/man3/
H A DCT_POLICY_EVAL_CTX_new.pod17 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new_ex(OSSL_LIB_CTX *libctx,
19 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void);
20 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx);
21 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx);
22 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert);
23 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx);
24 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer);
25 const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx);
26 void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx,
28 uint64_t CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx);
[all …]
H A DSCT_validate.pod21 int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx);
22 int SCT_LIST_validate(const STACK_OF(SCT) *scts, CT_POLICY_EVAL_CTX *ctx);
32 A CT_POLICY_EVAL_CTX must be provided that specifies:
64 the time in CT_POLICY_EVAL_CTX), or if it is otherwise invalid, the validation
H A DSSL_CTX_set_ct_validation_callback.pod15 typedef int (*ssl_ct_validation_cb)(const CT_POLICY_EVAL_CTX *ctx,
/freebsd/crypto/openssl/include/openssl/
H A Dct.h134 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new_ex(OSSL_LIB_CTX *libctx,
141 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void);
144 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx);
147 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx);
154 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert);
157 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx);
164 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer);
167 const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx);
170 void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx,
178 uint64_t CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx);
[all …]
H A Dct.h.in84 * with the CT_POLICY_EVAL_CTX.
86 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new_ex(OSSL_LIB_CTX *libctx,
93 CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void);
96 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx);
99 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx);
106 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert);
109 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx);
116 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer);
119 const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx);
121 /* Sets the log store that is in use. It must outlive the CT_POLICY_EVAL_CTX. */
[all …]
H A Dtypes.h210 typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX; typedef
H A Dssl.h2340 typedef int (*ssl_ct_validation_cb)(const CT_POLICY_EVAL_CTX *ctx,
H A Dssl.h.in2268 typedef int (*ssl_ct_validation_cb)(const CT_POLICY_EVAL_CTX *ctx,
/freebsd/crypto/openssl/test/
H A Dct_test.c184 CT_POLICY_EVAL_CTX *policy_ctx) in assert_validity()
234 CT_POLICY_EVAL_CTX *ct_policy_ctx = CT_POLICY_EVAL_CTX_new(); in execute_cert_test()
474 * Tests that the CT_POLICY_EVAL_CTX default time is approximately now. in test_default_ct_policy_eval_ctx_time_is_now()
480 CT_POLICY_EVAL_CTX *ct_policy_ctx = CT_POLICY_EVAL_CTX_new(); in test_default_ct_policy_eval_ctx_time_is_now()
/freebsd/crypto/openssl/util/
H A Dindent.pro640 -T CT_POLICY_EVAL_CTX
/freebsd/crypto/openssl/ssl/
H A Dssl_lib.c5161 static int ct_permissive(const CT_POLICY_EVAL_CTX * ctx, in ct_permissive()
5167 static int ct_strict(const CT_POLICY_EVAL_CTX * ctx, in ct_strict()
5247 CT_POLICY_EVAL_CTX *ctx = NULL; in ssl_validate_ct()