Mahlzeit


> I created a file called ABCD with length 500 bytes. I am able to write DER
> encoded DSA keys on it. The size of the keys vary from 490 to 496.
>
> When calling ReadBinary, how do I know how many bytes of data
> are in a file? Calling GetResponse only gives the size of the file, but
> not how much data was written to it.

If you want to know the length of the DER encoded data, just parse
it.


Mahlzeit

endergone Zwiebeltuete

***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to