Lines Matching refs:x
19 int X509_CRL_get_ext_count(const X509_CRL *x) in X509_CRL_get_ext_count() argument
21 return X509v3_get_ext_count(x->crl.extensions); 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() argument
26 return X509v3_get_ext_by_NID(x->crl.extensions, nid, 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() argument
32 return X509v3_get_ext_by_OBJ(x->crl.extensions, obj, lastpos); 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() argument
37 return X509v3_get_ext_by_critical(x->crl.extensions, crit, 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() argument
42 return X509v3_get_ext(x->crl.extensions, loc); in X509_CRL_get_ext()
45 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext() argument
47 return X509v3_delete_ext(x->crl.extensions, 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() argument
52 return X509V3_get_d2i(x->crl.extensions, nid, crit, 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() argument
58 return X509V3_add1_i2d(&x->crl.extensions, nid, value, crit, flags); 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() argument
63 return (X509v3_add_ext(&(x->crl.extensions), ex, loc) != NULL); in X509_CRL_add_ext()
66 int X509_get_ext_count(const X509 *x) in X509_get_ext_count() argument
68 return X509v3_get_ext_count(x->cert_info.extensions); in X509_get_ext_count()
71 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
73 return X509v3_get_ext_by_NID(x->cert_info.extensions, nid, lastpos); in X509_get_ext_by_NID()
76 int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument
78 return X509v3_get_ext_by_OBJ(x->cert_info.extensions, obj, lastpos); in X509_get_ext_by_OBJ()
81 int X509_get_ext_by_critical(const X509 *x, int crit, int lastpos) in X509_get_ext_by_critical() argument
84 (x->cert_info.extensions, crit, lastpos)); in X509_get_ext_by_critical()
87 X509_EXTENSION *X509_get_ext(const X509 *x, int loc) in X509_get_ext() argument
89 return X509v3_get_ext(x->cert_info.extensions, loc); in X509_get_ext()
92 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext() argument
94 return X509v3_delete_ext(x->cert_info.extensions, loc); in X509_delete_ext()
97 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext() argument
99 return (X509v3_add_ext(&(x->cert_info.extensions), ex, loc) != NULL); in X509_add_ext()
102 void *X509_get_ext_d2i(const X509 *x, int nid, int *crit, int *idx) in X509_get_ext_d2i() argument
104 return X509V3_get_d2i(x->cert_info.extensions, nid, crit, idx); in X509_get_ext_d2i()
107 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, in X509_add1_ext_i2d() argument
110 return X509V3_add1_i2d(&x->cert_info.extensions, nid, value, crit, in X509_add1_ext_i2d()
114 int X509_REVOKED_get_ext_count(const X509_REVOKED *x) in X509_REVOKED_get_ext_count() argument
116 return X509v3_get_ext_count(x->extensions); in X509_REVOKED_get_ext_count()
119 int X509_REVOKED_get_ext_by_NID(const X509_REVOKED *x, int nid, int lastpos) in X509_REVOKED_get_ext_by_NID() argument
121 return X509v3_get_ext_by_NID(x->extensions, nid, lastpos); in X509_REVOKED_get_ext_by_NID()
124 int X509_REVOKED_get_ext_by_OBJ(const X509_REVOKED *x, const ASN1_OBJECT *obj, in X509_REVOKED_get_ext_by_OBJ() argument
127 return X509v3_get_ext_by_OBJ(x->extensions, obj, lastpos); in X509_REVOKED_get_ext_by_OBJ()
130 int X509_REVOKED_get_ext_by_critical(const X509_REVOKED *x, int crit, int lastpos) in X509_REVOKED_get_ext_by_critical() argument
132 return X509v3_get_ext_by_critical(x->extensions, crit, lastpos); in X509_REVOKED_get_ext_by_critical()
135 X509_EXTENSION *X509_REVOKED_get_ext(const X509_REVOKED *x, int loc) in X509_REVOKED_get_ext() argument
137 return X509v3_get_ext(x->extensions, loc); in X509_REVOKED_get_ext()
140 X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc) in X509_REVOKED_delete_ext() argument
142 return X509v3_delete_ext(x->extensions, loc); in X509_REVOKED_delete_ext()
145 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) in X509_REVOKED_add_ext() argument
147 return (X509v3_add_ext(&(x->extensions), ex, loc) != NULL); in X509_REVOKED_add_ext()
150 void *X509_REVOKED_get_ext_d2i(const X509_REVOKED *x, int nid, int *crit, int *idx) in X509_REVOKED_get_ext_d2i() argument
152 return X509V3_get_d2i(x->extensions, nid, crit, idx); in X509_REVOKED_get_ext_d2i()
155 int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, in X509_REVOKED_add1_ext_i2d() argument
158 return X509V3_add1_i2d(&x->extensions, nid, value, crit, flags); in X509_REVOKED_add1_ext_i2d()