Home
last modified time | relevance | path

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

/external/cronet/third_party/boringssl/src/crypto/asn1/
Da_type.c75 return a->value.asn1_string != NULL ? a->type : 0; in ASN1_TYPE_get()
88 return a->value.asn1_string; in asn1_type_value_as_pointer()
105 ASN1_STRING_free(a->value.asn1_string); in asn1_type_cleanup()
106 a->value.asn1_string = NULL; in asn1_type_cleanup()
125 a->value.asn1_string = value; in ASN1_TYPE_set()
191 result = ASN1_STRING_cmp(a->value.asn1_string, b->value.asn1_string); in ASN1_TYPE_cmp()
Da_strex.c256 t.value.asn1_string = (ASN1_STRING *)str; in do_dump()
Dasn1_test.cc105 EXPECT_EQ(Bytes(kTag128), Bytes(obj->value.asn1_string->data, in TEST()
106 obj->value.asn1_string->length)); in TEST()
119 obj->value.asn1_string = ASN1_STRING_type_new(128); in TEST()
120 ASSERT_TRUE(obj->value.asn1_string); in TEST()
122 ASSERT_TRUE(ASN1_STRING_set(obj->value.asn1_string, &zero, sizeof(zero))); in TEST()
/external/boringssl/src/crypto/asn1/
Da_type.c75 return a->value.asn1_string != NULL ? a->type : 0; in ASN1_TYPE_get()
88 return a->value.asn1_string; in asn1_type_value_as_pointer()
105 ASN1_STRING_free(a->value.asn1_string); in asn1_type_cleanup()
106 a->value.asn1_string = NULL; in asn1_type_cleanup()
125 a->value.asn1_string = value; in ASN1_TYPE_set()
191 result = ASN1_STRING_cmp(a->value.asn1_string, b->value.asn1_string); in ASN1_TYPE_cmp()
Da_strex.c256 t.value.asn1_string = (ASN1_STRING *)str; in do_dump()
Dasn1_test.cc105 EXPECT_EQ(Bytes(kTag128), Bytes(obj->value.asn1_string->data, in TEST()
106 obj->value.asn1_string->length)); in TEST()
119 obj->value.asn1_string = ASN1_STRING_type_new(128); in TEST()
120 ASSERT_TRUE(obj->value.asn1_string); in TEST()
122 ASSERT_TRUE(ASN1_STRING_set(obj->value.asn1_string, &zero, sizeof(zero))); in TEST()
/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.c174 ASN1_BIT_STRING *bs = at->value.asn1_string; in X509_REQ_print_ex()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Ddecode_asn1.py337 def _decode_subject_key_identifier(backend, asn1_string): argument
338 asn1_string = backend._ffi.cast("ASN1_OCTET_STRING *", asn1_string)
339 asn1_string = backend._ffi.gc(
340 asn1_string, backend._lib.ASN1_OCTET_STRING_free
343 backend._ffi.buffer(asn1_string.data, asn1_string.length)[:]
766 def _asn1_string_to_bytes(backend, asn1_string): argument
767 return backend._ffi.buffer(asn1_string.data, asn1_string.length)[:]
770 def _asn1_string_to_ascii(backend, asn1_string): argument
771 return _asn1_string_to_bytes(backend, asn1_string).decode("ascii")
774 def _asn1_string_to_utf8(backend, asn1_string): argument
[all …]
Docsp.py201 _, asn1_string = self._responder_key_name()
202 if asn1_string == self._backend._ffi.NULL:
205 return _asn1_string_to_bytes(self._backend, asn1_string)
217 asn1_string = self._backend._ffi.new("ASN1_OCTET_STRING **")
220 self._basic, asn1_string, x509_name
223 return x509_name[0], asn1_string[0]
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/
Da_type.c158 result = ASN1_STRING_cmp(a->value.asn1_string, b->value.asn1_string); in ASN1_TYPE_cmp()
Da_strex.c320 t.value.asn1_string = (ASN1_STRING *)str; in do_dump()
Dasn1_test.cc70 EXPECT_EQ(Bytes(&kZero, 1), Bytes(obj->value.asn1_string->data, in TEST()
71 obj->value.asn1_string->length)); in TEST()
/external/cronet/third_party/boringssl/src/crypto/x509/
Dt_req.c179 ASN1_BIT_STRING *bs = at->value.asn1_string; in X509_REQ_print_ex()
/external/boringssl/src/crypto/x509/
Dt_req.c179 ASN1_BIT_STRING *bs = at->value.asn1_string; in X509_REQ_print_ex()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dasn1.h695 ASN1_STRING *asn1_string; member
/external/cronet/third_party/boringssl/src/include/openssl/
Dasn1.h1493 ASN1_STRING *asn1_string; member
/external/boringssl/src/include/openssl/
Dasn1.h1493 ASN1_STRING *asn1_string; member