hi,
i'm just using plain ADPU commands to read the content of the DF01:C000
file from
the card using my own program in java using javax.comm, the file has
814 bytes and it seems to containt some useful info like the issuer of
the card and the owner and also some junk and i have no ideea about how
to understand that info.I want to be able to read info from the user
and card issuer to not just sign (i other words i have no ideea about
signing at this point)
Assen Kolov wrote:
> In a sense, it does mot matter. All you do with a certificate is:
> 1. Put it in a card (C_CreateObject(....))
> 2. Read it from the card (C_GetAttribute( ... CKA_VALUE)) and send it to
> whoever might be interested in it.
> There are no cryptograpic services performed on the card using the
> certificate. For that you have the private and public key stored separately.
>
> As long you have a valid certificate and you are able to store it on the
> card and read the same data later, you have no worries.
>
> Assen
>
>> -----Original Message-----
>> From: Karl Scheibelhofer [SMTP:[EMAIL PROTECTED]]
>> Sent: Wednesday, April 25, 2001 12:20 PM
>> To: marilen; opencard
>> Subject: RE: [OCF] cert file
>>
>> that depends on the card. internally they may use any format they like. to
>> the outside world all of them i know use X509, but you need to convert if
>> yourself, if you read it using opencard (a pkcs#11 driver does that for
>> you). what card do you use?
>>
>> Karl
>>
>>> -----Original Message-----
>>> From: marilen [mailto:[EMAIL PROTECTED]]
>>> Sent: Tuesday, April 24, 2001 2:47 PM
>>> To: opencard
>>> Subject: [OCF] cert file
>>>
>>>
>>> does anybody knows which is the format in which a cert is stored on the
>>> card? is it X509?
>>>
>>>
>>>
>>> ---
>>>
>>>> Visit the OpenCard web site at http://www.opencard.org/ for more
>>>> information on OpenCard---binaries, source code, documents.
>>>> This list is being archived at
>>>
>> http://www.opencard.org/archive/opencard/
>>
>>> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an
>>
>> email
>>
>>> ! to
>>> ! [EMAIL PROTECTED]
>>> ! containing the word
>>> ! unsubscribe
>>> ! in the body.
>>>
>>>
>>>
>>
>>
>> ---
>>
>>> Visit the OpenCard web site at http://www.opencard.org/ for more
>>> information on OpenCard---binaries, source code, documents.
>>> This list is being archived at http://www.opencard.org/archive/opencard/
>>
>> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
>> ! to
>> ! [EMAIL PROTECTED]
>> ! containing the word
>> ! unsubscribe
>> ! in the body.
>
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.