Home
last modified time | relevance | path

Searched refs:crl (Results 1 – 25 of 98) sorted by relevance

1234

/openssl/crypto/x509/
H A Dx_crl.c169 if (!crl->meth->crl_free(crl)) in crl_cb()
195 crl->idp = X509_CRL_get_ext_d2i(crl, in crl_cb()
199 if (!setup_idp(crl, crl->idp)) in crl_cb()
206 crl->akid = X509_CRL_get_ext_d2i(crl, in crl_cb()
233 exts = crl->crl.extensions; in crl_cb()
256 if (crl->meth->crl_init(crl) == 0) in crl_cb()
265 if (!crl->meth->crl_free(crl)) in crl_cb()
365 inf = &crl->crl; in X509_CRL_add0_revoked()
379 return crl->meth->crl_verify(crl, r); in X509_CRL_verify()
403 &crl->sig_alg, &crl->signature, &crl->crl, NULL, in def_crl_verify()
[all …]
H A Dx509cset.c47 return ossl_x509_set1_time(&x->crl.enc.modified, &x->crl.lastUpdate, tm); in X509_CRL_set1_lastUpdate()
88 return ASN1_INTEGER_get(crl->crl.version); in X509_CRL_get_version()
93 return crl->crl.lastUpdate; in X509_CRL_get0_lastUpdate()
98 return crl->crl.nextUpdate; in X509_CRL_get0_nextUpdate()
104 return crl->crl.lastUpdate; in X509_CRL_get_lastUpdate()
109 return crl->crl.nextUpdate; in X509_CRL_get_nextUpdate()
115 return crl->crl.issuer; in X509_CRL_get_issuer()
120 return crl->crl.extensions; in STACK_OF()
125 return crl->crl.revoked; in STACK_OF()
179 crl->crl.enc.modified = 1; in i2d_re_X509_CRL_tbs()
[all …]
H A Dx509_ext.c21 return X509v3_get_ext_count(x->crl.extensions); in X509_CRL_get_ext_count()
26 return X509v3_get_ext_by_NID(x->crl.extensions, nid, lastpos); in X509_CRL_get_ext_by_NID()
32 return X509v3_get_ext_by_OBJ(x->crl.extensions, obj, lastpos); in X509_CRL_get_ext_by_OBJ()
37 return X509v3_get_ext_by_critical(x->crl.extensions, crit, lastpos); in X509_CRL_get_ext_by_critical()
42 return X509v3_get_ext(x->crl.extensions, loc); in X509_CRL_get_ext()
47 return X509v3_delete_ext(x->crl.extensions, loc); in X509_CRL_delete_ext()
52 return X509V3_get_d2i(x->crl.extensions, nid, crit, idx); in X509_CRL_get_ext_d2i()
58 return X509V3_add1_i2d(&x->crl.extensions, nid, value, crit, flags); in X509_CRL_add1_ext_i2d()
63 return (X509v3_add_ext(&(x->crl.extensions), ex, loc) != NULL); in X509_CRL_add_ext()
H A 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);
H A Dx509_vfy.c1081 X509_CRL_free(crl); in check_cert()
1083 crl = NULL; in check_cert()
1095 X509_CRL_free(crl); in check_cert()
1184 best_crl = crl; in get_crl_sk()
1574 return (crl->idp == NULL || crl->idp->distpoint == NULL) in crl_crldp_check()
1612 if (crl != NULL) { in get_crl_delta()
1616 *pcrl = crl; in get_crl_delta()
2139 X509_CRL *crl = NULL; in X509_CRL_diff() local
2181 if (crl == NULL || !X509_CRL_set_version(crl, X509_CRL_VERSION_2)) { in X509_CRL_diff()
2250 return crl; in X509_CRL_diff()
[all …]
H A Dx509_lu.c173 ret = X509_CRL_cmp((*a)->data.crl, (*b)->data.crl); in x509_object_cmp()
388 static int x509_store_add(X509_STORE *store, void *x, int crl) in x509_store_add() argument
399 if (crl) { in x509_store_add()
401 obj->data.crl = (X509_CRL *)x; in x509_store_add()
458 return X509_CRL_up_ref(a->data.crl); in X509_OBJECT_up_ref_count()
474 return a->data.crl; in X509_OBJECT_get0_X509_CRL()
503 X509_CRL_free(a->data.crl); in x509_object_free_internal()
526 a->data.crl = obj; in X509_OBJECT_set1_X509_CRL()
551 stmp.data.crl = &crl_s; in x509_object_idx_cnt()
735 x = obj->data.crl; in STACK_OF()
[all …]
H A Dx_all.c171 x->crl.enc.modified = 1; in X509_CRL_sign()
183 x->crl.enc.modified = 1; in X509_CRL_sign_ctx()
186 &x->crl, ctx); in X509_CRL_sign_ctx()
240 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() argument
242 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
245 int i2d_X509_CRL_fp(FILE *fp, const X509_CRL *crl) in i2d_X509_CRL_fp() argument
247 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
251 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio() argument
253 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in d2i_X509_CRL_bio()
256 int i2d_X509_CRL_bio(BIO *bp, const X509_CRL *crl) in i2d_X509_CRL_bio() argument
[all …]
H A Dv3_conf.c373 X509_CRL *crl) in X509V3_EXT_CRL_add_nconf() argument
376 if (crl != NULL) in X509V3_EXT_CRL_add_nconf()
377 sk = &crl->crl.extensions; in X509V3_EXT_CRL_add_nconf()
465 X509_CRL *crl, int flags) in X509V3_set_ctx() argument
475 ctx->crl = crl; in X509V3_set_ctx()
573 const char *section, X509_CRL *crl) in X509V3_EXT_CRL_add_conf() argument
581 ret = X509V3_EXT_CRL_add_nconf(ctmp, ctx, section, crl); in X509V3_EXT_CRL_add_conf()
/openssl/fuzz/
H A Dcrl.c29 X509_CRL *crl = d2i_X509_CRL(NULL, &p, len); in FuzzerTestOneInput() local
30 if (crl != NULL) { in FuzzerTestOneInput()
32 X509_CRL_print(bio, crl); in FuzzerTestOneInput()
35 i2d_X509_CRL(crl, &der); in FuzzerTestOneInput()
38 X509_CRL_free(crl); in FuzzerTestOneInput()
H A Dx509.c43 X509_CRL *crl = NULL; in FuzzerTestOneInput() local
73 crl = d2i_X509_CRL(NULL, &p, len); in FuzzerTestOneInput()
74 if (crl == NULL) in FuzzerTestOneInput()
99 if (crl != NULL) { in FuzzerTestOneInput()
104 sk_X509_CRL_push(crls, crl); in FuzzerTestOneInput()
139 X509_CRL_free(crl); in FuzzerTestOneInput()
H A Dbuild.info12 PROGRAMS{noinst}=asn1 asn1parse bignum bndiv client conf crl server smime
73 SOURCE[crl]=crl.c driver.c
74 INCLUDE[crl]=../include {- $ex_inc -}
75 DEPEND[crl]=../libcrypto {- $ex_lib -}
147 …PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test se…
210 SOURCE[crl-test]=crl.c test-corpus.c
211 INCLUDE[crl-test]=../include
212 DEPEND[crl-test]=../libcrypto
/openssl/apps/
H A Dcrl2pkcs7.c57 X509_CRL *crl = NULL; in crl2pkcs7_main() local
116 crl = d2i_X509_CRL_bio(in, NULL); in crl2pkcs7_main()
118 crl = PEM_read_bio_X509_CRL(in, NULL, NULL, NULL); in crl2pkcs7_main()
119 if (crl == NULL) { in crl2pkcs7_main()
137 if (crl != NULL) { in crl2pkcs7_main()
140 p7s->crl = crl_stack; in crl2pkcs7_main()
141 sk_X509_CRL_push(crl_stack, crl); in crl2pkcs7_main()
142 crl = NULL; /* now part of p7 for OPENSSL_freeing */ in crl2pkcs7_main()
179 X509_CRL_free(crl); in crl2pkcs7_main()
H A Dpkcs7.c159 crls = p7->d.sign->crl; in pkcs7_main()
165 crls = p7->d.signed_and_enveloped->crl; in pkcs7_main()
188 X509_CRL *crl; in pkcs7_main() local
191 crl = sk_X509_CRL_value(crls, i); in pkcs7_main()
193 X509_CRL_print_ex(out, crl, get_nameopt()); in pkcs7_main()
196 PEM_write_bio_X509_CRL(out, crl); in pkcs7_main()
/openssl/doc/man3/
H A 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);
33 X509_CRL_get0_by_serial() attempts to find a revoked entry in I<crl> for
42 revoked entries for I<crl>.
58 X509_CRL_add0_revoked() appends revoked entry I<rev> to CRL I<crl>. The
62 X509_CRL_sort() sorts the revoked entries of I<crl> into ascending serial
H A DX509_get0_notBefore.pod31 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
32 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
65 B<lastUpdate> and B<nextUpdate> fields of I<crl>. The value
67 the call. If the B<nextUpdate> field is absent from I<crl> then
71 and B<nextUpdate> fields of I<crl> to I<tm>. Ownership of the passed parameter
/openssl/test/
H A Dx509_load_cert_file_test.c15 static const char *crl; variable
40 if (crl != NULL && !TEST_true(X509_load_crl_file(lookup, crl, X509_FILETYPE_PEM))) in test_load_cert_file()
65 crl = test_get_argument(1); in setup_tests()
H A Dx509_test.c113 X509_CRL *crl = NULL; in test_x509_crl_tbs_cache() local
116 ret = TEST_ptr(crl = d2i_X509_CRL(NULL, &p, sizeof(crldata))) in test_x509_crl_tbs_cache()
117 && TEST_int_gt(X509_CRL_sign(crl, privkey, signmd), 0) in test_x509_crl_tbs_cache()
118 && TEST_int_eq(X509_CRL_verify(crl, pubkey), 1); in test_x509_crl_tbs_cache()
120 X509_CRL_free(crl); in test_x509_crl_tbs_cache()
H A Dtest.cnf11 crl_dir = $dir/crl # Where the issued crl are kept
17 crl = $dir/crl.pem # The current CRL
H A Dca-and-certs.cnf61 crl_dir = $dir/crl
66 crl = $dir/crl.pem
/openssl/test/recipes/90-test_includes_data/conf-includes/
H A Dincludes1.cnf16 crl_dir = $dir/crl # Where the issued crl are kept
22 crl = $dir/crl.pem # The current CRL
/openssl/doc/man1/
H A Dopenssl-crl.pod.in6 openssl-crl - CRL command
10 B<openssl> B<crl>
149 openssl crl -in crl.pem -outform DER -out crl.der
153 openssl crl -in crl.der -text -noout
/openssl/crypto/store/
H A Dstore_result.c507 X509_CRL *crl; in try_crl() local
509 crl = d2i_X509_CRL(NULL, (const unsigned char **)&data->octet_data, in try_crl()
512 if (crl != NULL) in try_crl()
516 if (crl != NULL && !ossl_x509_crl_set0_libctx(crl, libctx, propq)) { in try_crl()
517 X509_CRL_free(crl); in try_crl()
518 crl = NULL; in try_crl()
521 if (crl != NULL) in try_crl()
522 *v = OSSL_STORE_INFO_new_CRL(crl); in try_crl()
524 X509_CRL_free(crl); in try_crl()
/openssl/tools/
H A Dc_rehash.in146 FILE: foreach $fname (grep {/\.(pem|crt|cer|crl)$/} @flist) {
148 my ($cert, $crl) = check_file($fname);
149 if (!$cert && !$crl) {
154 link_hash_crl($fname) if ($crl);
/openssl/crypto/cms/
H A Dcms_lib.c599 int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl) in CMS_add0_crl() argument
606 rch->d.crl = crl; in CMS_add0_crl()
610 int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl) in CMS_add1_crl() argument
612 if (!X509_CRL_up_ref(crl)) in CMS_add1_crl()
614 if (CMS_add0_crl(cms, crl)) in CMS_add1_crl()
616 X509_CRL_free(crl); in CMS_add1_crl()
668 if (!sk_X509_CRL_push(crls, rch->d.crl) in STACK_OF()
669 || !X509_CRL_up_ref(rch->d.crl)) { in STACK_OF()
/openssl/include/crypto/
H A Dx509.h101 X509_CRL_INFO crl; /* signed CRL data */ member
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);
307 X509_CRL *crl; member

Completed in 45 milliseconds

1234