AusweisApp2
governikus::CertificateChecker Klassenreferenz

Utility class for checking various constraints on certificates. Mehr ...

#include <CertificateChecker.h>

Öffentliche Typen

enum  CertificateStatus { CertificateStatus::Good, CertificateStatus::Unsupported_Algorithm_Or_Length, CertificateStatus::Hash_Not_In_Description }
 

Öffentliche, statische Methoden

static CertificateStatus checkAndSaveCertificate (const QSslCertificate &pCertificate, const QUrl &pUrl, const QSharedPointer< DIDAuthenticateEAC1 > &pEAC1, const QSharedPointer< const CVCertificate > &pDvCvc, const std::function< void(const QUrl &, const QSslCertificate &)> &pSaveCertificateFunc)
 Checks certificate and, if OK, save it using a callback function. Mehr ...
 

Ausführliche Beschreibung

Utility class for checking various constraints on certificates.

Dokumentation der Aufzählungstypen

◆ CertificateStatus

Aufzählungswerte
Good 
Unsupported_Algorithm_Or_Length 
Hash_Not_In_Description 

Dokumentation der Elementfunktionen

◆ checkAndSaveCertificate()

CertificateChecker::CertificateStatus CertificateChecker::checkAndSaveCertificate ( const QSslCertificate &  pCertificate,
const QUrl &  pUrl,
const QSharedPointer< DIDAuthenticateEAC1 > &  pEAC1,
const QSharedPointer< const CVCertificate > &  pDvCvc,
const std::function< void(const QUrl &, const QSslCertificate &)> &  pSaveCertificateFunc 
)
static

Checks certificate and, if OK, save it using a callback function.

Rückgabe
Returns a translated error string if an error happened, otherwise QString()
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: