AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
CVCertificateChain.h
gehe zur Dokumentation dieser Datei
1 
11 #pragma once
12 
13 #include "Commands.h"
14 #include "CVCertificate.h"
15 
16 #include <QVector>
17 
18 namespace governikus
19 {
20 
22  : public QVector<QSharedPointer<const CVCertificate> >
23 {
24  private:
25  bool mProductive;
26 
27  public:
28  CVCertificateChain(bool pProductive = true);
29 
30  CVCertificateChain(const QVector<QSharedPointer<const CVCertificate> >& pCvcs, bool pProductive);
31 
35  QSharedPointer<const CVCertificate> getDvCvc() const;
36 
40  QSharedPointer<const CVCertificate> getTerminalCvc() const;
41 
45  bool isValid() const;
46 
50  bool isProductive() const;
51 };
52 
53 } /* namespace governikus */
bool isValid() const
Is this a valid CVC chain, i.e.
Definition: CVCertificateChain.cpp:42
bool isProductive() const
Is this a CVC chain for productive usage?
Definition: CVCertificateChain.cpp:55
Definition: CVCertificateChain.h:21
CVCertificateChain(bool pProductive=true)
Definition: CVCertificateChain.cpp:11
QSharedPointer< const CVCertificate > getTerminalCvc() const
Return the terminal certificate.
Definition: CVCertificateChain.cpp:28
QSharedPointer< const CVCertificate > getDvCvc() const
Return the document verifier certificate.
Definition: CVCertificateChain.cpp:35