2005-02-10 10:08:27 +00:00
|
|
|
/*
|
|
|
|
* cards.h: Registered card types for sc_card_t->type
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005 Antti Tapaninen <aet@cc.hut.fi>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _OPENSC_CARDS_H
|
|
|
|
#define _OPENSC_CARDS_H
|
|
|
|
|
|
|
|
#include <opensc/types.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
enum {
|
|
|
|
/* Generic card types */
|
|
|
|
SC_CARD_TYPE_UNKNOWN = -1,
|
|
|
|
SC_CARD_TYPE_GENERIC_BASE = 0,
|
|
|
|
SC_CARD_TYPE_GENERIC,
|
|
|
|
|
|
|
|
/* Cards without registered type, yet */
|
|
|
|
SC_CARD_TYPE_TEST_BASE = 500,
|
|
|
|
|
2006-01-23 21:43:01 +00:00
|
|
|
/* cardos driver */
|
|
|
|
SC_CARD_TYPE_CARDOS_BASE = 1000,
|
|
|
|
SC_CARD_TYPE_CARDOS_GENERIC,
|
2005-12-28 19:38:55 +00:00
|
|
|
SC_CARD_TYPE_CARDOS_M4_2,
|
2006-01-26 19:02:02 +00:00
|
|
|
SC_CARD_TYPE_CARDOS_M4_3,
|
2005-02-10 10:08:27 +00:00
|
|
|
|
|
|
|
/* flex/cyberflex drivers */
|
|
|
|
SC_CARD_TYPE_FLEX_BASE = 2000,
|
|
|
|
SC_CARD_TYPE_FLEX_GENERIC,
|
|
|
|
SC_CARD_TYPE_FLEX_CRYPTO,
|
|
|
|
SC_CARD_TYPE_FLEX_MULTI,
|
|
|
|
SC_CARD_TYPE_FLEX_CYBER,
|
|
|
|
|
|
|
|
/* gpk driver */
|
|
|
|
SC_CARD_TYPE_GPK_BASE = 3000,
|
|
|
|
SC_CARD_TYPE_GPK_GENERIC,
|
|
|
|
SC_CARD_TYPE_GPK_GPK4000_su256 = 3040,
|
|
|
|
SC_CARD_TYPE_GPK_GPK4000_s,
|
|
|
|
SC_CARD_TYPE_GPK_GPK4000_sp,
|
|
|
|
SC_CARD_TYPE_GPK_GPK4000_sdo,
|
|
|
|
SC_CARD_TYPE_GPK_GPK8000 = 3080,
|
|
|
|
SC_CARD_TYPE_GPK_GPK8000_8K,
|
|
|
|
SC_CARD_TYPE_GPK_GPK8000_16K,
|
|
|
|
SC_CARD_TYPE_GPK_GPK16000 = 3160,
|
|
|
|
|
|
|
|
/* miocos driver */
|
|
|
|
SC_CARD_TYPE_MIOCOS_BASE = 4000,
|
|
|
|
SC_CARD_TYPE_MIOCOS_GENERIC,
|
|
|
|
|
|
|
|
/* mcrd driver */
|
|
|
|
SC_CARD_TYPE_MCRD_BASE = 5000,
|
|
|
|
SC_CARD_TYPE_MCRD_GENERIC,
|
|
|
|
SC_CARD_TYPE_MCRD_ESTEID,
|
2006-05-01 10:12:36 +00:00
|
|
|
SC_CARD_TYPE_MCRD_DTRUST,
|
2005-02-10 10:08:27 +00:00
|
|
|
|
|
|
|
/* setcos driver */
|
|
|
|
SC_CARD_TYPE_SETCOS_BASE = 6000,
|
|
|
|
SC_CARD_TYPE_SETCOS_GENERIC,
|
|
|
|
SC_CARD_TYPE_SETCOS_PKI,
|
|
|
|
SC_CARD_TYPE_SETCOS_FINEID,
|
2005-02-24 11:11:12 +00:00
|
|
|
SC_CARD_TYPE_SETCOS_FINEID_V2,
|
2006-03-09 20:35:19 +00:00
|
|
|
SC_CARD_TYPE_SETCOS_NIDEL,
|
2005-04-04 09:30:54 +00:00
|
|
|
SC_CARD_TYPE_SETCOS_44 = 6100,
|
2005-02-10 10:08:27 +00:00
|
|
|
|
|
|
|
/* starcos driver */
|
|
|
|
SC_CARD_TYPE_STARCOS_BASE = 7000,
|
|
|
|
SC_CARD_TYPE_STARCOS_GENERIC,
|
|
|
|
|
|
|
|
/* tcos driver */
|
|
|
|
SC_CARD_TYPE_TCOS_BASE = 8000,
|
|
|
|
SC_CARD_TYPE_TCOS_GENERIC,
|
|
|
|
|
|
|
|
/* openpgp driver */
|
|
|
|
SC_CARD_TYPE_OPENPGP_BASE = 9000,
|
|
|
|
SC_CARD_TYPE_OPENPGP_GENERIC,
|
|
|
|
|
|
|
|
/* jcop driver */
|
|
|
|
SC_CARD_TYPE_JCOP_BASE = 10000,
|
|
|
|
SC_CARD_TYPE_JCOP_GENERIC,
|
|
|
|
|
|
|
|
/* oberthur driver */
|
|
|
|
SC_CARD_TYPE_OBERTHUR_BASE = 11000,
|
|
|
|
SC_CARD_TYPE_OBERTHUR_GENERIC,
|
|
|
|
SC_CARD_TYPE_OBERTHUR_32K,
|
|
|
|
SC_CARD_TYPE_OBERTHUR_32K_BIO,
|
|
|
|
SC_CARD_TYPE_OBERTHUR_64K,
|
|
|
|
|
|
|
|
/* belpic driver */
|
|
|
|
SC_CARD_TYPE_BELPIC_BASE = 12000,
|
|
|
|
SC_CARD_TYPE_BELPIC_GENERIC,
|
2005-10-24 21:58:35 +00:00
|
|
|
SC_CARD_TYPE_BELPIC_EID,
|
|
|
|
|
|
|
|
/* incrypto34 driver */
|
|
|
|
SC_CARD_TYPE_INCRYPTO34_BASE = 13000,
|
2006-02-14 22:09:10 +00:00
|
|
|
SC_CARD_TYPE_INCRYPTO34_GENERIC,
|
|
|
|
|
|
|
|
/* PIV-II type cards */
|
|
|
|
SC_CARD_TYPE_PIV_II_BASE = 14000,
|
2006-06-07 08:33:37 +00:00
|
|
|
SC_CARD_TYPE_PIV_II_GENERIC,
|
|
|
|
|
|
|
|
/* Muscle cards */
|
|
|
|
SC_CARD_TYPE_MUSCLE_BASE = 15000,
|
|
|
|
SC_CARD_TYPE_MUSCLE_GENERIC
|
2005-02-10 10:08:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _OPENSC_CARDS_H */
|