The BasicCardService type exposes the following members.

Constructors

  NameDescription
Public methodBasicCardService()()()()
Constructs a BasicCardService, with default BasicCardSelector.
Public methodBasicCardService(ICardSelector)
Constructs a BasicCardService, with specified card selector.

Methods

  NameDescription
Public methodAutoEncryption(Int32, BasicCardString)
Public methodAutoEncryption(Int32, String)
Public methodCmdAssignNad
Public methodCmdAuthenticateFile
Public methodCmdClearEeprom
Protected methodCmdClearEeprom24
Call BasicCard CLEAR EEPROM (24 bit address variant) command.
(Inherited from AbstractBasicCardService.)
Protected methodCmdClearEeprom32
Call BasicCard CLEAR EEPROM (32 bit address variant) command.
(Inherited from AbstractBasicCardService.)
Public methodCmdComponentName
Public methodCmdCreateComponent
Public methodCmdDeleteComponent
Public methodCmdEcho
Protected methodCmdEeprom24Crc
Call BasicCard EEPROM CRC (24 bit address variant) command.
(Inherited from AbstractBasicCardService.)
Protected methodCmdEeprom24Crc32
Call BasicCard EEPROM CRC (23 bit CRC, 24 bit address variant) command.
(Inherited from AbstractBasicCardService.)
Protected methodCmdEeprom24Size
Call BasicCard EEPROM SIZE (24 bit variant) command.
(Inherited from AbstractBasicCardService.)
Protected methodCmdEeprom32Crc
Call BasicCard EEPROM CRC (32 bit address variant) command.
(Inherited from AbstractBasicCardService.)
Protected methodCmdEeprom32Size
Call BasicCard EEPROM SIZE (32 bit variant) command.
(Inherited from AbstractBasicCardService.)
Public methodCmdEepromCrc
Public methodCmdEepromSize
Public methodCmdEndEncryption
Public methodCmdExternalAuthenticate
Public methodCmdFileIO
Public methodCmdFindComponent
Public methodCmdGetApplicationID()()()()
Public methodCmdGetApplicationID(Int32, Int32)
Public methodCmdGetChallenge
Public methodCmdGetFreeMemory
Public methodCmdGetState
Public methodCmdGrantPrivilege
Public methodCmdInternalAuthenticate
Public methodCmdLoadSequence
Public methodCmdProEncryption
Public methodCmdReadComponentAttr
Public methodCmdReadComponentData
Public methodCmdReadEeprom
Protected methodCmdReadEeprom24
Call BasicCard READ EEPROM (24 bit address variant) command
(Inherited from AbstractBasicCardService.)
Public methodCmdReadRightsList
Public methodCmdSecureTransportEndSession
Public methodCmdSecureTransportStartSession
Public methodCmdSelectApplication
Public methodCmdSetState
Public methodCmdSMAuthentication
Public methodCmdSMEncryption
Public methodCmdStartEncryption
Protected methodCmdStartKdpEncryption
Call BasicCard START ENCRYPTION command with key derivation parameter (KDP)
(Inherited from AbstractBasicCardService.)
Public methodCmdVerify
Public methodCmdWriteComponentAttr
Public methodCmdWriteComponentData
Public methodCmdWriteEeprom
Protected methodComputeTestCustomerKeyFromKdp
Compute test customer key
(Inherited from AbstractBasicCardService.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Release assigned resources like card reader and connection.
(Inherited from AbstractCardService.)
Public methodDoCommandAndResponse
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExternalAuthenticate(String, CryptAlgo)
Public methodExternalAuthenticate(BasicCardString, CryptAlgo)
Protected methodFinalize
Destructor calling Dispose()()()().
(Inherited from AbstractCardService.)
Protected methodGetCustomerKeyLength
Get key length of customer key
(Inherited from AbstractBasicCardService.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetKeyLength
Get length of specified key.
(Inherited from AbstractBasicCardService.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
Init service by assigning specified connection.
(Inherited from AbstractBasicCardService.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodInternalAuthenticate(String, CryptAlgo)
Public methodInternalAuthenticate(BasicCardString, CryptAlgo)
Public methodLock
Protected methodMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnCardEvent
Overwrite this function to be informed about card events. Default implementation calls OnCardRemoved()()()() for card removed events.
(Inherited from AbstractCardService.)
Protected methodOnCardRemoved
Overwrite this function to be informed when card is removed. Default implementation changes IsCardAvailable property to false. This function is called once only.
(Inherited from AbstractCardService.)
Public methodResetCard
Protected methodSetCardSelector
Change the card selector.
(Inherited from AbstractCardService.)
Protected methodSetCustomerKey
Set encryption key for KDP, customer key encryption
(Inherited from AbstractBasicCardService.)
Public methodSetKey(Int32, array<Byte>[]()[][])
Public methodSetKey(String, array<Byte>[]()[][])
Public methodSetKey(BasicCardString, array<Byte>[]()[][])
Public methodSMEncryptionByCid
Public methodSMEncryptionByName(String, array<Byte>[]()[][], CryptAlgo)
Public methodSMEncryptionByName(BasicCardString, array<Byte>[]()[][], CryptAlgo)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlock

Fields

  NameDescription
Protected fieldatr
ATR of card.
(Inherited from AbstractCardService.)
Protected fieldconnection
Connection to card used.
(Inherited from AbstractCardService.)
Protected fielddoesNeedExclusiveConnection
Set to false if shared connection should be used, or to true if exclusive connection is required. Default is true.
(Inherited from AbstractCardService.)
Protected fieldpconn
Connection to processor card
(Inherited from AbstractBasicCardService.)
Protected fieldrandom
secure random number generator
(Inherited from AbstractBasicCardService.)
Protected fieldselector
Card selector used.
(Inherited from AbstractCardService.)

Properties

  NameDescription
Protected propertyAlgorithm
Id of current active encryption algorithm.
(Inherited from AbstractBasicCardService.)
Public propertyAllowExtendedLength
Allow using extended length APDU?
Public propertyCardConnection
Used connection.
Public propertyCardSelector
Protected propertyCustomerKeyEncryption
True if encryption with customer key is active
(Inherited from AbstractBasicCardService.)
Public propertyFileIO
See FileIO
Public propertyIsCardAvailable
True if card is still available, false if card was removed.
(Inherited from AbstractCardService.)
Public propertyIsExclusive
True if service uses an exclusive (not shared or locked) connection. See ICardService.IsExclusive.
(Inherited from AbstractCardService.)
Protected propertyKeyNumber
Number or CID of current active encryption key. -1 if no encryption active.
(Inherited from AbstractBasicCardService.)
Public propertyNeedExclusiveConnection
Protected propertyObserver
Observer monitoring this service
(Inherited from AbstractCardService.)

See Also