Home
last modified time | relevance | path

Searched refs:ASN1_STRING_set (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/crypto/openssl/crypto/x509/
H A Dv3_ist.c55 || !ASN1_STRING_set(ist->signTool, cnf->value, strlen(cnf->value))) {
63 || !ASN1_STRING_set(ist->cATool, cnf->value, strlen(cnf->value))) {
71 || !ASN1_STRING_set(ist->signToolCert, cnf->value, strlen(cnf->value))) {
79 || !ASN1_STRING_set(ist->cAToolCert, cnf->value, strlen(cnf->value))) {
H A Dx_x509a.c64 return ASN1_STRING_set(aux->alias, name, len); in X509_alias_set1()
82 return ASN1_STRING_set(aux->keyid, id, len); in X509_keyid_set1()
H A Dv3_utf8.c59 if (!ASN1_STRING_set((ASN1_STRING *)utf8, str, strlen(str))) { in s2i_ASN1_UTF8STRING()
H A Dv3_ia5.c53 if (!ASN1_STRING_set((ASN1_STRING *)ia5, str, strlen(str))) { in s2i_ASN1_IA5STRING()
H A Dv3_cpols.c201 if (!ASN1_STRING_set(qual->d.cpsuri, cnf->value, in policy_section()
310 if (!ASN1_STRING_set(not->exptext, value, len)) in notice_section()
325 if (!ASN1_STRING_set(nref->organization, cnf->value, in notice_section()
H A Dx509name.c330 i = ASN1_STRING_set(ne->value, bytes, len); in X509_NAME_ENTRY_set_data()
/freebsd/crypto/openssl/doc/man3/
H A DASN1_STRING_length.pod5 ASN1_STRING_dup, ASN1_STRING_cmp, ASN1_STRING_set, ASN1_STRING_length,
21 int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
46 ASN1_STRING_set() sets the data of string I<str> to the buffer
78 when calling ASN1_STRING_set().
93 ASN1_STRING_set() returns 1 on success or 0 on error.
/freebsd/crypto/openssl/crypto/asn1/
H A Da_int.c306 if (ASN1_STRING_set(ret, NULL, r) == 0) in ossl_c2i_ASN1_INTEGER()
358 return ASN1_STRING_set(a, tbuf + off, sizeof(tbuf) - off); in asn1_string_set_int64()
386 return ASN1_STRING_set(a, tbuf + off, sizeof(tbuf) - off); in asn1_string_set_uint64()
487 if (ASN1_STRING_set(ret, NULL, len) == 0) { in bn_to_asn1_string()
H A Da_octet.c28 return ASN1_STRING_set(x, d, len); in ASN1_OCTET_STRING_set()
H A Dasn1_lib.c256 if (!ASN1_STRING_set(dst, str->data, str->length)) in ASN1_STRING_copy()
280 int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len_in) in ASN1_STRING_set() function
H A Da_bitstr.c18 return ASN1_STRING_set(x, d, len); in ASN1_BIT_STRING_set()
H A Dasn1_gen.c648 if (!ASN1_STRING_set(atmp->value.asn1_string, str, -1)) { in asn1_str2type()
702 if (!ASN1_STRING_set(atmp->value.asn1_string, str, -1)) { in asn1_str2type()
H A Da_mbstr.c155 if (!ASN1_STRING_set(dest, in, len)) { in ASN1_mbstring_ncopy()
H A Dp5_scrypt.c161 if (ASN1_STRING_set(sparam->salt, salt, saltlen) == 0) in pkcs5_scrypt_set()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_dd.c92 if (!ASN1_STRING_set(dd->digest, md, mdlen)) in ossl_cms_DigestedData_do_final()
H A Dcms_ess.c129 if (!ASN1_STRING_set(rr->signedContentIdentifier, NULL, 32)) in CMS_ReceiptRequest_create0_ex()
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_attr.c123 if (!ASN1_STRING_set(os, md, mdlen) in PKCS7_add1_attrib_digest()
/freebsd/crypto/openssl/test/
H A Dcmp_hdr_test.c251 if (!ASN1_STRING_set(text, "A free text", -1)) in execute_HDR_push0_freeText_test()
284 if (!ASN1_STRING_set(text, "A free text", -1)) in execute_HDR_push1_freeText_test()
/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_ext.c370 if (!(ASN1_STRING_set(cid->crlUrl, url, -1))) in OCSP_crlID_new()
455 if (!ASN1_STRING_set((ASN1_STRING *)ia5, *urls, -1)) in OCSP_url_svcloc_new()
/freebsd/crypto/openssl/apps/
H A Dspkac.c157 ASN1_STRING_set(spki->spkac->challenge, in spkac_main()
/freebsd/crypto/openssl/crypto/ts/
H A Dts_rsp_sign.c309 || !ASN1_STRING_set(utf8_text, text, strlen(text))) in TS_RESP_CTX_set_status_info()
641 if ((seq = ASN1_STRING_new()) == NULL || !ASN1_STRING_set(seq, pp, len)) { in ossl_ess_add1_signing_cert()
664 if ((seq = ASN1_STRING_new()) == NULL || !ASN1_STRING_set(seq, pp, len)) { in ossl_ess_add1_signing_cert_v2()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_status.c292 || !ASN1_STRING_set(utf8_text, text, -1)) in OSSL_CMP_STATUSINFO_new()
H A Dcmp_util.c232 if (!ASN1_STRING_set(utf8string, text, len)) in ossl_cmp_sk_ASN1_UTF8STRING_push_str()
H A Dcmp_protect.c208 if (!ASN1_STRING_set(pbm_str, pbm_der, pbm_der_len)) in set_pbmac_algor()
/freebsd/usr.sbin/uefisign/
H A Duefisign.c234 ASN1_STRING_set(s, buf, len); in magic()

12