gnupg: Scdaemon LEARN

 
 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.