Lines Matching refs:cert
53 bssl::UniquePtr<X509> cert(rawCert); in loadX509() local
56 return cert; in loadX509()
65 static bool add_ext(X509V3_CTX* context, X509* cert, int nid, const char* value) { in add_ext() argument
71 X509_add_ext(cert, ex.get(), -1); in add_ext()
348 auto cert = loadX509(path); in extractPublicKeyFromX509() local
349 if (!cert.ok()) { in extractPublicKeyFromX509()
350 return cert.error(); in extractPublicKeyFromX509()
352 return extractPublicKey(X509_get_pubkey(cert.value().get())); in extractPublicKeyFromX509()
379 auto cert = loadX509(path); in verifyAndExtractCertInfoFromX509() local
380 if (!cert.ok()) { in verifyAndExtractCertInfoFromX509()
381 return cert.error(); in verifyAndExtractCertInfoFromX509()
383 X509* x509 = cert.value().get(); in verifyAndExtractCertInfoFromX509()