Home
last modified time | relevance | path

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

12345

/third_party/openssl/crypto/x509/
Dx509cset.c19 int X509_CRL_set_version(X509_CRL *x, long version) in X509_CRL_set_version()
30 int X509_CRL_set_issuer_name(X509_CRL *x, const X509_NAME *name) in X509_CRL_set_issuer_name()
37 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_lastUpdate()
44 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_nextUpdate()
51 int X509_CRL_sort(X509_CRL *c) in X509_CRL_sort()
67 int X509_CRL_up_ref(X509_CRL *crl) in X509_CRL_up_ref()
79 long X509_CRL_get_version(const X509_CRL *crl) in X509_CRL_get_version()
84 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl) in X509_CRL_get0_lastUpdate()
89 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl) in X509_CRL_get0_nextUpdate()
95 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) in X509_CRL_get_lastUpdate()
[all …]
Dx_crl.c20 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
28 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r);
29 static int def_crl_lookup(X509_CRL *crl,
82 static int crl_set_issuers(X509_CRL *crl)
159 X509_CRL *crl = (X509_CRL *)*pval; in crl_cb()
275 X509_CRL *old = exarg; in crl_cb()
287 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp) in setup_idp()
324 ASN1_SEQUENCE_ref(X509_CRL, crl_cb) = {
325 ASN1_EMBED(X509_CRL, crl, X509_CRL_INFO),
326 ASN1_EMBED(X509_CRL, sig_alg, X509_ALGOR),
[all …]
Dx509_ext.c19 int X509_CRL_get_ext_count(const X509_CRL *x) in X509_CRL_get_ext_count()
24 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID()
29 int X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj, in X509_CRL_get_ext_by_OBJ()
35 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical()
40 X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc) in X509_CRL_get_ext()
45 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext()
50 void *X509_CRL_get_ext_d2i(const X509_CRL *x, int nid, int *crit, int *idx) in X509_CRL_get_ext_d2i()
55 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, in X509_CRL_add1_ext_i2d()
61 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext()
Dx509_local.h67 int (*crl_init) (X509_CRL *crl);
68 int (*crl_free) (X509_CRL *crl);
69 int (*crl_lookup) (X509_CRL *crl, X509_REVOKED **ret,
71 int (*crl_verify) (X509_CRL *crl, EVP_PKEY *pk);
133 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
135 int (*check_crl) (X509_STORE_CTX *ctx, X509_CRL *crl);
137 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
143 STACK_OF(X509_CRL) *(*lookup_crls) (const X509_STORE_CTX *ctx,
Dx_all.c136 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
148 int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx) in X509_CRL_sign_ctx()
160 X509_CRL *X509_CRL_load_http(const char *url, BIO *bio, BIO *rbio, int timeout) in X509_CRL_load_http()
162 return (X509_CRL *)simple_get_asn1(url, bio, rbio, timeout, in X509_CRL_load_http()
163 ASN1_ITEM_rptr(X509_CRL)); in X509_CRL_load_http()
196 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp()
198 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
201 int i2d_X509_CRL_fp(FILE *fp, const X509_CRL *crl) in i2d_X509_CRL_fp()
203 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
207 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio()
[all …]
Dx509_vfy.c64 unsigned int *preasons, X509_CRL *crl, X509 *x);
66 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
67 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl,
68 int *pcrl_score, X509_CRL *base,
69 STACK_OF(X509_CRL) *crls);
70 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, X509 **pissuer,
72 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
934 X509_CRL *crl = NULL, *dcrl = NULL; in check_cert()
1005 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify) in check_crl_time()
1056 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk()
[all …]
Dt_crl.c19 int X509_CRL_print_fp(FILE *fp, X509_CRL *x) in X509_CRL_print_fp()
35 int X509_CRL_print(BIO *out, X509_CRL *x) in X509_CRL_print()
40 int X509_CRL_print_ex(BIO *out, X509_CRL *x, unsigned long nmflag) in X509_CRL_print_ex()
Dx509_cmp.c85 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b) in X509_CRL_cmp()
90 int X509_CRL_match(const X509_CRL *a, const X509_CRL *b) in X509_CRL_match()
537 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb()
553 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb()
/third_party/openssl/ohos_lite/include/openssl/
Dx509.h228 DEFINE_STACK_OF(X509_CRL)
247 X509_CRL *crl;
335 X509_CRL_METHOD *X509_CRL_METHOD_new(int (*crl_init) (X509_CRL *crl),
336 int (*crl_free) (X509_CRL *crl),
337 int (*crl_lookup) (X509_CRL *crl,
341 int (*crl_verify) (X509_CRL *crl,
345 void X509_CRL_set_meth_data(X509_CRL *crl, void *dat);
346 void *X509_CRL_get_meth_data(X509_CRL *crl);
353 int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
374 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md);
[all …]
Dx509_vfy.h71 X509_CRL **crl, X509 *x);
72 typedef int (*X509_STORE_CTX_check_crl_fn)(X509_STORE_CTX *ctx, X509_CRL *crl);
74 X509_CRL *crl, X509 *x);
78 typedef STACK_OF(X509_CRL) *(*X509_STORE_CTX_lookup_crls_fn)(X509_STORE_CTX *ctx,
269 X509_CRL *X509_OBJECT_get0_X509_CRL(X509_OBJECT *a);
270 int X509_OBJECT_set1_X509_CRL(X509_OBJECT *a, X509_CRL *obj);
279 STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
452 int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
500 X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx);
506 void X509_STORE_CTX_set0_crls(X509_STORE_CTX *c, STACK_OF(X509_CRL) *sk);
Dstore.h128 OSSL_STORE_INFO *OSSL_STORE_INFO_new_CRL(X509_CRL *crl);
144 X509_CRL *OSSL_STORE_INFO_get0_CRL(const OSSL_STORE_INFO *info);
145 X509_CRL *OSSL_STORE_INFO_get1_CRL(const OSSL_STORE_INFO *info);
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dx509.rs37 pub enum X509_CRL {}
40 pub struct X509_CRL {
228 pub fn X509_CRL_new() -> *mut X509_CRL; in X509_CRL_new()
229 pub fn X509_CRL_free(x: *mut X509_CRL); in X509_CRL_free() argument
231 a: *mut *mut X509_CRL, in d2i_X509_CRL() argument
234 ) -> *mut X509_CRL; in d2i_X509_CRL() argument
238 pub fn i2d_X509_CRL(x: #[const_ptr_if(ossl300)] X509_CRL, buf: *mut *mut u8) -> c_int;
240 pub fn X509_CRL_dup(x: #[const_ptr_if(ossl300)] X509_CRL) -> *mut X509_CRL;
382 pub fn X509_CRL_sign(x: *mut X509_CRL, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int; in X509_CRL_sign() argument
384 x: *const X509_CRL, in X509_CRL_digest() argument
[all …]
Dpem.rs17 … pub fn PEM_write_bio_X509_CRL(bio: *mut BIO, x509: #[const_ptr_if(ossl300)] X509_CRL) -> c_int;
95 out: *mut *mut X509_CRL, in PEM_read_bio_X509_CRL() argument
98 ) -> *mut X509_CRL; in PEM_read_bio_X509_CRL() argument
/third_party/openssl/test/
Dcrltest.c201 static X509_CRL *CRL_from_strings(const char **pem) in CRL_from_strings()
203 X509_CRL *crl; in CRL_from_strings()
246 static int verify(X509 *leaf, X509 *root, STACK_OF(X509_CRL) *crls, in verify()
294 static STACK_OF(X509_CRL) *make_CRL_stack(X509_CRL *x1, X509_CRL *x2) in STACK_OF() argument
296 STACK_OF(X509_CRL) *sk = sk_X509_CRL_new_null(); in STACK_OF()
309 X509_CRL *basic_crl = CRL_from_strings(kBasicCRL); in test_basic_crl()
310 X509_CRL *revoked_crl = CRL_from_strings(kRevokedCRL); in test_basic_crl()
335 X509_CRL *bad_issuer_crl = CRL_from_strings(kBadIssuerCRL); in test_bad_issuer_crl()
349 X509_CRL *known_critical_crl = CRL_from_strings(kKnownCriticalCRL); in test_known_critical_crl()
362 X509_CRL *unknown_critical_crl = CRL_from_strings(unknown_critical_crls[n]); in test_unknown_critical_crl()
[all …]
/third_party/openssl/include/openssl/
Dx509.h.in54 .generate_stack_macros("X509_CRL");
211 X509_CRL *crl;
300 X509_CRL_METHOD *X509_CRL_METHOD_new(int (*crl_init) (X509_CRL *crl),
301 int (*crl_free) (X509_CRL *crl),
302 int (*crl_lookup) (X509_CRL *crl,
308 int (*crl_verify) (X509_CRL *crl,
312 void X509_CRL_set_meth_data(X509_CRL *crl, void *dat);
313 void *X509_CRL_get_meth_data(X509_CRL *crl);
323 int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
341 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md);
[all …]
/third_party/openssl/ohos_lite/include/crypto/
Dx509.h203 STACK_OF(X509_CRL) *crls;
219 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
221 int (*check_crl) (X509_STORE_CTX *ctx, X509_CRL *crl);
223 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
227 STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
247 X509_CRL *current_crl;
280 X509_CRL *crl;
/third_party/openssl/include/crypto/
Dx509.h223 STACK_OF(X509_CRL) *crls;
239 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
241 int (*check_crl) (X509_STORE_CTX *ctx, X509_CRL *crl);
243 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
249 STACK_OF(X509_CRL) *(*lookup_crls) (const X509_STORE_CTX *ctx,
270 X509_CRL *current_crl;
306 X509_CRL *crl;
318 int ossl_x509_crl_set0_libctx(X509_CRL *x, OSSL_LIB_CTX *libctx,
/third_party/openssl/apps/include/
Dapps.h84 int set_crl_lastupdate(X509_CRL *crl, const char *lastupdate);
85 int set_crl_nextupdate(X509_CRL *crl, const char *nextupdate,
117 X509_CRL *load_crl(const char *uri, int format, int maybe_stdin,
141 int load_crls(const char *uri, STACK_OF(X509_CRL) **crls,
148 X509_CRL **pcrl, STACK_OF(X509_CRL) **pcrls);
152 X509 **pcert, X509_CRL **pcrl);
262 int do_X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const char *md,
/third_party/openssl/doc/man3/
DX509_cmp.pod19 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b);
20 int X509_CRL_match(const X509_CRL *a, const X509_CRL *b);
45 issuer names and subject names of the X<509> objects, or issuers of B<X509_CRL>
48 The X509_CRL_match() function compares two B<X509_CRL> objects. Unlike the
DX509v3_get_ext_by_NID.pod41 int X509_CRL_get_ext_count(const X509_CRL *x);
42 X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc);
43 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos);
44 int X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj,
46 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos);
47 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc);
48 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
DX509_CRL_get0_by_serial.pod15 int X509_CRL_get0_by_serial(X509_CRL *crl,
17 int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
19 STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl);
27 int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
29 int X509_CRL_sort(X509_CRL *crl);
DX509_get0_notBefore.pod23 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
24 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
26 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
27 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
DCMS_add0_cert.pod16 int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl);
17 int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl);
18 STACK_OF(X509_CRL) *CMS_get1_crls(CMS_ContentInfo *cms);
/third_party/openssl/crypto/pkcs12/
Dp12_sbag.c94 X509_CRL *PKCS12_SAFEBAG_get1_crl(const PKCS12_SAFEBAG *bag) in PKCS12_SAFEBAG_get1_crl()
101 ASN1_ITEM_rptr(X509_CRL)); in PKCS12_SAFEBAG_get1_crl()
110 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_crl(X509_CRL *crl) in PKCS12_SAFEBAG_create_crl()
112 return PKCS12_item_pack_safebag(crl, ASN1_ITEM_rptr(X509_CRL), in PKCS12_SAFEBAG_create_crl()
/third_party/openssl/crypto/pem/
Dpem_all.c40 IMPLEMENT_PEM_rw(X509_CRL, X509_CRL, PEM_STRING_X509_CRL, X509_CRL) in IMPLEMENT_PEM_rw()

12345