Constants
General Constant
BSI_AUTHENTICATOR_MAX_LEN
The maximum size of the uszAuthValue attribute of the BSIAuthenticator structure.
BSI_ERROR_TEXT_LEN
Maximum size of the error text buffer returned by the gscBsiUtilGetExtendedErrorText() function.
BSI_KEY_LENGTH
The size of the key passed in the uszAuthValue attribute of the BSIAuthenticator structure when using external authentication in weak mode.
BSI_RSA_NO_PAD
Identifies the cryptographic algorithm to be used to perform a private key computation on a message digest. It is passed as the ucAlgoID attribute of the gscBsiPkiCompute() function.
Access Method Types
BSI_AM_PIN
PIN code is required.
Value: 0x06
BSI_AM_SECURE_CHANNEL_GP
Secure Channel (Global Platform)
Value: 0x04
BSI_AM_SECURE_CHANNEL_ISO
Secure Channel (ISO 7816-4)
Value: 0x0B
BSI_AM_XAUTH
External Authentication
Value: 0x02
Access Control Rule Types (ACRType)
Identifies the access control rule type.
These values are returned by the gscBsiGcGetContainerProperties() and gscBsiGetCryptoProperties() to identify the required access controls for the respective Generic Container and PKI card services.
BSI_ACR_ALWAYS
The service is always accessible; there is no need to first authenticate to the card to get access to the service.
Access methods in this access control rule: None
Value: 0x00
BSI_ACR_XAUTH
External Authentication.
Access methods in this access control rule: BSI_AM_XAUTH
Value: 0x02
BSI_ACR_XAUTH_OR_PIN
Service can be requested after an External Authentication or after a successful PIN presentation. Not implemented.
Access methods in this access control rule: BSI_AM_XAUTH OR BSI_AM_PIN
Value: 0x03
BSI_SECURE_CHANNEL_GP
Secure Channel (Global Platform). Not implemented.
Access methods in this access control rule: BSI_AM_SECURE_CHANNEL_GP
Value: 0x04
BSI_ACR_PIN_ALWAYS
Verify PIN immediately prior to service request.
Access methods in this access control rule: BSI_AM_PIN
Value: 0x05
BSI_ACR_PIN
PIN code is required.
Access methods in this access control rule: BSI_AM_PIN
Value: 0x06
BSI_ACR_XAUTH_THEN_PIN
External Authentication followed by a PIN presentation.
Access methods in this access control rule: BSI_AM_XAUTH AND BSI_AM_PIN
Value: 0x07
BSI_ACR_UPDATE_ONCE
You can only update the Target object once during its lifetime. Not implemented.
Access methods in this access control rule: None
Value: 0x08
BSI_ACR_PIN_THEN_XAUTH
PIN presentation followed by External Authentication.
Access methods in this access control rule: BSI_AM_PIN AND BSI_AM_XAUTH
Value: 0x09
BSI_SECURE_CHANNEL_OP
Secure Channel (Global Platform) (GSC 1.8).
Value: 0x04
BSI_SECURE_CHANNEL_GP
Secure Channel (Global Platform).
Value: 0x04
BSI_SECURE_CHANNEL_ISO
Secure Channel. (ISO 7816-4). Not implemented.
Access methods in this access control rule: BSI_AM_SECURE_CHANNEL_ISO
Value: 0x0B
BSI_ACR_XAUTH_AND_PIN
PIN presentation and External Authentication in any order are required.
Access methods in this access control rule: BSI_AM_XAUTH AND BSI_AM_PIN
Value: 0x0C