Home
last modified time | relevance | path

Searched refs:ASN1_STRING (Results 1 – 25 of 88) sorted by relevance

1234

/openssl/include/openssl/
H A Dtypes.h45 # define ASN1_INTEGER ASN1_STRING
46 # define ASN1_ENUMERATED ASN1_STRING
47 # define ASN1_BIT_STRING ASN1_STRING
48 # define ASN1_OCTET_STRING ASN1_STRING
49 # define ASN1_PRINTABLESTRING ASN1_STRING
50 # define ASN1_T61STRING ASN1_STRING
51 # define ASN1_IA5STRING ASN1_STRING
52 # define ASN1_UTCTIME ASN1_STRING
53 # define ASN1_GENERALIZEDTIME ASN1_STRING
54 # define ASN1_TIME ASN1_STRING
[all …]
H A Dasn1.h.in481 ASN1_STRING *asn1_string;
501 ASN1_STRING *set;
502 ASN1_STRING *sequence;
569 ASN1_STRING *ASN1_STRING_new(void);
570 void ASN1_STRING_free(ASN1_STRING *a);
571 void ASN1_STRING_clear_free(ASN1_STRING *a);
572 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
573 DECLARE_ASN1_DUP_FUNCTION(ASN1_STRING)
575 int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
586 int ASN1_STRING_type(const ASN1_STRING *x);
[all …]
/openssl/crypto/asn1/
H A Dasn1_lib.c257 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) in ASN1_STRING_copy()
270 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) in ASN1_STRING_dup()
272 ASN1_STRING *ret; in ASN1_STRING_dup()
346 ASN1_STRING *ASN1_STRING_new(void) in ASN1_STRING_new()
351 ASN1_STRING *ASN1_STRING_type_new(int type) in ASN1_STRING_type_new()
353 ASN1_STRING *ret; in ASN1_STRING_type_new()
372 void ASN1_STRING_free(ASN1_STRING *a) in ASN1_STRING_free()
379 void ASN1_STRING_clear_free(ASN1_STRING *a) in ASN1_STRING_clear_free()
388 int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b) in ASN1_STRING_cmp()
405 int ASN1_STRING_length(const ASN1_STRING *x) in ASN1_STRING_length()
[all …]
H A Dasn_pack.c16 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
18 ASN1_STRING *octmp; in ASN1_item_pack()
52 void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
63 void *ASN1_item_unpack_ex(const ASN1_STRING *oct, const ASN1_ITEM *it, in ASN1_item_unpack_ex()
H A Dtasn_typ.c58 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE)
61 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT)
64 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING)
H A Da_strex.c261 const ASN1_STRING *str) in do_dump()
330 const ASN1_STRING *str) in do_print_ex()
430 const ASN1_STRING *val; in do_name_ex()
588 int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex()
594 int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex_fp()
605 int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in) in ASN1_STRING_to_UTF8()
607 ASN1_STRING stmp, *str = &stmp; in ASN1_STRING_to_UTF8()
H A Da_type.c53 ASN1_STRING *sdup; in ASN1_TYPE_set1()
101 result = ASN1_STRING_cmp((ASN1_STRING *)a->value.ptr, in ASN1_TYPE_cmp()
102 (ASN1_STRING *)b->value.ptr); in ASN1_TYPE_cmp()
H A Da_strnid.c79 ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, in ASN1_STRING_set_by_NID()
84 ASN1_STRING *str = NULL; in ASN1_STRING_set_by_NID()
H A Da_int.c328 static int asn1_string_get_int64(int64_t *pr, const ASN1_STRING *a, int itype) in asn1_string_get_int64()
341 static int asn1_string_set_int64(ASN1_STRING *a, int64_t r, int itype) in asn1_string_set_int64()
362 static int asn1_string_get_uint64(uint64_t *pr, const ASN1_STRING *a, in asn1_string_get_uint64()
380 static int asn1_string_set_uint64(ASN1_STRING *a, uint64_t r, int itype) in asn1_string_set_uint64()
459 static ASN1_STRING *bn_to_asn1_string(const BIGNUM *bn, ASN1_STRING *ai, in bn_to_asn1_string()
H A Dtasn_prn.c417 static int asn1_print_obstring(BIO *out, const ASN1_STRING *str, int indent) in asn1_print_obstring()
437 ASN1_STRING *str; in asn1_primitive_print()
447 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
454 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
460 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
H A Df_string.c16 int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type) in i2a_ASN1_STRING()
46 int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) in a2i_ASN1_STRING()
H A Da_mbstr.c36 int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, in ASN1_mbstring_copy()
42 int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, in ASN1_mbstring_ncopy()
50 ASN1_STRING *dest; in ASN1_mbstring_ncopy()
/openssl/doc/man3/
H A DASN1_STRING_new.pod6 ASN1_STRING allocation functions
12 ASN1_STRING *ASN1_STRING_new(void);
13 ASN1_STRING *ASN1_STRING_type_new(int type);
14 void ASN1_STRING_free(ASN1_STRING *a);
18 ASN1_STRING_new() returns an allocated B<ASN1_STRING> structure. Its type
21 ASN1_STRING_type_new() returns an allocated B<ASN1_STRING> structure of
29 Other string types call the B<ASN1_STRING> functions. For example
35 B<ASN1_STRING> structure or NULL if an error occurred.
H A DASN1_STRING_length.pod7 ASN1_STRING_to_UTF8 - ASN1_STRING utility functions
13 int ASN1_STRING_length(ASN1_STRING *x);
14 const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
15 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
17 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *a);
19 int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b);
21 int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
23 int ASN1_STRING_type(const ASN1_STRING *x);
25 int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in);
29 These functions allow an B<ASN1_STRING> structure to be manipulated.
[all …]
H A DASN1_item_d2i_bio.pod30 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct);
32 void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it);
34 void *ASN1_item_unpack_ex(const ASN1_STRING *oct, const ASN1_ITEM *it,
77 ASN.1 template I<it> and returns an B<ASN1_STRING> object. If the passed in
79 a new B<ASN1_STRING> object is created. If I<oct> is not NULL and I<*oct> is NULL
81 passed in B<ASN1_STRING> will not be freed, but the previous value may be cleared when
84 ASN1_item_unpack() uses ASN1_item_d2i() to decode the DER-encoded B<ASN1_STRING>
97 ASN1_item_pack() returns a pointer to an B<ASN1_STRING> or NULL on error.
H A DASN1_STRING_print_ex.pod6 - ASN1_STRING output routines
12 int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags);
13 int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags);
14 int ASN1_STRING_print(BIO *out, const ASN1_STRING *str);
20 These functions output an B<ASN1_STRING> structure. B<ASN1_STRING> is used to
H A DADMISSIONS.pod54 const ASN1_STRING *NAMING_AUTHORITY_get0_authorityText(
57 ASN1_STRING* namingAuthorityText);
83 const STACK_OF(ASN1_STRING) *PROFESSION_INFO_get0_professionItems(
86 PROFESSION_INFO *pi, STACK_OF(ASN1_STRING) *as);
H A DX509_NAME_ENTRY_get_object.pod15 ASN1_STRING *X509_NAME_ENTRY_get_data(const X509_NAME_ENTRY *ne);
37 and B<ASN1_STRING> structure.
72 X509_NAME_ENTRY_get_data() returns a valid B<ASN1_STRING> structure if it is set
/openssl/crypto/x509/
H A Dv3_admis.h16 ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */
21 STACK_OF(ASN1_STRING)* professionItems; /* i.e. DIRECTORYSTRING */
H A Dv3_admis.c173 ASN1_STRING *val = sk_ASN1_STRING_value(pinfo->professionItems, k); in i2r_ADMISSION_SYNTAX()
227 const ASN1_STRING *NAMING_AUTHORITY_get0_authorityText(const NAMING_AUTHORITY *n) in NAMING_AUTHORITY_get0_authorityText()
232 void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n, ASN1_STRING *t) in NAMING_AUTHORITY_set0_authorityText()
319 const STACK_OF(ASN1_STRING) *PROFESSION_INFO_get0_professionItems(const PROFESSION_INFO *pi) in STACK_OF() argument
325 STACK_OF(ASN1_STRING) *as) in PROFESSION_INFO_set0_professionItems()
H A Dx509aset.c15 static int replace_gentime(ASN1_STRING **dest, const ASN1_GENERALIZEDTIME *src) in replace_gentime()
17 ASN1_STRING *s; in replace_gentime()
/openssl/include/crypto/
H A Dasn1.h50 const X509_ALGOR *sigalg, const ASN1_STRING *sig,
66 const ASN1_STRING *sig);
150 void ossl_asn1_string_set_bits_left(ASN1_STRING *str, unsigned int num);
/openssl/crypto/rsa/
H A Drsa_ameth.c30 ASN1_STRING **pstr, int *pstrtype) in rsa_param_encode()
57 ASN1_STRING *str; in rsa_pub_encode()
149 ASN1_STRING *str; in rsa_priv_encode()
402 const ASN1_STRING *sig, int indent, ASN1_PCTX *pctx) in rsa_sig_print()
522 ASN1_STRING *ossl_rsa_ctx_to_pss_string(EVP_PKEY_CTX *pkctx) in ossl_rsa_ctx_to_pss_string()
525 ASN1_STRING *os; in ossl_rsa_ctx_to_pss_string()
667 ASN1_STRING *os1 = NULL; in rsa_item_sign()
674 ASN1_STRING *os2 = ASN1_STRING_dup(os1); in rsa_item_sign()
723 const ASN1_STRING *sig) in rsa_sig_info_set()
/openssl/crypto/cms/
H A Dcms_ess.c28 ASN1_STRING *str; in IMPLEMENT_ASN1_FUNCTIONS()
55 ASN1_STRING *str; in ossl_cms_signerinfo_get_signing_cert()
82 ASN1_STRING *str; in ossl_cms_signerinfo_get_signing_cert_v2()
194 ASN1_STRING **pcid, in CMS_ReceiptRequest_get0_values()
/openssl/crypto/cmp/
H A Dcmp_protect.c62 ASN1_STRING *pbm_str = NULL; in ossl_cmp_calc_protection()
81 pbm_str = (ASN1_STRING *)ppval; in ossl_cmp_calc_protection()
194 ASN1_STRING *pbm_str = NULL; in pbmac_algor()

Completed in 47 milliseconds

1234