Home
last modified time | relevance | path

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

123

/external/boringssl/src/crypto/x509/
Dx509cset.c64 int X509_CRL_set_version(X509_CRL *x, long version) in X509_CRL_set_version()
75 int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name) in X509_CRL_set_issuer_name()
82 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_lastUpdate()
99 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_nextUpdate()
116 int X509_CRL_sort(X509_CRL *c) in X509_CRL_sort()
132 int X509_CRL_up_ref(X509_CRL *crl) in X509_CRL_up_ref()
138 long X509_CRL_get_version(const X509_CRL *crl) in X509_CRL_get_version()
143 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl) in X509_CRL_get0_lastUpdate()
148 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl) in X509_CRL_get0_nextUpdate()
153 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) in X509_CRL_get_lastUpdate()
[all …]
Dx_crl.c81 int (*crl_init) (X509_CRL *crl);
82 int (*crl_free) (X509_CRL *crl);
83 int (*crl_lookup) (X509_CRL *crl, X509_REVOKED **ret,
85 int (*crl_verify) (X509_CRL *crl, EVP_PKEY *pk);
89 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
97 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r);
98 static int def_crl_lookup(X509_CRL *crl,
154 static int crl_set_issuers(X509_CRL *crl)
228 X509_CRL *crl = (X509_CRL *)*pval; in crl_cb()
344 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp) in setup_idp()
[all …]
Dx509_ext.c65 int X509_CRL_get_ext_count(const X509_CRL *x) in X509_CRL_get_ext_count()
70 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID()
75 int X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj, in X509_CRL_get_ext_by_OBJ()
81 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical()
86 X509_EXTENSION *X509_CRL_get_ext(const 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(const X509_CRL *crl, int nid, int *out_critical, in X509_CRL_get_ext_d2i()
102 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, in X509_CRL_add1_ext_i2d()
108 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext()
Dx_all.c113 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
120 int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx) in X509_CRL_sign_ctx()
163 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp()
165 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
168 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp()
170 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
174 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio()
176 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in d2i_X509_CRL_bio()
179 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) in i2d_X509_CRL_bio()
181 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in i2d_X509_CRL_bio()
[all …]
Dx509_vfy.c127 unsigned int *preasons, X509_CRL *crl, X509 *x);
129 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
130 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl,
131 int *pcrl_score, X509_CRL *base,
132 STACK_OF(X509_CRL) *crls);
133 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, X509 **pissuer,
135 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
957 X509_CRL *crl = NULL, *dcrl = NULL; in check_cert()
1029 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify) in check_crl_time()
1083 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk()
[all …]
Dx509_cmp.c124 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b) in X509_CRL_cmp()
129 int X509_CRL_match(const X509_CRL *a, const X509_CRL *b) in X509_CRL_match()
465 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx_crl.c81 int (*crl_init) (X509_CRL *crl);
82 int (*crl_free) (X509_CRL *crl);
83 int (*crl_lookup) (X509_CRL *crl, X509_REVOKED **ret,
85 int (*crl_verify) (X509_CRL *crl, EVP_PKEY *pk);
89 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
97 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r);
98 static int def_crl_lookup(X509_CRL *crl,
154 static int crl_set_issuers(X509_CRL *crl)
228 X509_CRL *crl = (X509_CRL *)*pval; in crl_cb()
344 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp) in setup_idp()
[all …]
Dx509cset.c64 int X509_CRL_set_version(X509_CRL *x, long version) in X509_CRL_set_version()
75 int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name) in X509_CRL_set_issuer_name()
82 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()
116 int X509_CRL_sort(X509_CRL *c) in X509_CRL_sort()
132 int X509_CRL_up_ref(X509_CRL *crl) in X509_CRL_up_ref()
138 long X509_CRL_get_version(const X509_CRL *crl) in X509_CRL_get_version()
143 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl) in X509_CRL_get0_lastUpdate()
148 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl) in X509_CRL_get0_nextUpdate()
153 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) in X509_CRL_get_lastUpdate()
[all …]
Dx509_ext.c65 int X509_CRL_get_ext_count(X509_CRL *x) in X509_CRL_get_ext_count()
70 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID()
75 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ()
80 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical()
85 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc) in X509_CRL_get_ext()
90 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext()
95 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) in X509_CRL_get_ext_d2i()
100 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, in X509_CRL_add1_ext_i2d()
106 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext()
Dx_all.c113 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
120 int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx) in X509_CRL_sign_ctx()
163 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp()
165 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
168 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp()
170 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
174 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio()
176 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in d2i_X509_CRL_bio()
179 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) in i2d_X509_CRL_bio()
181 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in i2d_X509_CRL_bio()
[all …]
Dx509_vfy.c127 unsigned int *preasons, X509_CRL *crl, X509 *x);
129 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
130 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl,
131 int *pcrl_score, X509_CRL *base,
132 STACK_OF(X509_CRL) *crls);
133 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, X509 **pissuer,
135 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
957 X509_CRL *crl = NULL, *dcrl = NULL; in check_cert()
1029 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify) in check_crl_time()
1083 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk()
[all …]
Dx509_cmp.c124 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b) in X509_CRL_cmp()
129 int X509_CRL_match(const X509_CRL *a, const X509_CRL *b) in X509_CRL_match()
460 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb()
Dt_crl.c65 int X509_CRL_print_fp(FILE *fp, X509_CRL *x) in X509_CRL_print_fp()
78 int X509_CRL_print(BIO *out, X509_CRL *x) in X509_CRL_print()
/external/boringssl/src/include/openssl/
Dx509.h413 DEFINE_STACK_OF(X509_CRL)
414 DECLARE_ASN1_SET_OF(X509_CRL)
437 X509_CRL *crl;
571 OPENSSL_EXPORT long X509_CRL_get_version(const X509_CRL *crl);
574 OPENSSL_EXPORT const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
578 OPENSSL_EXPORT const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
582 OPENSSL_EXPORT int X509_CRL_set1_lastUpdate(X509_CRL *crl, const ASN1_TIME *tm);
586 OPENSSL_EXPORT int X509_CRL_set1_nextUpdate(X509_CRL *crl, const ASN1_TIME *tm);
594 OPENSSL_EXPORT ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl);
599 OPENSSL_EXPORT ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl);
[all …]
Dpkcs7.h34 DECLARE_STACK_OF(X509_CRL)
60 OPENSSL_EXPORT int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs);
64 OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls);
81 OPENSSL_EXPORT int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls,
93 STACK_OF(X509_CRL) *crl;
98 STACK_OF(X509_CRL) *crl;
Dx509_vfy.h110 X509_CRL *crl;
169 X509_CRL **crl, X509 *x);
170 typedef int (*X509_STORE_CTX_check_crl_fn)(X509_STORE_CTX *ctx, X509_CRL *crl);
172 X509_CRL *crl, X509 *x);
176 typedef STACK_OF(X509_CRL) *(*X509_STORE_CTX_lookup_crls_fn)(X509_STORE_CTX *ctx,
235 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
267 X509_CRL *current_crl; /* current CRL */
450 OPENSSL_EXPORT STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
535 OPENSSL_EXPORT int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
578 OPENSSL_EXPORT X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx);
[all …]
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dx509.h414 DEFINE_STACK_OF(X509_CRL)
415 DECLARE_ASN1_SET_OF(X509_CRL)
438 X509_CRL *crl;
535 OPENSSL_EXPORT long X509_CRL_get_version(const X509_CRL *crl);
538 OPENSSL_EXPORT const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
541 OPENSSL_EXPORT const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
545 OPENSSL_EXPORT ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl);
549 OPENSSL_EXPORT ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl);
553 OPENSSL_EXPORT X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl);
560 OPENSSL_EXPORT STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl);
[all …]
Dpkcs7.h34 DECLARE_STACK_OF(X509_CRL)
60 OPENSSL_EXPORT int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs);
64 OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls);
81 OPENSSL_EXPORT int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls,
93 STACK_OF(X509_CRL) *crl;
98 STACK_OF(X509_CRL) *crl;
Dx509_vfy.h110 X509_CRL *crl;
169 X509_CRL **crl, X509 *x);
170 typedef int (*X509_STORE_CTX_check_crl_fn)(X509_STORE_CTX *ctx, X509_CRL *crl);
172 X509_CRL *crl, X509 *x);
176 typedef STACK_OF(X509_CRL) *(*X509_STORE_CTX_lookup_crls_fn)(X509_STORE_CTX *ctx,
235 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
267 X509_CRL *current_crl; /* current CRL */
450 OPENSSL_EXPORT STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
535 OPENSSL_EXPORT int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
578 OPENSSL_EXPORT X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx);
[all …]
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc555 bssl::UniquePtr<STACK_OF(X509_CRL)> crls(sk_X509_CRL_new_null()); in TestCRLReparse()
557 bssl::UniquePtr<STACK_OF(X509_CRL)> crls2(sk_X509_CRL_new_null()); in TestCRLReparse()
579 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
580 X509_CRL *b = sk_X509_CRL_value(crls2.get(), i); in TestCRLReparse()
598 const STACK_OF(X509_CRL) *crls3 = pkcs7_obj->d.sign->crl; in TestCRLReparse()
601 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
602 X509_CRL *b = sk_X509_CRL_value(crls3, i); in TestCRLReparse()
612 const STACK_OF(X509_CRL) *crls4 = pkcs7_obj->d.sign->crl; in TestCRLReparse()
615 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
616 X509_CRL *b = sk_X509_CRL_value(crls4, i); in TestCRLReparse()
[all …]
Dpkcs7_x509.c65 int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs) { in PKCS7_get_CRLs()
90 X509_CRL *crl; in PKCS7_get_CRLs()
150 int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls, BIO *pem_bio) { in PKCS7_get_PEM_CRLs()
203 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb()
214 X509_CRL *crl = sk_X509_CRL_value(crls, i); in pkcs7_bundle_crls_cb()
228 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc555 bssl::UniquePtr<STACK_OF(X509_CRL)> crls(sk_X509_CRL_new_null()); in TestCRLReparse()
557 bssl::UniquePtr<STACK_OF(X509_CRL)> crls2(sk_X509_CRL_new_null()); in TestCRLReparse()
579 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
580 X509_CRL *b = sk_X509_CRL_value(crls2.get(), i); in TestCRLReparse()
598 const STACK_OF(X509_CRL) *crls3 = pkcs7_obj->d.sign->crl; in TestCRLReparse()
601 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
602 X509_CRL *b = sk_X509_CRL_value(crls3, i); in TestCRLReparse()
612 const STACK_OF(X509_CRL) *crls4 = pkcs7_obj->d.sign->crl; in TestCRLReparse()
615 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
616 X509_CRL *b = sk_X509_CRL_value(crls4, i); in TestCRLReparse()
[all …]
Dpkcs7_x509.c65 int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs) { in PKCS7_get_CRLs()
90 X509_CRL *crl; in PKCS7_get_CRLs()
150 int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls, BIO *pem_bio) { in PKCS7_get_PEM_CRLs()
203 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb()
214 X509_CRL *crl = sk_X509_CRL_value(crls, i); in pkcs7_bundle_crls_cb()
228 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_all.c127 IMPLEMENT_PEM_rw(X509_CRL, X509_CRL, PEM_STRING_X509_CRL, X509_CRL) in IMPLEMENT_PEM_rw()
/external/boringssl/src/crypto/pem/
Dpem_all.c127 IMPLEMENT_PEM_rw(X509_CRL, X509_CRL, PEM_STRING_X509_CRL, X509_CRL) in IMPLEMENT_PEM_rw()

123