Home
last modified time | relevance | path

Searched refs:asn1_string (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dasn1_gen.c513 if (!(ret->value.asn1_string = ASN1_STRING_type_new(utype))) in asn1_multi()
518 ret->value.asn1_string->data = der; in asn1_multi()
519 ret->value.asn1_string->length = derlen; in asn1_multi()
719 if (!(atmp->value.asn1_string = ASN1_STRING_new())) { in asn1_str2type()
723 if (!ASN1_STRING_set(atmp->value.asn1_string, str, -1)) { in asn1_str2type()
727 atmp->value.asn1_string->type = utype; in asn1_str2type()
728 if (!ASN1_TIME_check(atmp->value.asn1_string)) { in asn1_str2type()
754 if (ASN1_mbstring_copy(&atmp->value.asn1_string, (unsigned char *)str, in asn1_str2type()
766 if (!(atmp->value.asn1_string = ASN1_STRING_new())) { in asn1_str2type()
778 atmp->value.asn1_string->data = rdata; in asn1_str2type()
[all …]
Dt_req.c172 ASN1_BIT_STRING *bs = at->value.asn1_string; in X509_REQ_print_ex()
/external/boringssl/src/crypto/x509/
Dasn1_gen.c513 if (!(ret->value.asn1_string = ASN1_STRING_type_new(utype))) in asn1_multi()
518 ret->value.asn1_string->data = der; in asn1_multi()
519 ret->value.asn1_string->length = derlen; in asn1_multi()
719 if (!(atmp->value.asn1_string = ASN1_STRING_new())) { in asn1_str2type()
723 if (!ASN1_STRING_set(atmp->value.asn1_string, str, -1)) { in asn1_str2type()
727 atmp->value.asn1_string->type = utype; in asn1_str2type()
728 if (!ASN1_TIME_check(atmp->value.asn1_string)) { in asn1_str2type()
754 if (ASN1_mbstring_copy(&atmp->value.asn1_string, (unsigned char *)str, in asn1_str2type()
766 if (!(atmp->value.asn1_string = ASN1_STRING_new())) { in asn1_str2type()
778 atmp->value.asn1_string->data = rdata; in asn1_str2type()
[all …]
Dt_req.c172 ASN1_BIT_STRING *bs = at->value.asn1_string; in X509_REQ_print_ex()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Ddecode_asn1.py345 def _decode_subject_key_identifier(backend, asn1_string): argument
346 asn1_string = backend._ffi.cast("ASN1_OCTET_STRING *", asn1_string)
347 asn1_string = backend._ffi.gc(
348 asn1_string, backend._lib.ASN1_OCTET_STRING_free
351 backend._ffi.buffer(asn1_string.data, asn1_string.length)[:]
748 def _asn1_string_to_bytes(backend, asn1_string): argument
749 return backend._ffi.buffer(asn1_string.data, asn1_string.length)[:]
752 def _asn1_string_to_ascii(backend, asn1_string): argument
753 return _asn1_string_to_bytes(backend, asn1_string).decode("ascii")
756 def _asn1_string_to_utf8(backend, asn1_string): argument
[all …]
Docsp.py182 _, asn1_string = self._responder_key_name()
183 if asn1_string == self._backend._ffi.NULL:
186 return _asn1_string_to_bytes(self._backend, asn1_string)
198 asn1_string = self._backend._ffi.new("ASN1_OCTET_STRING **")
201 self._basic, asn1_string, x509_name
204 return x509_name[0], asn1_string[0]
/external/boringssl/src/crypto/asn1/
Da_type.c148 result = ASN1_STRING_cmp(a->value.asn1_string, b->value.asn1_string); in ASN1_TYPE_cmp()
Dasn1_test.cc68 EXPECT_EQ(Bytes(&kZero, 1), Bytes(obj->value.asn1_string->data, in TEST()
69 obj->value.asn1_string->length)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/
Dasn1_test.cc68 EXPECT_EQ(Bytes(&kZero, 1), Bytes(obj->value.asn1_string->data, in TEST()
69 obj->value.asn1_string->length)); in TEST()
/external/boringssl/src/include/openssl/
Dasn1.h589 ASN1_STRING *asn1_string; member
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dasn1.h441 ASN1_STRING * asn1_string; member