Next: , Previous: , Up: Scdaemon’s Assuan Protocol   [Contents][Index]


6.6.2 Read all useful information from the card

  LEARN [--force]

Learn all useful information of the currently inserted card. When used without the --force option, the command might do an INQUIRE like this:

      INQUIRE KNOWNCARDP <hexstring_with_serialNumber>

The client should just send an END if the processing should go on or a CANCEL to force the function to terminate with a cancel error message. The response of this command is a list of status lines formatted as this:

     S KEYPAIRINFO hexstring_with_keygrip hexstring_with_id

If there is no certificate yet stored on the card a single "X" is returned in hexstring_with_keygrip.