Lines Matching refs:cert
160 const internal::X509Ptr cert = loadCert(certSrcFilePath); in generateAuthCertFileX509Path() local
161 unsigned long hash = X509_subject_name_hash(cert.get()); in generateAuthCertFileX509Path()
339 internal::X509Ptr cert = loadCert(certSrcFilePath); in install() local
342 validateCertificateAgainstStore(*x509Store, *cert); in install()
343 validateCertificateStartDate(*cert); in install()
344 validateCertificateInSSLContext(*cert); in install()
374 certId = generateCertId(*cert); in install()
377 populateProperties(*cert); in install()
413 internal::X509Ptr cert = parseCert(pem); in install() local
415 validateCertificateAgainstStore(x509Store, *cert); in install()
416 validateCertificateStartDate(*cert); in install()
417 validateCertificateInSSLContext(*cert); in install()
423 certId = generateCertId(*cert); in install()
425 populateProperties(*cert); in install()
435 internal::X509Ptr cert = loadCert(certInstallPath); in populateProperties() local
436 populateProperties(*cert); in populateProperties()
446 internal::X509Ptr cert = loadCert(certPath); in isSame() local
447 return getCertId() == generateCertId(*cert); in isSame()
478 void Certificate::populateProperties(X509& cert) in populateProperties() argument
482 PEM_write_bio_X509(certBio.get(), &cert); in populateProperties()
493 X509_NAME* sub = X509_get_subject_name(&cert); in populateProperties()
501 X509_NAME* issuerName = X509_get_issuer_name(&cert); in populateProperties()
512 X509_get_ext_d2i(&cert, NID_key_usage, nullptr, nullptr)))) in populateProperties()
529 X509_get_ext_d2i(&cert, NID_ext_key_usage, nullptr, nullptr)))) in populateProperties()
547 ASN1_TIME* notAfter = X509_get_notAfter(&cert); in populateProperties()
551 ASN1_TIME* notBefore = X509_get_notBefore(&cert); in populateProperties()
614 internal::X509Ptr cert(X509_new(), ::X509_free); in compareKeys() local
615 if (!cert) in compareKeys()
631 X509* x509 = cert.get(); in compareKeys()
634 EVPPkeyPtr pubKey(X509_get_pubkey(cert.get()), ::EVP_PKEY_free); in compareKeys()