Home
last modified time | relevance | path

Searched refs:x509_name (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/tls/
Dx509v3.h34 struct x509_name { struct
56 struct x509_name issuer; argument
57 struct x509_name subject;
137 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name,
141 void x509_free_name(struct x509_name *name);
142 void x509_name_string(struct x509_name *name, char *buf, size_t len);
143 int x509_name_compare(struct x509_name *a, struct x509_name *b);
156 struct x509_name *name);
Dx509v3.c17 void x509_free_name(struct x509_name *name) in x509_free_name()
148 int x509_name_compare(struct x509_name *a, struct x509_name *b) in x509_name_compare()
292 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, in x509_parse_name()
499 void x509_name_string(struct x509_name *name, char *buf, size_t len) in x509_name_string()
894 static int x509_parse_alt_name_rfc8222(struct x509_name *name, in x509_parse_alt_name_rfc8222()
916 static int x509_parse_alt_name_dns(struct x509_name *name, in x509_parse_alt_name_dns()
938 static int x509_parse_alt_name_uri(struct x509_name *name, in x509_parse_alt_name_uri()
962 static int x509_parse_alt_name_ip(struct x509_name *name, in x509_parse_alt_name_ip()
976 static int x509_parse_alt_name_rid(struct x509_name *name, in x509_parse_alt_name_rid()
992 static int x509_parse_ext_alt_name(struct x509_name *name, in x509_parse_ext_alt_name()
[all …]
Dtlsv1_client_ocsp.c51 struct x509_name *name, const u8 *key_hash) in ocsp_responder_id_match()
366 struct x509_name name; /* used if key_hash == NULL */ in tls_process_basic_ocsp_response()
/external/python/pyopenssl/tests/
Dtest_crypto.py1207 def x509_name(**attrs): function
1234 name = x509_name()
1242 name = x509_name()
1264 name = x509_name()
1273 name = x509_name()
1300 name = x509_name(commonName="foo", emailAddress="bar@example.com")
1319 name = x509_name(commonName="foo", emailAddress="bar")
1343 name = x509_name()
1347 assert_equal(x509_name(), x509_name())
1350 assert_equal(x509_name(commonName="foo"), x509_name(commonName="foo"))
[all …]
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Docsp.py191 x509_name, _ = self._responder_key_name()
192 if x509_name == self._backend._ffi.NULL:
195 return _decode_x509_name(self._backend, x509_name)
199 x509_name = self._backend._ffi.new("X509_NAME **")
201 self._basic, asn1_string, x509_name
204 return x509_name[0], asn1_string[0]
Ddecode_asn1.py63 def _decode_x509_name(backend, x509_name): argument
64 count = backend._lib.X509_NAME_entry_count(x509_name)
68 entry = backend._lib.X509_NAME_get_entry(x509_name, x)
Dbackend.py2080 x509_name = _encode_name_gc(self, name)
2082 res = self._lib.i2d_X509_NAME(x509_name, pp)
/external/openssh/
Dssh-pkcs11.c920 X509_NAME *x509_name = NULL; in pkcs11_fetch_x509_pubkey() local
977 if ((x509_name = d2i_X509_NAME(NULL, &cp, in pkcs11_fetch_x509_pubkey()
979 (subject = X509_NAME_oneline(x509_name, NULL, 0)) == NULL) in pkcs11_fetch_x509_pubkey()
981 X509_NAME_free(x509_name); in pkcs11_fetch_x509_pubkey()