Home
last modified time | relevance | path

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

12

/external/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 void 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,
151 static int crl_set_issuers(X509_CRL *crl)
225 X509_CRL *crl = (X509_CRL *)*pval; in crl_cb()
322 static void 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 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl) in X509_CRL_get0_lastUpdate()
143 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl) in X509_CRL_get0_nextUpdate()
148 void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, in X509_CRL_get0_signature()
157 int X509_CRL_get_signature_nid(const X509_CRL *crl) in X509_CRL_get_signature_nid()
[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.c114 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
121 int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx) in X509_CRL_sign_ctx()
164 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp()
166 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
169 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp()
171 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
175 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio()
177 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in d2i_X509_CRL_bio()
180 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) in i2d_X509_CRL_bio()
182 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,
880 X509_CRL *crl = NULL, *dcrl = NULL; in check_cert()
952 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify) in check_crl_time()
1006 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk()
[all …]
Dx509_test.cc673 static bssl::UniquePtr<X509_CRL> CRLFromPEM(const char *pem) { in CRLFromPEM()
675 return bssl::UniquePtr<X509_CRL>( in CRLFromPEM()
707 static bssl::UniquePtr<STACK_OF(X509_CRL)> CRLsToStack( in CRLsToStack()
708 const std::vector<X509_CRL *> &crls) { in CRLsToStack()
709 bssl::UniquePtr<STACK_OF(X509_CRL)> stack(sk_X509_CRL_new_null()); in CRLsToStack()
724 const std::vector<X509_CRL *> &crls, unsigned long flags, in Verify()
730 bssl::UniquePtr<STACK_OF(X509_CRL)> crls_stack(CRLsToStack(crls)); in Verify()
783 const std::vector<X509_CRL *> &crls, in Verify()
822 std::vector<X509_CRL*> empty_crls; in TEST()
873 std::vector<X509_CRL *> empty_crls; in TEST()
[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()
454 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()
Dx509_lu.c370 int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x) in X509_STORE_add_crl()
455 X509_CRL crl_s; in x509_object_idx_cnt()
563 STACK_OF (X509_CRL) * X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF() argument
566 STACK_OF(X509_CRL) *sk; in STACK_OF()
567 X509_CRL *x; in STACK_OF()
Dby_file.c186 X509_CRL *x = NULL; in X509_load_crl_file()
/external/boringssl/src/include/openssl/
Dx509.h440 DEFINE_STACK_OF(X509_CRL)
441 DECLARE_ASN1_SET_OF(X509_CRL)
466 X509_CRL *crl;
534 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
535 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
548 int (*crl_init)(X509_CRL *crl),
549 int (*crl_free)(X509_CRL *crl),
550 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret,
552 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk));
555 OPENSSL_EXPORT void X509_CRL_set_meth_data(X509_CRL *crl, void *dat);
[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 */
448 OPENSSL_EXPORT STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
533 OPENSSL_EXPORT int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
576 OPENSSL_EXPORT X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx);
[all …]
Dx509v3.h142 X509_CRL *crl;
625 OPENSSL_EXPORT int X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509_CRL *c…
638 X509_REQ *req, X509_CRL *crl, int flags);
Dpem.h367 DECLARE_PEM_rw(X509_CRL, X509_CRL)
Dbase.h335 typedef struct X509_crl_st X509_CRL; typedef
/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/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/scapy/scapy/contrib/
Dikev2.py29 from scapy.layers.x509 import X509_Cert, X509_CRL
741 PacketLenField("x509CRL", X509_CRL(''), X509_CRL, length_from=lambda x:x.length-5),
/external/scapy/test/
Dx509.uts142 + X509_CRL class tests
145 x=X509_CRL(c)
195 = CRL class : Default X509_CRL from scratch
196 s = raw(X509_CRL())
197 raw(X509_CRL(s)) == s
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc4183 static void get_X509_CRL_signature(X509_CRL* crl, ASN1_BIT_STRING** signature) { in get_X509_CRL_signature()
4229 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef)); in NativeCrypto_get_X509_CRL_signature()
4231 return get_X509Type_signature<X509_CRL>(env, crl, get_X509_CRL_signature); in NativeCrypto_get_X509_CRL_signature()
4237 X509_CRL* x509crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509crlRef)); in NativeCrypto_X509_CRL_get0_by_cert()
4265 X509_CRL* x509crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509crlRef)); in NativeCrypto_X509_CRL_get0_by_serial()
4308 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef)); in NativeCrypto_X509_CRL_get_REVOKED()
4337 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef)); in NativeCrypto_i2d_X509_CRL()
4339 return ASN1ToByteArray<X509_CRL>(env, crl, i2d_X509_CRL); in NativeCrypto_i2d_X509_CRL()
4344 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef)); in NativeCrypto_X509_CRL_free()
4359 X509_CRL* crl = reinterpret_cast<X509_CRL*>(static_cast<uintptr_t>(x509CrlRef)); in NativeCrypto_X509_CRL_print()
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_conf.c366 X509_CRL *crl) in X509V3_EXT_CRL_add_nconf()
456 X509_CRL *crl, int flags) in X509V3_set_ctx()
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py851 X509_CRL = X509_crl_st variable
1813 ('crl', POINTER(X509_CRL)),
1921 ('crl', POINTER(X509_CRL)),
1965 … ('get_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(POINTER(X509_CRL)), POINTER(X509))),
1966 ('check_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL))),
1967 ('cert_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL), POINTER(X509))),
2000 … ('get_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(POINTER(X509_CRL)), POINTER(X509))),
2001 ('check_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL))),
2002 ('cert_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL), POINTER(X509))),
2012 ('current_crl', POINTER(X509_CRL)),
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py851 X509_CRL = X509_crl_st variable
1813 ('crl', POINTER(X509_CRL)),
1921 ('crl', POINTER(X509_CRL)),
1965 … ('get_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(POINTER(X509_CRL)), POINTER(X509))),
1966 ('check_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL))),
1967 ('cert_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL), POINTER(X509))),
2000 … ('get_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(POINTER(X509_CRL)), POINTER(X509))),
2001 ('check_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL))),
2002 ('cert_crl', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX), POINTER(X509_CRL), POINTER(X509))),
2012 ('current_crl', POINTER(X509_CRL)),

12