Home
last modified time | relevance | path

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

/system/security/ondevice-signing/
DCertUtils.cpp40 static bool add_ext(X509* cert, int nid, const char* value) { in add_ext() function
124 add_ext(x509.get(), NID_basic_constraints, kBasicConstraints); in createSelfSignedCertificate()
125 add_ext(x509.get(), NID_key_usage, kKeyUsage); in createSelfSignedCertificate()
126 add_ext(x509.get(), NID_subject_key_identifier, kSubjectKeyIdentifier); in createSelfSignedCertificate()
127 add_ext(x509.get(), NID_authority_key_identifier, "keyid:always"); in createSelfSignedCertificate()