PCSCErrorCode

enum PCSCErrorCode : Enum<PCSCErrorCode>

Enumeration to doscribe error states in the PC/SC API.

Entries

W_CARD_NOT_AUTHENTICATED
Link copied to clipboard
W_CARD_NOT_AUTHENTICATED(0x8010006FL, "No PIN was presented to the smart card")

0x8010006F: No PIN was presented to the smart card

W_CANCELLED_BY_USER
Link copied to clipboard
W_CANCELLED_BY_USER(0x8010006EL, "The user pressed \"Cancel\" on a Smart Card Selection Dialog")

0x8010006E: The user pressed "Cancel" on a Smart Card Selection Dialog

W_EOF
Link copied to clipboard
W_EOF(0x8010006DL, "The end of the smart card file has been reached")

0x8010006D: The end of the smart card file has been reached

W_CHV_BLOCKED
Link copied to clipboard
W_CHV_BLOCKED(0x8010006CL, "The card cannot be accessed because the maximum number of PIN entry attempts has been reached")

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

W_WRONG_CHV
Link copied to clipboard
W_WRONG_CHV(0x8010006BL, "The card cannot be accessed because the wrong PIN was presented")

0x8010006B: The card cannot be accessed because the wrong PIN was presented

W_SECURITY_VIOLATION
Link copied to clipboard
W_SECURITY_VIOLATION(0x8010006AL, "Access was denied because of a security violation")

0x8010006A: Access was denied because of a security violation

W_REMOVED_CARD
Link copied to clipboard
W_REMOVED_CARD(0x80100069L, "The smart card has been removed, so further communication is not possible")

0x80100069: The smart card has been removed, so further communication is not possible

W_RESET_CARD
Link copied to clipboard
W_RESET_CARD(0x80100068L, "The smart card has been reset, so any shared state information is invalid")

0x80100068: The smart card has been reset, so any shared state information is invalid

W_UNPOWERED_CARD
Link copied to clipboard
W_UNPOWERED_CARD(0x80100067L, "Power has been removed from the smart card, so that further communication is not possible")

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

W_UNRESPONSIVE_CARD
Link copied to clipboard
W_UNRESPONSIVE_CARD(0x80100066L, "The smart card is not responding to a reset")

0x80100066: The smart card is not responding to a reset

W_UNSUPPORTED_CARD
Link copied to clipboard
W_UNSUPPORTED_CARD(0x80100065L, "The reader cannot communicate with the card, due to ATR string configuration conflicts")

0x80100065: The reader cannot communicate with the card, due to ATR string configuration conflicts

E_SERVER_TOO_BUSY
Link copied to clipboard
E_SERVER_TOO_BUSY(0x80100031L, "The Smart Card Resource Manager is too busy to complete this operation")

0x80100031: The Smart Card Resource Manager is too busy to complete this operation

E_NO_KEY_CONTAINER
Link copied to clipboard
E_NO_KEY_CONTAINER(0x80100030L, "The requested key container does not exist on the smart card")

0x80100030: The requested key container does not exist on the smart card

E_COMM_DATA_LOST
Link copied to clipboard
E_COMM_DATA_LOST(0x8010002FL, "A communications error with the smart card has been detected. More..")

0x8010002F: A communications error with the smart card has been detected. More..

E_NO_READERS_AVAILABLE
Link copied to clipboard
E_NO_READERS_AVAILABLE(0x8010002EL, "Cannot find a smart card reader")

0x8010002E: Cannot find a smart card reader

E_CERTIFICATE_UNAVAILABLE
Link copied to clipboard
E_CERTIFICATE_UNAVAILABLE(0x8010002DL, "The requested certificate could not be obtained")

0x8010002D: The requested certificate could not be obtained

E_NO_SUCH_CERTIFICATE
Link copied to clipboard
E_NO_SUCH_CERTIFICATE(0x8010002CL, "The requested certificate does not exist")

0x8010002C: The requested certificate does not exist

E_UNKNOWN_RES_MNG
Link copied to clipboard
E_UNKNOWN_RES_MNG(0x8010002BL, "An unrecognized error code was returned from a layered component")

0x8010002B: An unrecognized error code was returned from a layered component

E_INVALID_CHV
Link copied to clipboard
E_INVALID_CHV(0x8010002AL, "The supplied PIN is incorrect")

0x8010002A: The supplied PIN is incorrect

E_BAD_SEEK
Link copied to clipboard
E_BAD_SEEK(0x80100029L, "There was an error trying to set the smart card file object pointer")

0x80100029: There was an error trying to set the smart card file object pointer

E_WRITE_TOO_MANY
Link copied to clipboard
E_WRITE_TOO_MANY(0x80100028L, "The smart card does not have enough memory to store the information")

0x80100028: The smart card does not have enough memory to store the information

E_NO_ACCESS
Link copied to clipboard
E_NO_ACCESS(0x80100027L, "Access is denied to this file")

0x80100027: Access is denied to this file

E_NO_FILE
Link copied to clipboard
E_NO_FILE(0x80100026L, "The supplied path does not represent a smart card file")

0x80100026: The supplied path does not represent a smart card file

E_NO_DIR
Link copied to clipboard
E_NO_DIR(0x80100025L, "The supplied path does not represent a smart card directory")

0x80100025: The supplied path does not represent a smart card directory

E_FILE_NOT_FOUND
Link copied to clipboard
E_FILE_NOT_FOUND(0x80100024L, "The identified file does not exist in the smart card")

0x80100024: The identified file does not exist in the smart card

E_DIR_NOT_FOUND
Link copied to clipboard
E_DIR_NOT_FOUND(0x80100023L, "The identified directory does not exist in the smart card")

0x80100023: The identified directory does not exist in the smart card

E_ICC_CREATEORDER
Link copied to clipboard
E_ICC_CREATEORDER(0x80100021L, "The requested order of object creation is not supported")

0x80100021: The requested order of object creation is not supported

E_ICC_INSTALLATION
Link copied to clipboard
E_ICC_INSTALLATION(0x80100020L, "No primary provider can be found for the smart card")

0x80100020: No primary provider can be found for the smart card

E_UNSUPPORTED_FEATURE
Link copied to clipboard
E_UNSUPPORTED_FEATURE(0x8010001FL, "This smart card does not support the requested feature")

0x8010001F: This smart card does not support the requested feature

E_UNEXPECTED
Link copied to clipboard
E_UNEXPECTED(0x8010001FL, "An unexpected card error has occurred")

0x8010001F: An unexpected card error has occurred

E_SERVICE_STOPPED
Link copied to clipboard
E_SERVICE_STOPPED(0x8010001EL, "The Smart card resource manager has shut down")

0x8010001E: The Smart card resource manager has shut down

E_NO_SERVICE
Link copied to clipboard
E_NO_SERVICE(0x8010001DL, "The Smart card resource manager is not running")

0x8010001D: The Smart card resource manager is not running

E_CARD_UNSUPPORTED
Link copied to clipboard
E_CARD_UNSUPPORTED(0x8010001CL, "The smart card does not meet minimal requirements for support")

0x8010001C: The smart card does not meet minimal requirements for support

E_DUPLICATE_READER
Link copied to clipboard
E_DUPLICATE_READER(0x8010001BL, "The reader driver did not produce a unique reader name")

0x8010001B: The reader driver did not produce a unique reader name

E_READER_UNSUPPORTED
Link copied to clipboard
E_READER_UNSUPPORTED(0x8010001AL, "The reader driver does not meet minimal requirements for support")

0x8010001A: The reader driver does not meet minimal requirements for support

E_PCI_TOO_SMALL
Link copied to clipboard
E_PCI_TOO_SMALL(0x80100019L, "The PCI Receive buffer was too small")

0x80100019: The PCI Receive buffer was too small

P_SHUTDOWN
Link copied to clipboard
P_SHUTDOWN(0x80100018L, "The operation has been aborted to allow the server application to exit")

0x80100018: The operation has been aborted to allow the server application to exit

E_READER_UNAVAILABLE
Link copied to clipboard
E_READER_UNAVAILABLE(0x80100017L, "The specified reader is not currently available for use")

0x80100017: The specified reader is not currently available for use

E_NOT_TRANSACTED
Link copied to clipboard
E_NOT_TRANSACTED(0x80100016L, "An attempt was made to end a non-existent transaction")

0x80100016: An attempt was made to end a non-existent transaction

E_INVALID_ATR
Link copied to clipboard
E_INVALID_ATR(0x80100015L, "An ATR obtained from the registry is not a valid ATR string")

0x80100015: An ATR obtained from the registry is not a valid ATR string

F_UNKNOWN_ERROR
Link copied to clipboard
F_UNKNOWN_ERROR(0x80100014L, "An internal error has been detected, but the source is unknown")

0x80100014: An internal error has been detected, but the source is unknown

F_COMM_ERROR
Link copied to clipboard
F_COMM_ERROR(0x80100013L, "An internal communications error has been detected")

0x80100013: An internal communications error has been detected

E_SYSTEM_CANCELLED
Link copied to clipboard
E_SYSTEM_CANCELLED(0x80100012L, "The action was cancelled by the system, presumably to log off or shut down")

0x80100012: The action was cancelled by the system, presumably to log off or shut down

E_INVALID_VALUE
Link copied to clipboard
E_INVALID_VALUE(0x80100011L, "One or more of the supplied parameters values could not be properly interpreted")

0x80100011: One or more of the supplied parameters values could not be properly interpreted

E_NOT_READY
Link copied to clipboard
E_NOT_READY(0x80100010L, "The reader or smart card is not ready to accept commands")

0x80100010: The reader or smart card is not ready to accept commands

E_PROTO_MISMATCH
Link copied to clipboard
E_PROTO_MISMATCH(0x8010000FL, "The requested protocols are incompatible with the protocol currently in use with the smart card")

0x8010000F: The requested protocols are incompatible with the protocol currently in use with the smart card

E_CANT_DISPOSE
Link copied to clipboard
E_CANT_DISPOSE(0x8010000EL, "The system could not dispose of the media in the requested manner")

0x8010000E: The system could not dispose of the media in the requested manner

E_UNKNOWN_CARD
Link copied to clipboard
E_UNKNOWN_CARD(0x8010000DL, "The specified smart card name is not recognized")

0x8010000D: The specified smart card name is not recognized

E_NO_SMARTCARD
Link copied to clipboard
E_NO_SMARTCARD(0x8010000CL, "The operation requires a Smart Card, but no Smart Card is currently in the device")

0x8010000C: The operation requires a Smart Card, but no Smart Card is currently in the device

E_SHARING_VIOLATION
Link copied to clipboard
E_SHARING_VIOLATION(0x8010000BL, "The smart card cannot be accessed because of other connections outstanding")

0x8010000B: The smart card cannot be accessed because of other connections outstanding

E_TIMEOUT
Link copied to clipboard
E_TIMEOUT(0x8010000AL, "The user-specified timeout value has expired")

0x8010000A: The user-specified timeout value has expired

E_UNKNOWN_READER
Link copied to clipboard
E_UNKNOWN_READER(0x80100009L, "The specified reader name is not recognized")

0x80100009: The specified reader name is not recognized

E_INSUFFICIENT_BUFFER
Link copied to clipboard
E_INSUFFICIENT_BUFFER(0x80100008L, "The data buffer to receive returned data is too small for the returned data")

0x80100008: The data buffer to receive returned data is too small for the returned data

F_WAITED_TOO_LONG
Link copied to clipboard
F_WAITED_TOO_LONG(0x80100007L, "An internal consistency timer has expired")

0x80100007: An internal consistency timer has expired

E_NO_MEMORY
Link copied to clipboard
E_NO_MEMORY(0x80100006L, "Not enough memory available to complete this command")

0x80100006: Not enough memory available to complete this command

E_INVALID_TARGET
Link copied to clipboard
E_INVALID_TARGET(0x80100005L, "Registry startup information is missing or invalid")

0x80100005: Registry startup information is missing or invalid

E_INVALID_PARAMETER
Link copied to clipboard
E_INVALID_PARAMETER(0x80100004L, "One or more of the supplied parameters could not be properly interpreted")

0x80100004: One or more of the supplied parameters could not be properly interpreted

E_INVALID_HANDLE
Link copied to clipboard
E_INVALID_HANDLE(0x80100003L, "The supplied handle was invalid")

0x80100003: The supplied handle was invalid

E_CANCELLED
Link copied to clipboard
E_CANCELLED(0x80100002L, "The action was cancelled by an SCardCancel request")

0x80100002: The action was cancelled by an SCardCancel request

F_INTERNAL_ERROR
Link copied to clipboard
F_INTERNAL_ERROR(0x80100001L, "An internal consistency check failed")

0x80100001: An internal consistency check failed

S_SUCCESS
Link copied to clipboard
S_SUCCESS(0x00000000L, "No error was encountered")

0x00000000: No error was encountered

Properties

code
Link copied to clipboard
val code: Long

Numeric error code

description
Link copied to clipboard
val description: String

Description of the error condition

message
Link copied to clipboard
val message: String

An error message for human consumption

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int