Home
last modified time | relevance | path

Searched refs:X509_CRL (Results 1 – 21 of 21) sorted by relevance

/external/boringssl/src/crypto/x509/
Dx_crl.c83 int (*crl_init)(X509_CRL *crl);
84 int (*crl_free)(X509_CRL *crl);
85 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret,
87 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk);
92 static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
100 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r);
101 static int def_crl_lookup(X509_CRL *crl,
150 static int crl_set_issuers(X509_CRL *crl)
236 X509_CRL *crl = (X509_CRL *)*pval; in crl_cb()
335 static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp) in setup_idp()
[all …]
Dx509_ext.c66 int X509_CRL_get_ext_count(X509_CRL *x) in X509_CRL_get_ext_count()
71 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID()
76 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ()
81 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical()
86 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc) in X509_CRL_get_ext()
91 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext()
96 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) in X509_CRL_get_ext_d2i()
101 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, in X509_CRL_add1_ext_i2d()
107 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext()
Dx509cset.c63 int X509_CRL_set_version(X509_CRL *x, long version) in X509_CRL_set_version()
74 int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name) in X509_CRL_set_issuer_name()
81 int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set_lastUpdate()
99 int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set_nextUpdate()
117 int X509_CRL_sort(X509_CRL *c) in X509_CRL_sort()
133 void X509_CRL_up_ref(X509_CRL *crl) in X509_CRL_up_ref()
Dx_all.c108 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
115 int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx) in X509_CRL_sign_ctx()
157 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp()
159 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
162 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp()
164 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
168 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio()
170 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in d2i_X509_CRL_bio()
173 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) in i2d_X509_CRL_bio()
175 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in i2d_X509_CRL_bio()
[all …]
Dx509_vfy.c129 X509_CRL *crl, X509 *x);
131 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
132 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl, int *pcrl_score,
133 X509_CRL *base, STACK_OF(X509_CRL) *crls);
134 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl,
136 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
828 X509_CRL *crl = NULL, *dcrl = NULL; in check_cert()
905 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify) in check_crl_time()
964 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk()
966 STACK_OF(X509_CRL) *crls) in get_crl_sk()
[all …]
Dpkcs7_test.c537 STACK_OF(X509_CRL) *crls = sk_X509_CRL_new_null(); in test_crl_reparse()
538 STACK_OF(X509_CRL) *crls2 = sk_X509_CRL_new_null(); in test_crl_reparse()
567 X509_CRL *a = sk_X509_CRL_value(crls, i); in test_crl_reparse()
568 X509_CRL *b = sk_X509_CRL_value(crls2, i); in test_crl_reparse()
622 STACK_OF(X509_CRL) *crls = sk_X509_CRL_new_null(); in test_pem_crls()
Dpkcs7.c152 int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs) { in PKCS7_get_CRLs()
181 X509_CRL *crl; in PKCS7_get_CRLs()
243 int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls, BIO *pem_bio) { in PKCS7_get_PEM_CRLs()
326 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb()
337 X509_CRL *crl = sk_X509_CRL_value(crls, i); in pkcs7_bundle_crls_cb()
351 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs()
Dx509_cmp.c120 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b) in X509_CRL_cmp()
125 int X509_CRL_match(const X509_CRL *a, const X509_CRL *b) in X509_CRL_match()
467 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb()
Dt_crl.c66 int X509_CRL_print_fp(FILE *fp, X509_CRL *x) in X509_CRL_print_fp()
83 int X509_CRL_print(BIO *out, X509_CRL *x) in X509_CRL_print()
Dx509_lu.c377 int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x) in X509_STORE_add_crl()
442 X509_CRL crl_s; in x509_object_idx_cnt()
551 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF() argument
554 STACK_OF(X509_CRL) *sk; in STACK_OF()
555 X509_CRL *x; in STACK_OF()
730 STACK_OF(X509_CRL)* (*cb)(X509_STORE_CTX *ctx, X509_NAME *nm)) in X509_STORE_set_lookup_crls_cb()
Dby_file.c199 X509_CRL *x=NULL; in X509_load_crl_file()
Dby_dir.c281 X509_CRL st_crl; in get_cert_by_subject()
/external/boringssl/src/include/openssl/
Dx509.h440 DECLARE_STACK_OF(X509_CRL)
441 DECLARE_ASN1_SET_OF(X509_CRL)
466 X509_CRL *crl;
585 int (*crl_init)(X509_CRL *crl),
586 int (*crl_free)(X509_CRL *crl),
587 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret,
589 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk));
592 OPENSSL_EXPORT void X509_CRL_set_meth_data(X509_CRL *crl, void *dat);
593 OPENSSL_EXPORT void *X509_CRL_get_meth_data(X509_CRL *crl);
606 OPENSSL_EXPORT int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
[all …]
Dx509_vfy.h125 X509_CRL *crl;
199 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
200 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
201 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
203 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
236 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
247 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
248 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
249 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
252 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
[all …]
Dstack_macros.h2443 ((STACK_OF(X509_CRL) *)sk_new(CHECKED_CAST( \
2444 stack_cmp_func, int (*)(const X509_CRL **a, const X509_CRL **b), comp)))
2446 #define sk_X509_CRL_new_null() ((STACK_OF(X509_CRL) *)sk_new_null())
2449 sk_num(CHECKED_CAST(_STACK *, STACK_OF(X509_CRL) *, sk))
2452 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(X509_CRL) *, sk));
2455 ((X509_CRL *)sk_value( \
2456 CHECKED_CAST(_STACK *, const STACK_OF(X509_CRL) *, sk), (i)))
2459 ((X509_CRL *)sk_set(CHECKED_CAST(_STACK *, STACK_OF(X509_CRL) *, sk), (i), \
2460 CHECKED_CAST(void *, X509_CRL *, p)))
2463 sk_free(CHECKED_CAST(_STACK *, STACK_OF(X509_CRL) *, sk))
[all …]
Dx509v3.h132 X509_CRL *crl;
608 OPENSSL_EXPORT int X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509_CRL *c…
611 char *section, X509_CRL *crl);
624 X509_REQ *req, X509_CRL *crl, int flags);
Dbase.h182 typedef struct X509_crl_st X509_CRL; typedef
Dpem.h430 DECLARE_PEM_rw(X509_CRL, X509_CRL)
/external/boringssl/src/crypto/pem/
Dpem_all.c130 IMPLEMENT_PEM_rw(X509_CRL, X509_CRL, PEM_STRING_X509_CRL, X509_CRL) in IMPLEMENT_PEM_rw()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp346 void operator()(STACK_OF(X509_CRL)* p) const { in operator ()()
350 typedef UniquePtr<STACK_OF(X509_CRL), sk_X509_CRL_Delete> Unique_sk_X509_CRL;
5811 static void get_X509_CRL_signature(X509_CRL *crl, ASN1_BIT_STRING** signature) {
5854 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef));
5856 return get_X509Type_signature<X509_CRL>(env, crl, get_X509_CRL_signature);
5860 X509_CRL* x509crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509crlRef));
5886 X509_CRL* x509crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509crlRef));
5936 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef));
5964 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef));
5966 return ASN1ToByteArray<X509_CRL>(env, crl, i2d_X509_CRL);
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_conf.c361 X509_CRL *crl) in X509V3_EXT_CRL_add_nconf()
451 X509_CRL *crl, int flags) in X509V3_set_ctx()