Go to the documentation of this file.
21 #include "../internal.h"
111 char looking_for_eoc,
unsigned depth) {
120 unsigned tag, child_string_tag = string_tag;
123 CBB *out_contents, out_contents_storage;
131 return looking_for_eoc;
134 if (string_tag != 0) {
143 unsigned out_tag =
tag;
148 child_string_tag = out_tag;
153 out_contents = &out_contents_storage;
190 return looking_for_eoc == 0;
198 int conversion_needed;
203 if (!conversion_needed) {
224 unsigned outer_tag,
unsigned inner_tag) {
static int OPENSSL_memcmp(const void *s1, const void *s2, size_t n)
#define CBS_ASN1_OCTETSTRING
#define CBS_ASN1_IA5STRING
#define CBS_ASN1_T61STRING
static int is_string_type(unsigned tag)
#define CBS_ASN1_VIDEOTEXSTRING
int CBS_get_asn1_implicit_string(CBS *in, CBS *out, uint8_t **out_storage, unsigned outer_tag, unsigned inner_tag)
#define CBS_peek_asn1_tag
#define CBS_get_any_asn1_element
static void * tag(intptr_t t)
#define CBS_ASN1_BMPSTRING
int CBS_asn1_ber_to_der(CBS *in, CBS *out, uint8_t **out_storage)
#define CBS_get_any_ber_asn1_element
static char is_eoc(size_t header_len, CBS *contents)
static const unsigned kMaxDepth
#define CBS_ASN1_UTF8STRING
#define CBS_ASN1_NUMERICSTRING
#define CBS_ASN1_CONSTRUCTED
static int cbs_convert_ber(CBS *in, CBB *out, unsigned string_tag, char looking_for_eoc, unsigned depth)
static int cbs_find_ber(const CBS *orig_in, int *ber_found, unsigned depth)
#define CBS_ASN1_GRAPHICSTRING
#define CBS_ASN1_VISIBLESTRING
#define CBS_ASN1_PRINTABLESTRING
#define CBS_ASN1_UNIVERSALSTRING
#define CBS_ASN1_GENERALSTRING
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:46