MCPcopy Create free account
hub / github.com/chris2511/xca / loadTaKey

Method loadTaKey

widgets/CertTreeView.cpp:137–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void CertTreeView::loadTaKey()
138{
139 pki_x509 *ca = db_base::fromIndex<pki_x509>(currentIndex());
140 if (!ca || !ca->isCA())
141 return;
142
143 load_takey l;
144 QString fname = QFileDialog::getOpenFileName(this, l.caption,
145 getHomeDir(), l.filter);
146 if (fname.isEmpty())
147 return;
148 XFile f(fname);
149 f.open_read();
150 ca->importTaKey(f.read(4096));
151}
152
153void CertTreeView::genCrl()
154{

Callers

nothing calls this directly

Calls 5

getHomeDirFunction · 0.85
isCAMethod · 0.80
open_readMethod · 0.80
importTaKeyMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected