Searched refs:basic_constraints (Results 1 – 7 of 7) sorted by relevance
158 bssl::UniquePtr<BASIC_CONSTRAINTS> basic_constraints = in VerifyCertificateChain() local160 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()
1524 basic_constraints = cert.extensions.get_extension_for_oid(1527 assert basic_constraints.value.ca is False1528 assert basic_constraints.value.path_length is None2262 basic_constraints = cert.extensions.get_extension_for_oid(2265 assert basic_constraints.value.ca is False2266 assert basic_constraints.value.path_length is None2308 basic_constraints = cert.extensions.get_extension_for_oid(2311 assert basic_constraints.value.ca is False2312 assert basic_constraints.value.path_length is None2731 basic_constraints = request.extensions.get_extension_for_oid([all …]
330 def _encode_basic_constraints(backend, basic_constraints): argument335 constraints.ca = 255 if basic_constraints.ca else 0336 if basic_constraints.ca and basic_constraints.path_length is not None:338 backend, basic_constraints.path_length
330 basic_constraints = backend._ffi.cast("BASIC_CONSTRAINTS *", bc_st)331 basic_constraints = backend._ffi.gc(332 basic_constraints, backend._lib.BASIC_CONSTRAINTS_free337 ca = basic_constraints.ca == 255339 backend, basic_constraints.pathlen
88 basic_constraints 87
6147 bssl::UniquePtr<BASIC_CONSTRAINTS> basic_constraints(static_cast<BASIC_CONSTRAINTS*>( in NativeCrypto_get_X509_ex_pathlen() local6149 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()
404 * ``basic_constraints.pem`` - A certificate signing request for an RSA