SilcPKCSEncryptCb

SYNOPSIS

    typedef void (*SilcPKCSEncryptCb)(SilcBool success,
                                      const unsigned char *encrypted,
                                      SilcUInt32 encrypted_len,
                                      void *context);

DESCRIPTION

Encryption callback. This callback is given as argument to the silc_pkcs_encrypt_async and the encrypted data is delivered to the caller in this callback. The `encrypted' is the encrypted data. If the `success' is FALSE the encryption operation failed.