Home
last modified time | relevance | path

Searched refs:basic_constraints (Results 1 – 7 of 7) sorted by relevance

/external/openscreen/cast/common/certificate/
Dcast_cert_validator_internal.cc158 bssl::UniquePtr<BASIC_CONSTRAINTS> basic_constraints = in VerifyCertificateChain() local
160 if (!basic_constraints || !basic_constraints->ca) { in VerifyCertificateChain()
164 if (basic_constraints->pathlen) { in VerifyCertificateChain()
165 if (basic_constraints->pathlen->length != 1) { in VerifyCertificateChain()
168 const int pathlen = *basic_constraints->pathlen->data; in VerifyCertificateChain()
/external/python/cryptography/tests/x509/
Dtest_x509.py1524 basic_constraints = cert.extensions.get_extension_for_oid(
1527 assert basic_constraints.value.ca is False
1528 assert basic_constraints.value.path_length is None
2262 basic_constraints = cert.extensions.get_extension_for_oid(
2265 assert basic_constraints.value.ca is False
2266 assert basic_constraints.value.path_length is None
2308 basic_constraints = cert.extensions.get_extension_for_oid(
2311 assert basic_constraints.value.ca is False
2312 assert basic_constraints.value.path_length is None
2731 basic_constraints = request.extensions.get_extension_for_oid(
[all …]
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dencode_asn1.py330 def _encode_basic_constraints(backend, basic_constraints): argument
335 constraints.ca = 255 if basic_constraints.ca else 0
336 if basic_constraints.ca and basic_constraints.path_length is not None:
338 backend, basic_constraints.path_length
Ddecode_asn1.py330 basic_constraints = backend._ffi.cast("BASIC_CONSTRAINTS *", bc_st)
331 basic_constraints = backend._ffi.gc(
332 basic_constraints, backend._lib.BASIC_CONSTRAINTS_free
337 ca = basic_constraints.ca == 255
339 backend, basic_constraints.pathlen
/external/boringssl/src/crypto/obj/
Dobj_mac.num88 basic_constraints 87
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc6147 bssl::UniquePtr<BASIC_CONSTRAINTS> basic_constraints(static_cast<BASIC_CONSTRAINTS*>( in NativeCrypto_get_X509_ex_pathlen() local
6149 if (basic_constraints == nullptr) { in NativeCrypto_get_X509_ex_pathlen()
6155 if (basic_constraints->pathlen == nullptr) { in NativeCrypto_get_X509_ex_pathlen()
6160 if (!basic_constraints->ca) { in NativeCrypto_get_X509_ex_pathlen()
6167 if (basic_constraints->pathlen->type == V_ASN1_NEG_INTEGER) { in NativeCrypto_get_X509_ex_pathlen()
6174 long pathlen = ASN1_INTEGER_get(basic_constraints->pathlen); in NativeCrypto_get_X509_ex_pathlen()
/external/python/cryptography/docs/development/
Dtest-vectors.rst404 * ``basic_constraints.pem`` - A certificate signing request for an RSA