SilcPKCSDecryptCb

SYNOPSIS

    typedef void (*SilcPKCSDecryptCb)(SilcBool success,
                                      const unsigned char *decrypted,
                                      SilcUInt32 decrypted_len,
                                      void *context);

DESCRIPTION

Decryption callback. This callback is given as argument to the silc_pkcs_decrypt_async and the decrypted data is delivered to the caller in this callback. The `decrypted' is the decrypted data. If the `success' is FALSE the decryption operation failed.