MCPcopy Create free account
hub / github.com/KDE/okular / sign

Method sign

core/document.cpp:2838–2845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2836}
2837
2838std::pair<SigningResult, QString> Document::sign(const NewSignatureData &data, const QString &newPath)
2839{
2840 if (d->m_generator->canSign()) {
2841 return d->m_generator->sign(data, newPath);
2842 } else {
2843 return {GenericSigningError, i18nc("Unsupported action", "Signing not implemented for this document type")};
2844 }
2845}
2846
2847Okular::CertificateStore *Document::certificateStore() const
2848{

Callers 1

testSignUnsignedFieldMethod · 0.45

Calls 1

canSignMethod · 0.45

Tested by 1

testSignUnsignedFieldMethod · 0.36