AusweisApp
Lade ...
Suche ...
Keine Treffer
governikus::pcsc-Namensbereichsreferenz

Aufzählungen

enum  PcscReturnCode : PCSC_RETURNCODE {
  Scard_S_Success = returnCode(SCARD_S_SUCCESS) , Scard_F_Internal_Error = returnCode(SCARD_F_INTERNAL_ERROR) , Scard_E_Cancelled = returnCode(SCARD_E_CANCELLED) , Scard_E_Invalid_Handle = returnCode(SCARD_E_INVALID_HANDLE) ,
  Scard_E_Invalid_Parameter = returnCode(SCARD_E_INVALID_PARAMETER) , Scard_E_Invalid_Target = returnCode(SCARD_E_INVALID_TARGET) , Scard_E_No_Memory = returnCode(SCARD_E_NO_MEMORY) , Scard_F_Waited_Too_Long = returnCode(SCARD_F_WAITED_TOO_LONG) ,
  Scard_E_Insufficient_Buffer = returnCode(SCARD_E_INSUFFICIENT_BUFFER) , Scard_E_Unknown_Reader = returnCode(SCARD_E_UNKNOWN_READER) , Scard_E_Timeout = returnCode(SCARD_E_TIMEOUT) , Scard_E_Sharing_Violation = returnCode(SCARD_E_SHARING_VIOLATION) ,
  Scard_E_No_Smartcard = returnCode(SCARD_E_NO_SMARTCARD) , Scard_E_Unknown_Card = returnCode(SCARD_E_UNKNOWN_CARD) , Scard_E_Cant_Dispose = returnCode(SCARD_E_CANT_DISPOSE) , Scard_E_Proto_Mismatch = returnCode(SCARD_E_PROTO_MISMATCH) ,
  Scard_E_Not_Ready = returnCode(SCARD_E_NOT_READY) , Scard_E_Invalid_Value = returnCode(SCARD_E_INVALID_VALUE) , Scard_E_System_Cancelled = returnCode(SCARD_E_SYSTEM_CANCELLED) , Scard_F_Comm_Error = returnCode(SCARD_F_COMM_ERROR) ,
  Scard_F_Unknown_Error = returnCode(SCARD_F_UNKNOWN_ERROR) , Scard_E_Invalid_Atr = returnCode(SCARD_E_INVALID_ATR) , Scard_E_Not_Transacted = returnCode(SCARD_E_NOT_TRANSACTED) , Scard_E_Reader_Unavailable = returnCode(SCARD_E_READER_UNAVAILABLE) ,
  Scard_P_Shutdown = returnCode(SCARD_P_SHUTDOWN) , Scard_E_Pci_Too_Small = returnCode(SCARD_E_PCI_TOO_SMALL) , Scard_E_Reader_Unsupported = returnCode(SCARD_E_READER_UNSUPPORTED) , Scard_E_Duplicate_Reader = returnCode(SCARD_E_DUPLICATE_READER) ,
  Scard_E_Card_Unsupported = returnCode(SCARD_E_CARD_UNSUPPORTED) , Scard_E_No_Service = returnCode(SCARD_E_NO_SERVICE) , Scard_E_Service_Stopped = returnCode(SCARD_E_SERVICE_STOPPED) , Scard_E_Unsupported_Feature = returnCode(SCARD_E_UNSUPPORTED_FEATURE) ,
  Scard_E_Unexpected = returnCode(SCARD_E_UNEXPECTED) , Scard_E_Icc_Installation = returnCode(SCARD_E_ICC_INSTALLATION) , Scard_E_Icc_Createorder = returnCode(SCARD_E_ICC_CREATEORDER) , Scard_E_Dir_Not_Found = returnCode(SCARD_E_DIR_NOT_FOUND) ,
  Scard_E_File_Not_Found = returnCode(SCARD_E_FILE_NOT_FOUND) , Scard_E_No_Dir = returnCode(SCARD_E_NO_DIR) , Scard_E_No_File = returnCode(SCARD_E_NO_FILE) , Scard_E_No_Access = returnCode(SCARD_E_NO_ACCESS) ,
  Scard_E_Write_Too_Many = returnCode(SCARD_E_WRITE_TOO_MANY) , Scard_E_Bad_Seek = returnCode(SCARD_E_BAD_SEEK) , Scard_E_Invalid_Chv = returnCode(SCARD_E_INVALID_CHV) , Scard_E_Unknown_Res_Mng = returnCode(SCARD_E_UNKNOWN_RES_MNG) ,
  Scard_E_No_Such_Certificate = returnCode(SCARD_E_NO_SUCH_CERTIFICATE) , Scard_E_Certificate_Unavailable = returnCode(SCARD_E_CERTIFICATE_UNAVAILABLE) , Scard_E_No_Readers_Available = returnCode(SCARD_E_NO_READERS_AVAILABLE) , Scard_E_Comm_Data_Lost = returnCode(SCARD_E_COMM_DATA_LOST) ,
  Scard_E_No_Key_Container = returnCode(SCARD_E_NO_KEY_CONTAINER) , Scard_E_Server_Too_Busy = returnCode(SCARD_E_SERVER_TOO_BUSY) , Scard_W_Unsupported_Card = returnCode(SCARD_W_UNSUPPORTED_CARD) , Scard_W_Unresponsive_Card = returnCode(SCARD_W_UNRESPONSIVE_CARD) ,
  Scard_W_Unpowered_Card = returnCode(SCARD_W_UNPOWERED_CARD) , Scard_W_Reset_Card = returnCode(SCARD_W_RESET_CARD) , Scard_W_Removed_Card = returnCode(SCARD_W_REMOVED_CARD) , Scard_W_Security_Violation = returnCode(SCARD_W_SECURITY_VIOLATION) ,
  Scard_W_Wrong_Chv = returnCode(SCARD_W_WRONG_CHV) , Scard_W_Chv_Blocked = returnCode(SCARD_W_CHV_BLOCKED) , Scard_W_Eof = returnCode(SCARD_W_EOF) , Scard_W_Cancelled_By_User = returnCode(SCARD_W_CANCELLED_BY_USER) ,
  Scard_W_Card_Not_Authenticated = returnCode(SCARD_W_CARD_NOT_AUTHENTICATED)
}
 

Funktionen

QString toString (PCSC_RETURNCODE pCode)
 
QDataStreamoperator<< (QDataStream &pStream, const PcscReturnCode &pCode)
 
QDataStreamoperator>> (QDataStream &pStream, PcscReturnCode &pCode)
 

Dokumentation der Aufzählungstypen

◆ PcscReturnCode

Error codes from http://msdn.microsoft.com/en-us/library/aa924526.aspx

Aufzählungswerte
Scard_S_Success 

No error was encountered.

Scard_F_Internal_Error 

An internal consistency check failed.

Scard_E_Cancelled 

The action was cancelled by an SCardCancel request.

Scard_E_Invalid_Handle 

The supplied handle was invalid.

Scard_E_Invalid_Parameter 

One or more of the supplied parameters could not be properly interpreted.

Scard_E_Invalid_Target 

Registry startup information is missing or invalid.

Scard_E_No_Memory 

Not enough memory available to complete this command.

Scard_F_Waited_Too_Long 

An internal consistency timer has expired.

Scard_E_Insufficient_Buffer 

The data buffer to receive returned data is too small for the returned data.

Scard_E_Unknown_Reader 

The specified reader name is not recognized.

Scard_E_Timeout 

The user-specified timeout value has expired.

Scard_E_Sharing_Violation 

The smart card cannot be accessed because of other connections outstanding.

Scard_E_No_Smartcard 

The operation requires a Smart Card, but no Smart Card is currently in the device.

Scard_E_Unknown_Card 

The specified smart card name is not recognized.

Scard_E_Cant_Dispose 

The system could not dispose of the media in the requested manner.

Scard_E_Proto_Mismatch 

The requested protocols are incompatible with the protocol currently in use with the smart card.

Scard_E_Not_Ready 

The reader or smart card is not ready to accept commands.

Scard_E_Invalid_Value 

One or more of the supplied parameters values could not be properly interpreted.

Scard_E_System_Cancelled 

The action was cancelled by the system, presumably to log off or shut down.

Scard_F_Comm_Error 

An internal communications error has been detected.

Scard_F_Unknown_Error 

An internal error has been detected, but the source is unknown.

Scard_E_Invalid_Atr 

An ATR obtained from the registry is not a valid ATR string.

Scard_E_Not_Transacted 

An attempt was made to end a non-existent transaction.

Scard_E_Reader_Unavailable 

The specified reader is not currently available for use.

Scard_P_Shutdown 

The operation has been aborted to allow the server application to exit.

Scard_E_Pci_Too_Small 

The PCI Receive buffer was too small.

Scard_E_Reader_Unsupported 

The reader driver does not meet minimal requirements for support.

Scard_E_Duplicate_Reader 

The reader driver did not produce a unique reader name.

Scard_E_Card_Unsupported 

The smart card does not meet minimal requirements for support.

Scard_E_No_Service 

The Smart card resource manager is not running.

Scard_E_Service_Stopped 

The Smart card resource manager has shut down.

Scard_E_Unsupported_Feature 

This smart card does not support the requested feature.

Scard_E_Unexpected 

An unexpected card error has occurred.

Scard_E_Icc_Installation 

No primary provider can be found for the smart card.

Scard_E_Icc_Createorder 

The requested order of object creation is not supported.

Scard_E_Dir_Not_Found 

The identified directory does not exist in the smart card.

Scard_E_File_Not_Found 

The identified file does not exist in the smart card.

Scard_E_No_Dir 

The supplied path does not represent a smart card directory.

Scard_E_No_File 

The supplied path does not represent a smart card file.

Scard_E_No_Access 

Access is denied to this file.

Scard_E_Write_Too_Many 

The smart card does not have enough memory to store the information.

Scard_E_Bad_Seek 

There was an error trying to set the smart card file object pointer.

Scard_E_Invalid_Chv 

The supplied PIN is incorrect.

Scard_E_Unknown_Res_Mng 

An unrecognized error code was returned from a layered component.

Scard_E_No_Such_Certificate 

The requested certificate does not exist.

Scard_E_Certificate_Unavailable 

The requested certificate could not be obtained.

Scard_E_No_Readers_Available 

Cannot find a smart card reader.

Scard_E_Comm_Data_Lost 

A communications error with the smart card has been detected. Retry the operation.

Scard_E_No_Key_Container 

The requested key container does not exist on the smart card.

Scard_E_Server_Too_Busy 

The Smart Card Resource Manager is too busy to complete this operation.

Scard_W_Unsupported_Card 

The reader cannot communicate with the card, due to ATR string configuration conflicts.

Scard_W_Unresponsive_Card 

The smart card is not responding to a reset.

Scard_W_Unpowered_Card 

Power has been removed from the smart card, so that further communication is not possible.

Scard_W_Reset_Card 

The smart card has been reset, so any shared state information is invalid.

Scard_W_Removed_Card 

The smart card has been removed, so further communication is not possible.

Scard_W_Security_Violation 

Access was denied because of a security violation.

Scard_W_Wrong_Chv 

The card cannot be accessed because the wrong PIN was presented.

Scard_W_Chv_Blocked 

The card cannot be accessed because the maximum number of PIN entry attempts has been reached.

Scard_W_Eof 

The end of the smart card file has been reached.

Scard_W_Cancelled_By_User 

The user pressed "Cancel" on a Smart Card Selection Dialog.

Scard_W_Card_Not_Authenticated 

No PIN was presented to the smart card.

Dokumentation der Funktionen

◆ operator<<()

QDataStream & governikus::pcsc::operator<< ( QDataStream & pStream,
const PcscReturnCode & pCode )
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ operator>>()

QDataStream & governikus::pcsc::operator>> ( QDataStream & pStream,
PcscReturnCode & pCode )
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ toString()

QString governikus::pcsc::toString ( PCSC_RETURNCODE pCode)
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird: