Go to the documentation of this file.
62 #include "../internal.h"
69 if (
x->crl->version == NULL) {
78 if ((
x == NULL) || (
x->crl == NULL))
89 in =
x->crl->lastUpdate;
94 x->crl->lastUpdate =
in;
106 in =
x->crl->nextUpdate;
111 x->crl->nextUpdate =
in;
124 sk_X509_REVOKED_sort(
c->crl->revoked);
125 for (
i = 0;
i < sk_X509_REVOKED_num(
c->crl->revoked);
i++) {
126 r = sk_X509_REVOKED_value(
c->crl->revoked,
i);
129 c->crl->enc.modified = 1;
171 return crl->
crl->revoked;
176 return crl->
crl->extensions;
241 return r->extensions;
262 if (copy1 == NULL || copy2 == NULL) {
int X509_CRL_set_version(X509_CRL *x, long version)
#define X509_REVOKED_get0_extensions
CRYPTO_refcount_t references
#define X509_CRL_get0_extensions
int X509_CRL_sort(X509_CRL *c)
ASN1_TIME * revocationDate
int X509_CRL_set1_signature_algo(X509_CRL *crl, const X509_ALGOR *algo)
OPENSSL_EXPORT void ASN1_TIME_free(ASN1_TIME *str)
X509_NAME * X509_CRL_get_issuer(const X509_CRL *crl)
OPENSSL_EXPORT ASN1_INTEGER * ASN1_INTEGER_new(void)
void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, const X509_ALGOR **palg)
int X509_CRL_up_ref(X509_CRL *crl)
ASN1_TIME * X509_CRL_get_lastUpdate(X509_CRL *crl)
long X509_CRL_get_version(const X509_CRL *crl)
const ASN1_TIME * X509_CRL_get0_nextUpdate(const X509_CRL *crl)
int i2d_X509_CRL_tbs(X509_CRL *crl, unsigned char **outp)
#define ASN1_STRING_FLAG_BITS_LEFT
OPENSSL_EXPORT void ASN1_INTEGER_free(ASN1_INTEGER *str)
#define X509_CRL_get_REVOKED
#define i2d_X509_CRL_INFO
const ASN1_TIME * X509_REVOKED_get0_revocationDate(const X509_REVOKED *revoked)
int X509_REVOKED_set_serialNumber(X509_REVOKED *revoked, const ASN1_INTEGER *serial)
const ASN1_INTEGER * X509_REVOKED_get0_serialNumber(const X509_REVOKED *revoked)
int X509_REVOKED_set_revocationDate(X509_REVOKED *revoked, const ASN1_TIME *tm)
ASN1_INTEGER * serialNumber
int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm)
const ASN1_TIME * X509_CRL_get0_lastUpdate(const X509_CRL *crl)
int i2d_re_X509_CRL_tbs(X509_CRL *crl, unsigned char **outp)
OPENSSL_EXPORT X509_ALGOR * X509_ALGOR_dup(X509_ALGOR *xn)
int X509_CRL_get_signature_nid(const X509_CRL *crl)
#define CRYPTO_refcount_inc
int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm)
ASN1_TIME * X509_CRL_get_nextUpdate(X509_CRL *crl)
int X509_CRL_set1_signature_value(X509_CRL *crl, const uint8_t *sig, size_t sig_len)
int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name)
ASN1_BIT_STRING * signature
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:56