/openssl/crypto/x509/ |
H A D | x509cset.c | 19 int X509_CRL_set_version(X509_CRL *x, long version) in X509_CRL_set_version() 43 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_lastUpdate() 57 int X509_CRL_sort(X509_CRL *c) in X509_CRL_sort() 74 int X509_CRL_up_ref(X509_CRL *crl) in X509_CRL_up_ref() 86 long X509_CRL_get_version(const X509_CRL *crl) in X509_CRL_get_version() 102 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) in X509_CRL_get_lastUpdate() 107 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl) in X509_CRL_get_nextUpdate() 113 X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl) in X509_CRL_get_issuer() 123 STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl) in STACK_OF() 137 int X509_CRL_get_signature_nid(const X509_CRL *crl) in X509_CRL_get_signature_nid() [all …]
|
H A D | x_crl.c | 29 static int def_crl_lookup(X509_CRL *crl, 82 static int crl_set_issuers(X509_CRL *crl) 161 X509_CRL *crl = (X509_CRL *)*pval; in crl_cb() 277 X509_CRL *old = exarg; in crl_cb() 326 ASN1_SEQUENCE_ref(X509_CRL, crl_cb) = { 330 } ASN1_SEQUENCE_END_ref(X509_CRL, X509_CRL) 338 IMPLEMENT_ASN1_FUNCTIONS(X509_CRL) 340 IMPLEMENT_ASN1_DUP_FUNCTION(X509_CRL) 351 X509_CRL *crl = NULL; in X509_CRL_new_ex() 383 int X509_CRL_get0_by_serial(X509_CRL *crl, in X509_CRL_get0_by_serial() [all …]
|
H A D | x509_ext.c | 19 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()
|
H A D | x509_local.h | 67 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,
|
H A D | x_all.c | 119 size_t max_resp_len = (it == ASN1_ITEM_rptr(X509_CRL)) ? in simple_get_asn1() 165 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign() 177 int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx) in X509_CRL_sign_ctx() 191 return (X509_CRL *)simple_get_asn1(url, bio, rbio, timeout, in X509_CRL_load_http() 240 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() 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() 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() 256 int i2d_X509_CRL_bio(BIO *bp, const X509_CRL *crl) in i2d_X509_CRL_bio() [all …]
|
H A D | t_crl.c | 19 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()
|
H A D | x509_vfy.c | 69 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x); 1154 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk() 1161 X509_CRL *crl, *best_crl = NULL; in get_crl_sk() 1212 static int crl_extension_match(X509_CRL *a, X509_CRL *b, int nid) in crl_extension_match() 1241 static int check_delta_base(X509_CRL *delta, X509_CRL *base) in check_delta_base() 1270 X509_CRL *base, STACK_OF(X509_CRL) *crls) in get_delta_sk() 1272 X509_CRL *delta; in get_delta_sk() 1583 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x) in get_crl_delta() 1590 STACK_OF(X509_CRL) *skcrl; in get_crl_delta() 2136 X509_CRL *X509_CRL_diff(X509_CRL *base, X509_CRL *newer, in X509_CRL_diff() [all …]
|
H A D | x509_cmp.c | 85 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() 548 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb() 564 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb()
|
H A D | x509_lu.c | 401 obj->data.crl = (X509_CRL *)x; in x509_store_add() 441 int X509_STORE_add_crl(X509_STORE *xs, X509_CRL *x) in X509_STORE_add_crl() 470 X509_CRL *X509_OBJECT_get0_X509_CRL(const X509_OBJECT *a) in X509_OBJECT_get0_X509_CRL() 519 int X509_OBJECT_set1_X509_CRL(X509_OBJECT *a, X509_CRL *obj) in X509_OBJECT_set1_X509_CRL() 542 X509_CRL crl_s; in x509_object_idx_cnt() 706 STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(const X509_STORE_CTX *ctx, in STACK_OF() argument 710 STACK_OF(X509_CRL) *sk; in STACK_OF() 711 X509_CRL *x; in STACK_OF()
|
/openssl/test/ |
H A D | crltest.c | 208 static X509_CRL *CRL_from_strings(const char **pem) in CRL_from_strings() 210 X509_CRL *crl; in CRL_from_strings() 253 static int verify(X509 *leaf, X509 *root, STACK_OF(X509_CRL) *crls, in verify() 301 static STACK_OF(X509_CRL) *make_CRL_stack(X509_CRL *x1, X509_CRL *x2) in STACK_OF() argument 303 STACK_OF(X509_CRL) *sk = sk_X509_CRL_new_null(); in STACK_OF() 316 X509_CRL *basic_crl = CRL_from_strings(kBasicCRL); in test_basic_crl() 317 X509_CRL *revoked_crl = CRL_from_strings(kRevokedCRL); in test_basic_crl() 342 X509_CRL *bad_issuer_crl = CRL_from_strings(kBadIssuerCRL); in test_bad_issuer_crl() 356 X509_CRL *known_critical_crl = CRL_from_strings(kKnownCriticalCRL); in test_known_critical_crl() 383 X509_CRL *result, *reused_crl = CRL_from_strings(kBasicCRL); in test_reuse_crl() [all …]
|
/openssl/include/openssl/ |
H A D | x509.h.in | 57 .generate_stack_macros("X509_CRL"); 222 X509_CRL *crl; 387 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl); 435 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl); 485 DECLARE_ASN1_DUP_FUNCTION(X509_CRL) 608 DECLARE_ASN1_FUNCTIONS(X509_CRL) 746 int X509_CRL_sort(X509_CRL *crl); 747 int X509_CRL_up_ref(X509_CRL *crl); 776 X509_CRL *X509_CRL_diff(X509_CRL *base, X509_CRL *newer, 822 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b); [all …]
|
H A D | store.h | 178 OSSL_STORE_INFO *OSSL_STORE_INFO_new_CRL(X509_CRL *crl); 197 X509_CRL *OSSL_STORE_INFO_get0_CRL(const OSSL_STORE_INFO *info); 198 X509_CRL *OSSL_STORE_INFO_get1_CRL(const OSSL_STORE_INFO *info);
|
/openssl/include/crypto/ |
H A D | x509.h | 223 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; 307 X509_CRL *crl; 318 int ossl_x509_crl_set0_libctx(X509_CRL *x, OSSL_LIB_CTX *libctx,
|
/openssl/crypto/pkcs12/ |
H A D | p12_sbag.c | 95 X509_CRL *PKCS12_SAFEBAG_get1_crl(const PKCS12_SAFEBAG *bag) in PKCS12_SAFEBAG_get1_crl() 102 ASN1_ITEM_rptr(X509_CRL)); in PKCS12_SAFEBAG_get1_crl() 123 X509_CRL *PKCS12_SAFEBAG_get1_crl_ex(const PKCS12_SAFEBAG *bag, in PKCS12_SAFEBAG_get1_crl_ex() 126 X509_CRL *ret = NULL; in PKCS12_SAFEBAG_get1_crl_ex() 133 ASN1_ITEM_rptr(X509_CRL), libctx, propq); in PKCS12_SAFEBAG_get1_crl_ex() 147 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_crl(X509_CRL *crl) in PKCS12_SAFEBAG_create_crl() 149 return PKCS12_item_pack_safebag(crl, ASN1_ITEM_rptr(X509_CRL), in PKCS12_SAFEBAG_create_crl()
|
/openssl/doc/man3/ |
H A D | X509_cmp.pod | 19 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); 46 issuer names and subject names of the X<509> objects, or issuers of B<X509_CRL> 49 The X509_CRL_match() function compares two B<X509_CRL> objects. Unlike the
|
H A D | X509_CRL_get0_by_serial.pod | 15 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);
|
H A D | PKCS12_SAFEBAG_get1_cert.pod | 24 X509_CRL *PKCS12_SAFEBAG_get1_cert_ex(const PKCS12_SAFEBAG *bag, 27 X509_CRL *PKCS12_SAFEBAG_get1_crl_ex(const PKCS12_SAFEBAG *bag, 29 X509_CRL *PKCS12_SAFEBAG_get1_crl(const PKCS12_SAFEBAG *bag); 50 B<X509_CRL> objects from the item in the safeBag. I<libctx> and I<propq> are used when
|
H A D | X509_get0_notBefore.pod | 31 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl); 32 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl); 34 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm); 35 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm); 90 Unlike the B<X509> and B<X509_CRL> routines, the B<X509_ACERT> routines
|
H A D | X509v3_get_ext_by_NID.pod | 44 int X509_CRL_get_ext_count(const X509_CRL *x); 45 X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc); 46 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos); 47 int X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj, 49 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos); 50 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc); 51 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
|
H A D | CMS_add0_cert.pod | 17 int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl); 18 int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl); 19 STACK_OF(X509_CRL) *CMS_get1_crls(CMS_ContentInfo *cms);
|
/openssl/apps/include/ |
H A D | apps.h | 89 int set_crl_lastupdate(X509_CRL *crl, const char *lastupdate); 90 int set_crl_nextupdate(X509_CRL *crl, const char *nextupdate, 127 X509_CRL *load_crl(const char *uri, int format, int maybe_stdin, 152 int load_crls(const char *uri, STACK_OF(X509_CRL) **crls, 159 X509_CRL **pcrl, STACK_OF(X509_CRL) **pcrls); 271 int do_X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const char *md,
|
H A D | s_apps.h | 77 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls, 82 const char *chCAstore, STACK_OF(X509_CRL) *crls,
|
/openssl/crypto/pem/ |
H A D | pem_all.c | 40 IMPLEMENT_PEM_rw(X509_CRL, X509_CRL, PEM_STRING_X509_CRL, X509_CRL) in IMPLEMENT_PEM_rw()
|
/openssl/fuzz/ |
H A D | x509.c | 43 X509_CRL *crl = NULL; in FuzzerTestOneInput() 44 STACK_OF(X509_CRL) *crls = NULL; in FuzzerTestOneInput()
|
/openssl/crypto/cmp/ |
H A D | cmp_asn.c | 89 ASN1_OPT(OSSL_CMP_ITAV, infoValue.currentCRL, X509_CRL)), 131 ASN1_SEQUENCE_OF_OPT(OSSL_CMP_ITAV, infoValue.crls, X509_CRL)) 686 OSSL_CMP_CRLSTATUS *OSSL_CMP_CRLSTATUS_create(const X509_CRL *crl, in OSSL_CMP_CRLSTATUS_create() 789 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_crls(const X509_CRL *crl) in OSSL_CMP_ITAV_new_crls() 792 X509_CRL *crl_copy = NULL; in OSSL_CMP_ITAV_new_crls() 793 STACK_OF(X509_CRL) *crls = NULL; in OSSL_CMP_ITAV_new_crls() 815 int OSSL_CMP_ITAV_get0_crls(const OSSL_CMP_ITAV *itav, STACK_OF(X509_CRL) **out) in OSSL_CMP_ITAV_get0_crls() 921 ASN1_EXP_SEQUENCE_OF_OPT(OSSL_CMP_REVREPCONTENT, crls, X509_CRL, 1) 1012 OSSL_CMP_CRLANNCONTENT, X509_CRL)
|