Go to the documentation of this file.
67 #include "../bytestring/internal.h"
79 int inform,
unsigned long mask)
89 int inform,
unsigned long mask,
98 len = strlen((
const char *)
in);
175 if (minsize > 0 && nchar < (
size_t)minsize) {
191 size_t size_estimate = nchar;
203 size_estimate = 2 * nchar;
207 size_estimate = 4 * nchar;
213 size_estimate = utf8_len;
229 dest->type = str_type;
241 if (inform == outform) {
250 if (!
CBB_init(&cbb, size_estimate + 1)) {
258 !encode_func(&cbb,
c)) {
270 data_len > INT_MAX) {
275 dest->length = (
int)(data_len - 1);
int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask, long minsize, long maxsize)
#define V_ASN1_PRINTABLESTRING
#define OPENSSL_PUT_ERROR(library, reason)
#define ASN1_STRING_type_new
#define V_ASN1_UTF8STRING
#define B_ASN1_PRINTABLESTRING
#define ASN1_R_INVALID_UNIVERSALSTRING
#define ASN1_R_STRING_TOO_LONG
#define B_ASN1_UNIVERSALSTRING
#define ASN1_R_UNKNOWN_FORMAT
#define ERR_R_INTERNAL_ERROR
#define OPENSSL_DECLARE_ERROR_REASON(lib, reason)
#define ASN1_R_ILLEGAL_CHARACTERS
#define ASN1_R_INVALID_BMPSTRING
#define ERR_add_error_data
int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask)
#define ASN1_R_STRING_TOO_SHORT
int asn1_is_printable(uint32_t value)
#define ASN1_R_INVALID_UTF8STRING
#define V_ASN1_UNIVERSALSTRING
#define ERR_R_MALLOC_FAILURE
#define B_ASN1_UTF8STRING
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:39