Next: , Previous: Scdaemon PKSIGN, Up: Scdaemon Protocol


5.6.6 Decrypting data with a Smartcard

To decrypt some data the caller should use the command

      SETDATA hexstring

to tell scdaemon about the data to be decrypted. The data must be given in hex notation. The actual decryption is then done using the command

       PKDECRYPT keyid

where keyid is the hexified ID of the key to be used.