#ifndef ISTREAM_DECRYPT_H
#define ISTREAM_DECRYPT_H
struct dcrypt_private_key;
struct dcrypt_context_symmetric;
enum decrypt_istream_format {
};
/* Look for a private key for a specified public key digest and set it to
priv_key_r. Returns 1 if ok, 0 if key doesn't exist, -1 on internal error. */
typedef int
struct dcrypt_private_key **priv_key_r,
struct istream *
/* create stream for reading plain encrypted data with no header or MAC.
do not call dcrypt_ctx_sym_init
*/
struct istream *
/* Decrypt the istream. When a private key is needed, the callback will be
called. This allows using multiple private keys for different mails. */
struct istream *
void *context);
#endif