Home
last modified time | relevance | path

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

/system/security/ondevice-signing/
DCertUtils.cpp57 static bool add_ext(X509V3_CTX* context, X509* cert, int nid, const char* value) { in add_ext() function
164 add_ext(&context, x509.get(), NID_basic_constraints, "CA:TRUE"); in createSelfSignedCertificate()
165 add_ext(&context, x509.get(), NID_key_usage, "critical,keyCertSign,cRLSign,digitalSignature"); in createSelfSignedCertificate()
166 add_ext(&context, x509.get(), NID_subject_key_identifier, "hash"); in createSelfSignedCertificate()
167 add_ext(&context, x509.get(), NID_authority_key_identifier, "keyid:always"); in createSelfSignedCertificate()