AusweisApp2
|
#include <TestAuthContext.h>
Öffentliche Methoden | |
TestAuthContext (ActivationContext *pActivationContext, const QString &pFileName) | |
virtual | ~TestAuthContext () |
void | setRequiredAccessRights (const QSet< AccessRight > &pAccessRights) |
void | setOptionalAccessRights (const QSet< AccessRight > &pAccessRights) |
void | addCvCertificate (const QSharedPointer< const CVCertificate > &pCvCertificate) |
void | clearCvCertificates () |
void | removeCvCertAt (int pPosition) |
![]() | |
AuthContext (const QSharedPointer< ActivationContext > &pActivationContext) | |
bool | isErrorReportedToServer () const |
void | setErrorReportedToServer (bool pErrorReportedToServer) |
int | getProgressValue () const |
const QString | getProgressMessage () const |
void | setProgress (int pValue, const QString &pMessage) |
bool | isTcTokenNotFound () const |
void | setTcTokenNotFound (bool pTcTokenNotFound) |
bool | isSkipRedirect () const |
void | setSkipRedirect (bool pSkipRedirect) |
QList< QSslCertificate > | getCertificateList () const |
bool | containsCertificateFor (const QUrl &pUrl) const |
void | addCertificateData (const QUrl &pUrl, const QSslCertificate &pCert) |
ActivationContext * | getActivationContext () const |
const QUrl & | getTcTokenUrl () const |
void | setTcTokenUrl (const QUrl &pTcTokenUrl) |
const QSharedPointer< const TcToken > & | getTcToken () const |
void | setTcToken (const QSharedPointer< const TcToken > &pTcToken) |
const QString & | getReceivedMessageId () const |
void | setReceivedMessageId (const QString &pReceivedMessageId) |
const QUrl & | getRefreshUrl () const |
void | setRefreshUrl (const QUrl &pRefreshUrl) |
const QSharedPointer< DIDAuthenticateEAC1 > & | getDidAuthenticateEac1 () const |
void | setDidAuthenticateEac1 (const QSharedPointer< DIDAuthenticateEAC1 > &pDIDAuthenticateEAC1) |
const QSharedPointer< DIDAuthenticateEAC2 > & | getDidAuthenticateEac2 () const |
void | setDidAuthenticateEac2 (const QSharedPointer< DIDAuthenticateEAC2 > &pDidAuthenticateEac2) |
const QSharedPointer< DIDAuthenticateResponseEAC1 > & | getDidAuthenticateResponseEac1 () const |
void | setDidAuthenticateResponseEac1 (const QSharedPointer< DIDAuthenticateResponseEAC1 > &pDidAuthenticateResponseEac1) |
const QSharedPointer< DIDAuthenticateResponseEAC2 > & | getDidAuthenticateResponseEacAdditionalInputType () const |
void | setDidAuthenticateResponseEacAdditionalInputType (const QSharedPointer< DIDAuthenticateResponseEAC2 > &pDidAuthenticateResponseEacAdditionalInputType) |
const QSharedPointer< DIDAuthenticateEACAdditional > & | getDidAuthenticateEacAdditional () const |
void | setDidAuthenticateEacAdditional (const QSharedPointer< DIDAuthenticateEACAdditional > &pDidAuthenticateEacAdditionalInputType) |
const QSharedPointer< DIDAuthenticateResponseEAC2 > & | getDidAuthenticateResponseEac2 () const |
void | setDidAuthenticateResponseEac2 (const QSharedPointer< DIDAuthenticateResponseEAC2 > &pDidAuthenticateResponseEac2) |
const QSharedPointer< DIDList > & | getDidList () const |
void | setDidList (const QSharedPointer< DIDList > &pDidList) |
const QSharedPointer< DIDListResponse > & | getDidListResponse () |
void | setDidListResponse (const QSharedPointer< DIDListResponse > &pDidListResponse) |
const QSharedPointer< InitializeFramework > & | getInitializeFramework () const |
void | setInitializeFramework (const QSharedPointer< InitializeFramework > &pInitializeFramework) |
const QSharedPointer< InitializeFrameworkResponse > & | getInitializeFrameworkResponse () const |
void | setInitializeFrameworkResponse (const QSharedPointer< InitializeFrameworkResponse > &pInitializeFrameworkResponse) |
const QSharedPointer< Disconnect > & | getDisconnect () const |
void | setDisconnect (const QSharedPointer< Disconnect > &pDisconnect) |
const QSharedPointer< DisconnectResponse > & | getDisconnectResponse () |
void | setDisconnectResponse (const QSharedPointer< DisconnectResponse > &pDisconnectResponse) |
const QSharedPointer< StartPaosResponse > & | getStartPaosResponse () const |
void | setStartPaosResponse (const QSharedPointer< StartPaosResponse > &pStartPaosResponse) |
const QVector< QSharedPointer< TransmitResponse > > & | getTransmitResponses () |
void | addTransmitResponse (const QSharedPointer< TransmitResponse > &pTransmitResponse) |
const QVector< QSharedPointer< Transmit > > & | getTransmits () |
void | addTransmit (const QSharedPointer< Transmit > &pTransmit) |
QString | getRequiredAge () const |
const QSet< AccessRight > & | getOptionalAccessRights () const |
const QSet< AccessRight > & | getRequiredAccessRights () const |
const QSet< AccessRight > | getEffectiveAccessRights () const |
bool | addEffectiveAccessRight (AccessRight pAccessRight) |
bool | removeEffectiveAccessRight (AccessRight pAccessRight) |
bool | setEffectiveAccessRights (const QSet< AccessRight > &pAccessRights) |
QByteArray | encodeEffectiveChat () |
const QSharedPointer< StartPaos > & | getStartPaos () const |
void | setStartPaos (const QSharedPointer< StartPaos > &pStartPaos) |
CVCertificateChain | getChainStartingWith (const QSharedPointer< const CVCertificate > &pChainRoot) const |
bool | hasChainForCertificationAuthority (const EstablishPaceChannelOutput &pPaceOutput) const |
CVCertificateChain | getChainForCertificationAuthority (const EstablishPaceChannelOutput &pPaceOutput) const |
void | initCvcChainBuilder (const QVector< QSharedPointer< const CVCertificate >> &pAdditionalCertificates=QVector< QSharedPointer< const CVCertificate >>()) |
const QSharedPointer< const CVCertificate > & | getDvCvc () const |
void | setDvCvc (const QSharedPointer< const CVCertificate > &dvCvc) |
const QSharedPointer< const CVCertificate > & | getTerminalCvc () const |
void | setTerminalCvc (const QSharedPointer< const CVCertificate > &pTerminalCvc) |
const QByteArray & | getSslSession () const |
void | setSslSession (const QByteArray &pSession) |
![]() | |
WorkflowContext () | |
virtual | ~WorkflowContext () |
bool | isErrorReportedToUser () const |
void | setErrorReportedToUser (bool pErrorReportedToUser=true) |
bool | isPaceResultReportedToUser () const |
void | setPaceResultReportedToUser (bool pReported=true) |
void | setStateApproved (bool pApproved=true) |
bool | isStateApproved () const |
void | killWorkflow () |
bool | isWorkflowKilled () const |
const QString & | getCurrentState () const |
void | setCurrentState (const QString &pNewState) |
const QVector< ReaderManagerPlugInType > & | getReaderPlugInTypes () const |
void | setReaderPlugInTypes (const QVector< ReaderManagerPlugInType > &pReaderPlugInTypes) |
const QString & | getReaderName () const |
void | setReaderName (const QString &pReaderName) |
const QSharedPointer< CardConnection > & | getCardConnection () const |
void | setCardConnection (const QSharedPointer< CardConnection > &pCardConnection) |
void | resetCardConnection () |
bool | isNpaRepositioningRequired () const |
void | setNpaPositionVerified () |
void | handleWrongNpaPosition () |
const QString & | getPuk () const |
void | setPuk (const QString &pPuk) |
const QString & | getCan () const |
void | setCan (const QString &pCan) |
const QString & | getPin () const |
void | setPin (const QString &pPin) |
PacePasswordId | getEstablishPaceChannelType () const |
void | setEstablishPaceChannelType (PacePasswordId pType) |
virtual void | resetPacePasswords () |
EstablishPaceChannelOutput * | getPaceOutputData () const |
void | setPaceOutputData (const EstablishPaceChannelOutput &pPaceOutputData) |
bool | isPinBlocked () |
CardReturnCode | getLastPaceResult () const |
void | setLastPaceResult (CardReturnCode pLastPaceResult) |
void | resetLastPaceResult () |
bool | isExpectedReader () const |
void | rememberReader () |
int | getExpectedRetryCounter () const |
void | setExpectedRetryCounter (int pExpectedRetryCounter) |
const GlobalStatus & | getStatus () const |
void | setStatus (const GlobalStatus &pResult) |
const ECardApiResult | getStartPaosResult () const |
void | setStartPaosResult (const ECardApiResult &pStartPaosResult) |
bool | isWorkflowFinished () const |
void | setWorkflowFinished (bool pWorkflowFinished) |
bool | isWorkflowCancelled () const |
bool | isCanAllowedMode () const |
void | setCanAllowedMode (bool pCanAllowedMode) |
bool | hasNextWorkflowPending () const |
void | setNextWorkflowPending (bool pNextWorkflowPending) |
bool | currentReaderHasEidCardButInsufficientApduLength () const |
void | setCurrentReaderHasEidCardButInsufficientApduLength (bool pState) |
Weitere Geerbte Elemente | |
![]() | |
void | fireProgressChanged () |
void | fireDidAuthenticateEac1Changed () |
void | fireAuthenticationDataChanged () |
void | fireEffectiveChatChanged () |
![]() | |
void | fireStateApprovedChanged () |
void | fireStateChanged (const QString &pNewState) |
void | fireReaderPlugInTypesChanged () |
void | fireReaderInfoChanged () |
void | fireReaderNameChanged () |
void | fireCardConnectionChanged () |
void | fireCanChanged () |
void | firePinChanged () |
void | firePukChanged () |
void | firePaceResultUpdated () |
void | fireResultChanged () |
void | fireCanAllowedModeChanged () |
void | firePasswordTypeChanged () |
void | fireCancelWorkflow () |
void | fireNextWorkflowPending () |
TestAuthContext::TestAuthContext | ( | ActivationContext * | pActivationContext, |
const QString & | pFileName | ||
) |
|
virtual |
void TestAuthContext::addCvCertificate | ( | const QSharedPointer< const CVCertificate > & | pCvCertificate | ) |
void TestAuthContext::clearCvCertificates | ( | ) |
void TestAuthContext::removeCvCertAt | ( | int | pPosition | ) |
void TestAuthContext::setOptionalAccessRights | ( | const QSet< AccessRight > & | pAccessRights | ) |
void TestAuthContext::setRequiredAccessRights | ( | const QSet< AccessRight > & | pAccessRights | ) |