GENERAL_NAME
GENERAL_NAME *gen = sk_GENERAL_NAME_value(rev->issuer, i);
GENERAL_NAME *gen;
GENERAL_NAME *requestorName;
GENERAL_NAME *gen;
#define sk_GENERAL_NAME_new(cmp) SKM_sk_new(GENERAL_NAME, (cmp))
#define sk_GENERAL_NAME_new_null() SKM_sk_new_null(GENERAL_NAME)
#define sk_GENERAL_NAME_free(st) SKM_sk_free(GENERAL_NAME, (st))
#define sk_GENERAL_NAME_num(st) SKM_sk_num(GENERAL_NAME, (st))
#define sk_GENERAL_NAME_value(st, i) SKM_sk_value(GENERAL_NAME, (st), (i))
#define sk_GENERAL_NAME_set(st, i, val) SKM_sk_set(GENERAL_NAME, (st), (i), (val))
#define sk_GENERAL_NAME_zero(st) SKM_sk_zero(GENERAL_NAME, (st))
#define sk_GENERAL_NAME_push(st, val) SKM_sk_push(GENERAL_NAME, (st), (val))
#define sk_GENERAL_NAME_unshift(st, val) SKM_sk_unshift(GENERAL_NAME, (st), (val))
#define sk_GENERAL_NAME_find(st, val) SKM_sk_find(GENERAL_NAME, (st), (val))
#define sk_GENERAL_NAME_delete(st, i) SKM_sk_delete(GENERAL_NAME, (st), (i))
#define sk_GENERAL_NAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_NAME, (st), (ptr))
#define sk_GENERAL_NAME_insert(st, val, i) SKM_sk_insert(GENERAL_NAME, (st), (val), (i))
#define sk_GENERAL_NAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_NAME, (st), (cmp))
#define sk_GENERAL_NAME_dup(st) SKM_sk_dup(GENERAL_NAME, st)
#define sk_GENERAL_NAME_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_NAME, (st), (free_func))
#define sk_GENERAL_NAME_shift(st) SKM_sk_shift(GENERAL_NAME, (st))
#define sk_GENERAL_NAME_pop(st) SKM_sk_pop(GENERAL_NAME, (st))
#define sk_GENERAL_NAME_sort(st) SKM_sk_sort(GENERAL_NAME, (st))
#define sk_GENERAL_NAME_is_sorted(st) SKM_sk_is_sorted(GENERAL_NAME, (st))
int TS_TST_INFO_set_tsa(TS_TST_INFO *a, GENERAL_NAME *tsa);
GENERAL_NAME *TS_TST_INFO_get_tsa(TS_TST_INFO *a);
GENERAL_NAME *tsa;
STACK_OF(GENERAL_NAME) *issuer;
GENERAL_NAME *tsa_name;
GENERAL_NAME *tsa_name;
GENERAL_NAME *tsa_name = NULL;
GENERAL_NAME *name = NULL;
TS_TST_INFO_set_tsa(TS_TST_INFO *a, GENERAL_NAME *tsa)
GENERAL_NAME *new_tsa;
GENERAL_NAME *
GENERAL_NAME *issuer;
GENERAL_NAME *tsa_name = TS_TST_INFO_get_tsa(tst_info);
TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer)
STACK_OF(GENERAL_NAME) *gen_names = NULL;
TS_find_name(STACK_OF(GENERAL_NAME) *gen_names, GENERAL_NAME *name)
GENERAL_NAME *current = sk_GENERAL_NAME_value(gen_names, i);
static int TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer);
static int TS_find_name(STACK_OF(GENERAL_NAME) *gen_names, GENERAL_NAME *name);
STACK_OF(GENERAL_NAME) *gens = NULL;
GENERAL_NAME *gen = NULL;
GENERAL_NAME *gen;
i2v_GENERAL_NAME(X509V3_EXT_METHOD *method, GENERAL_NAME *gen,
GENERAL_NAME_print(BIO *out, GENERAL_NAME *gen)
GENERAL_NAME *gen;
GENERAL_NAME *gen = NULL;
GENERAL_NAME *val = sk_GENERAL_NAME_value(ialt, i);
GENERAL_NAME *gen;
GENERAL_NAME *gen = NULL;
GENERAL_NAME *gen;
GENERAL_NAME *
GENERAL_NAME *
a2i_GENERAL_NAME(GENERAL_NAME *out, const X509V3_EXT_METHOD *method,
GENERAL_NAME *gen = NULL;
GENERAL_NAME *
v2i_GENERAL_NAME_ex(GENERAL_NAME *out, const X509V3_EXT_METHOD *method,
GENERAL_NAME *ret;
static int do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx)
static int do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx)
x509_constraints_general_to_bytes(GENERAL_NAME *name, uint8_t **bytes,
GENERAL_NAME *name;
x509_constraints_validate(GENERAL_NAME *constraint,
static STACK_OF(GENERAL_NAME) *
STACK_OF(GENERAL_NAME) *gens;
STACK_OF(GENERAL_NAME) *fnm = NULL;
GENERAL_NAME *gen = NULL;
print_gens(BIO *out, STACK_OF(GENERAL_NAME) *gens, int indent)
.offset = offsetof(GENERAL_NAME, d.otherName),
.offset = offsetof(GENERAL_NAME, d.rfc822Name),
.offset = offsetof(GENERAL_NAME, d.dNSName),
.offset = offsetof(GENERAL_NAME, d.x400Address),
.offset = offsetof(GENERAL_NAME, d.directoryName),
.offset = offsetof(GENERAL_NAME, d.ediPartyName),
.offset = offsetof(GENERAL_NAME, d.uniformResourceIdentifier),
.offset = offsetof(GENERAL_NAME, d.iPAddress),
.offset = offsetof(GENERAL_NAME, d.registeredID),
.utype = offsetof(GENERAL_NAME, type),
.size = sizeof(GENERAL_NAME),
GENERAL_NAME *
d2i_GENERAL_NAME(GENERAL_NAME **a, const unsigned char **in, long len)
return (GENERAL_NAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
i2d_GENERAL_NAME(GENERAL_NAME *a, unsigned char **out)
GENERAL_NAME *
return (GENERAL_NAME *)ASN1_item_new(&GENERAL_NAME_it);
GENERAL_NAME_free(GENERAL_NAME *a)
GENERAL_NAME *
GENERAL_NAME_dup(GENERAL_NAME *a)
GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b)
GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value)
GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype)
GENERAL_NAME_set0_othername(GENERAL_NAME *gen, ASN1_OBJECT *oid,
GENERAL_NAME_get0_otherName(GENERAL_NAME *gen, ASN1_OBJECT **poid,
int x509_constraints_general_to_bytes(GENERAL_NAME *name, uint8_t **bytes,
int x509_constraints_validate(GENERAL_NAME *constraint,
STACK_OF(GENERAL_NAME) *altname;
STACK_OF(GENERAL_NAME) *issuer;
GENERAL_NAME gntmp;
GENERAL_NAME *gen = sk_GENERAL_NAME_value(x->altname, i);
nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc)
nc_match_single(GENERAL_NAME *gen, GENERAL_NAME *base)
static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc);
static int nc_match_single(GENERAL_NAME *sub, GENERAL_NAME *gen);
GENERAL_NAME *gen = sk_GENERAL_NAME_value(dp->CRLissuer, i);
GENERAL_NAME *gen;
GENERAL_NAME *gen;
GENERAL_NAME *gen;
GENERAL_NAME *gena, *genb;
GENERAL_NAME *gen = sk_GENERAL_NAME_value(dp->CRLissuer, i);
GENERAL_NAME *location;
DECLARE_STACK_OF(GENERAL_NAME)
typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES;
GENERAL_NAME *base;
GENERAL_NAME *GENERAL_NAME_new(void);
void GENERAL_NAME_free(GENERAL_NAME *a);
GENERAL_NAME *d2i_GENERAL_NAME(GENERAL_NAME **a, const unsigned char **in, long len);
int i2d_GENERAL_NAME(GENERAL_NAME *a, unsigned char **out);
GENERAL_NAME *GENERAL_NAME_dup(GENERAL_NAME *a);
int GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b);
STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method, GENERAL_NAME *gen, STACK_OF(CONF_VALUE) *ret);
int GENERAL_NAME_print(BIO *out, GENERAL_NAME *gen);
void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value);
void *GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype);
int GENERAL_NAME_set0_othername(GENERAL_NAME *gen,
int GENERAL_NAME_get0_otherName(GENERAL_NAME *gen,
GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out,
GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx,
GENERAL_NAME *v2i_GENERAL_NAME_ex(GENERAL_NAME *out,
GENERAL_NAME *altname;
STACK_OF(GENERAL_NAME) *altname_stack = NULL;
alt_names_add(STACK_OF(GENERAL_NAME) *alt_name_stack, struct alt_name *alt)
GENERAL_NAME *alt_name;
STACK_OF(GENERAL_NAME) *alt_name_stack = NULL;
STACK_OF(GENERAL_NAME) *stack = NULL;
GENERAL_NAME *entry;
STACK_OF(GENERAL_NAME) *gens;
GENERAL_NAME *gen;
GENERAL_NAME *gen = NULL;
GENERAL_NAME *gen_name;
STACK_OF(GENERAL_NAME) *san_names = NULL;
const GENERAL_NAME *current_name = sk_GENERAL_NAME_value(san_names, i);
GENERAL_NAME *name;
int x509_location(const char *, const char *, GENERAL_NAME *,
x509_location(const char *fn, const char *descr, GENERAL_NAME *location,