Home
last modified time | relevance | path

Searched refs:bcons (Results 1 – 2 of 2) sorted by relevance

/system/security/keystore2/src/crypto/
Dcertificate_utils.cpp120 BASIC_CONSTRAINTS_Ptr bcons(BASIC_CONSTRAINTS_new()); in makeBasicConstraintsExtension() local
121 if (!bcons) { in makeBasicConstraintsExtension()
125 bcons->ca = is_ca; in makeBasicConstraintsExtension()
126 bcons->pathlen = nullptr; in makeBasicConstraintsExtension()
128 bcons->pathlen = ASN1_INTEGER_new(); in makeBasicConstraintsExtension()
129 if (bcons->pathlen == nullptr || !ASN1_INTEGER_set(bcons->pathlen, *path_length)) { in makeBasicConstraintsExtension()
134 return bcons; in makeBasicConstraintsExtension()
/system/security/keystore2/src/crypto/tests/
Dcertificate_utils_test.cpp165 BasicConstraintsExtension bcons{ in TEST_P() local
177 now_ms + kValidity, true /* subject key id extension */, keyUsage, bcons); in TEST_P()
264 BasicConstraintsExtension bcons{ in TEST_P() local
276 now_ms + kValidity, true /* subject key id extension */, keyUsage, bcons); in TEST_P()