I’m working with smart cards in C# using the Subsembly SmartCard API.
Are there any APDU commands(or otherwise) to see either the size of a DF on the card? Or to see a list of the EF contained within a DF?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A DF does not have a size, and may not just consist of files. There is no standardized way of requesting the list of files at the APDU level. To see what’s on a file based smart card, the ISO 7816-15 standard is commonly used (which is based on the publicly available PKCS#15 standard).