Lines Matching refs:crl

23     if (x->crl.version == NULL) {  in X509_CRL_set_version()
24 if ((x->crl.version = ASN1_INTEGER_new()) == NULL) in X509_CRL_set_version()
27 if (!ASN1_INTEGER_set(x->crl.version, version)) in X509_CRL_set_version()
29 x->crl.enc.modified = 1; in X509_CRL_set_version()
37 if (!X509_NAME_set(&x->crl.issuer, name)) in X509_CRL_set_issuer_name()
39 x->crl.enc.modified = 1; in X509_CRL_set_issuer_name()
47 return ossl_x509_set1_time(&x->crl.enc.modified, &x->crl.lastUpdate, tm); in X509_CRL_set1_lastUpdate()
54 return ossl_x509_set1_time(&x->crl.enc.modified, &x->crl.nextUpdate, tm); in X509_CRL_set1_nextUpdate()
65 sk_X509_REVOKED_sort(c->crl.revoked); in X509_CRL_sort()
66 for (i = 0; i < sk_X509_REVOKED_num(c->crl.revoked); i++) { in X509_CRL_sort()
67 r = sk_X509_REVOKED_value(c->crl.revoked, i); in X509_CRL_sort()
70 c->crl.enc.modified = 1; in X509_CRL_sort()
74 int X509_CRL_up_ref(X509_CRL *crl) in X509_CRL_up_ref() argument
78 if (CRYPTO_UP_REF(&crl->references, &i) <= 0) in X509_CRL_up_ref()
81 REF_PRINT_COUNT("X509_CRL", crl); in X509_CRL_up_ref()
86 long X509_CRL_get_version(const X509_CRL *crl) in X509_CRL_get_version() argument
88 return ASN1_INTEGER_get(crl->crl.version); in X509_CRL_get_version()
91 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl) in X509_CRL_get0_lastUpdate() argument
93 return crl->crl.lastUpdate; in X509_CRL_get0_lastUpdate()
96 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl) in X509_CRL_get0_nextUpdate() argument
98 return crl->crl.nextUpdate; in X509_CRL_get0_nextUpdate()
102 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) in X509_CRL_get_lastUpdate() argument
104 return crl->crl.lastUpdate; in X509_CRL_get_lastUpdate()
107 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl) in X509_CRL_get_nextUpdate() argument
109 return crl->crl.nextUpdate; in X509_CRL_get_nextUpdate()
113 X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl) in X509_CRL_get_issuer() argument
115 return crl->crl.issuer; in X509_CRL_get_issuer()
118 const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl) in STACK_OF()
120 return crl->crl.extensions; in STACK_OF()
123 STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl) in STACK_OF()
125 return crl->crl.revoked; in STACK_OF()
128 void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, in X509_CRL_get0_signature() argument
132 *psig = &crl->signature; in X509_CRL_get0_signature()
134 *palg = &crl->sig_alg; in X509_CRL_get0_signature()
137 int X509_CRL_get_signature_nid(const X509_CRL *crl) in X509_CRL_get_signature_nid() argument
139 return OBJ_obj2nid(crl->sig_alg.algorithm); in X509_CRL_get_signature_nid()
177 int i2d_re_X509_CRL_tbs(X509_CRL *crl, unsigned char **pp) in i2d_re_X509_CRL_tbs() argument
179 crl->crl.enc.modified = 1; in i2d_re_X509_CRL_tbs()
180 return i2d_X509_CRL_INFO(&crl->crl, pp); in i2d_re_X509_CRL_tbs()