Home
last modified time | relevance | path

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

1234

/freebsd/crypto/openssl/include/openssl/
H A Dtypes.h27 # define ASN1_INTEGER ASN1_STRING
28 # define ASN1_ENUMERATED ASN1_STRING
29 # define ASN1_BIT_STRING ASN1_STRING
30 # define ASN1_OCTET_STRING ASN1_STRING
31 # define ASN1_PRINTABLESTRING ASN1_STRING
32 # define ASN1_T61STRING ASN1_STRING
33 # define ASN1_IA5STRING ASN1_STRING
34 # define ASN1_UTCTIME ASN1_STRING
35 # define ASN1_GENERALIZEDTIME ASN1_STRING
36 # define ASN1_TIME ASN1_STRING
[all …]
H A Dasn1.h525 ASN1_STRING *asn1_string;
545 ASN1_STRING *set;
546 ASN1_STRING *sequence;
661 ASN1_STRING *ASN1_STRING_new(void);
662 void ASN1_STRING_free(ASN1_STRING *a);
663 void ASN1_STRING_clear_free(ASN1_STRING *a);
664 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
665 DECLARE_ASN1_DUP_FUNCTION(ASN1_STRING)
666 ASN1_STRING *ASN1_STRING_type_new(int type);
667 int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
[all …]
H A Dasn1.h.in137 * This indicates that the ASN1_STRING is not a real value but just a place
151 * This flag is used by ASN1 code to indicate an ASN1_STRING is an MSTRING
478 ASN1_STRING *asn1_string;
498 ASN1_STRING *set;
499 ASN1_STRING *sequence;
566 ASN1_STRING *ASN1_STRING_new(void);
567 void ASN1_STRING_free(ASN1_STRING *a);
568 void ASN1_STRING_clear_free(ASN1_STRING *a);
569 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
570 DECLARE_ASN1_DUP_FUNCTION(ASN1_STRING)
[all …]
H A Dx509v3.h160 ASN1_STRING *nameAssigner;
161 ASN1_STRING *partyName;
180 ASN1_STRING *x400Address;
404 ASN1_STRING *organization;
410 ASN1_STRING *exptext;
1305 SKM_DEFINE_STACK_OF_INTERNAL(ASN1_STRING, ASN1_STRING, ASN1_STRING)
1307 #define sk_ASN1_STRING_value(sk, idx) ((ASN1_STRING *)OPENSSL_sk_value(ossl_check_const_ASN1_STRING…
1308 #define sk_ASN1_STRING_new(cmp) ((STACK_OF(ASN1_STRING) *)OPENSSL_sk_new(ossl_check_ASN1_STRING_com…
1309 #define sk_ASN1_STRING_new_null() ((STACK_OF(ASN1_STRING) *)OPENSSL_sk_new_null())
1310 #define sk_ASN1_STRING_new_reserve(cmp, n) ((STACK_OF(ASN1_STRING) *)OPENSSL_sk_new_reserve(ossl_ch…
[all …]
/freebsd/crypto/openssl/crypto/asn1/
H A Dasn1_lib.c251 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) in ASN1_STRING_copy()
264 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) in ASN1_STRING_dup()
266 ASN1_STRING *ret; in ASN1_STRING_dup()
280 int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len_in) in ASN1_STRING_set()
334 void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) in ASN1_STRING_set0()
341 ASN1_STRING *ASN1_STRING_new(void) in ASN1_STRING_new()
346 ASN1_STRING *ASN1_STRING_type_new(int type) in ASN1_STRING_type_new()
348 ASN1_STRING *ret; in ASN1_STRING_type_new()
359 void ossl_asn1_string_embed_free(ASN1_STRING *a, int embed) in ossl_asn1_string_embed_free()
369 void ASN1_STRING_free(ASN1_STRING *a) in ASN1_STRING_free()
[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()
53 void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
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.c262 const ASN1_STRING *str) in do_dump()
333 const ASN1_STRING *str) in do_print_ex()
433 const ASN1_STRING *val; in do_name_ex()
591 int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex()
597 int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex_fp()
608 int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in) in ASN1_STRING_to_UTF8()
610 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_int.c327 static int asn1_string_get_int64(int64_t *pr, const ASN1_STRING *a, int itype) in asn1_string_get_int64()
340 static int asn1_string_set_int64(ASN1_STRING *a, int64_t r, int itype) in asn1_string_set_int64()
361 static int asn1_string_get_uint64(uint64_t *pr, const ASN1_STRING *a, in asn1_string_get_uint64()
379 static int asn1_string_set_uint64(ASN1_STRING *a, uint64_t r, int itype) in asn1_string_set_uint64()
461 static ASN1_STRING *bn_to_asn1_string(const BIGNUM *bn, ASN1_STRING *ai, in bn_to_asn1_string()
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 Dtasn_prn.c419 static int asn1_print_obstring(BIO *out, const ASN1_STRING *str, int indent) in asn1_print_obstring()
439 ASN1_STRING *str; in asn1_primitive_print()
449 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
456 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
462 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()
48 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()
/freebsd/crypto/openssl/doc/man3/
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_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_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
/freebsd/crypto/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 Dx_name.c38 static int asn1_string_canon(ASN1_STRING *out, const ASN1_STRING *in);
388 static int asn1_string_canon(ASN1_STRING *out, const ASN1_STRING *in) in asn1_string_canon()
/freebsd/crypto/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()
504 ASN1_STRING *ossl_rsa_ctx_to_pss_string(EVP_PKEY_CTX *pkctx) in ossl_rsa_ctx_to_pss_string()
507 ASN1_STRING *os; in ossl_rsa_ctx_to_pss_string()
649 ASN1_STRING *os1 = NULL; in rsa_item_sign()
656 ASN1_STRING *os2 = ASN1_STRING_dup(os1); in rsa_item_sign()
705 const ASN1_STRING *sig) in rsa_sig_info_set()
/freebsd/crypto/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()
192 ASN1_STRING **pcid, in CMS_ReceiptRequest_get0_values()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_protect.c59 ASN1_STRING *pbm_str = NULL; in ossl_cmp_calc_protection()
78 pbm_str = (ASN1_STRING *)ppval; in ossl_cmp_calc_protection()
193 ASN1_STRING *pbm_str = NULL; in set_pbmac_algor()

1234