Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
- Basic types
- Errors
- Data encoding
- Algorithms
- Signature mode
- Identity validity
- Protocols
- Key list modes
- Signature notations
- Status codes
- Engine information
- Keys
- Callback types
- Creating and configuring contexts
- IO events
- Data buffers
- Key management
- Encryption
- Decryption
- Signing
- Signature verification
- Importing keys
- Key generation and editing
- Listing keys
- Trust items
- Configuration
- Engine information
- Pinentry modes
- I/O wrappers
- type C'off_t = Int64
- type C'ssize_t = Int64
- type C'gpgme_ctx_t = Word64
- type C'gpgme_data_t = Word64
- type C'gpg_error_t = CUInt
- type C'gpgme_error_t = CUInt
- type C'gpg_err_code_t = CUInt
- type C'gpgme_err_code_t = CUInt
- type C'gpg_err_source_t = CUInt
- type C'gpgme_err_source_t = CUInt
- c'gpgme_err_make :: C'gpgme_err_source_t -> C'gpgme_err_code_t -> IO C'gpgme_error_t
- c'gpgme_error :: C'gpgme_err_code_t -> IO C'gpgme_error_t
- c'gpgme_err_code :: C'gpgme_error_t -> IO C'gpgme_err_code_t
- c'gpgme_err_source :: C'gpgme_error_t -> IO C'gpgme_err_source_t
- c'gpgme_strerror :: C'gpgme_error_t -> IO CString
- c'gpgme_strerror_r :: C'gpg_error_t -> CString -> CSize -> IO CInt
- c'gpgme_strsource :: C'gpgme_error_t -> IO CString
- p'gpgme_strerror :: FunPtr (C'gpgme_error_t -> IO CString)
- c'gpgme_err_code_from_errno :: CInt -> IO C'gpgme_err_code_t
- p'gpgme_strerror_r :: FunPtr (C'gpg_error_t -> CString -> CSize -> IO CInt)
- c'gpgme_err_code_to_errno :: C'gpgme_err_code_t -> IO CInt
- p'gpgme_strsource :: FunPtr (C'gpgme_error_t -> IO CString)
- p'gpgme_err_code_from_errno :: FunPtr (CInt -> IO C'gpgme_err_code_t)
- c'gpgme_err_make_from_errno :: C'gpgme_err_source_t -> CInt -> IO C'gpgme_error_t
- c'gpgme_error_from_errno :: CInt -> IO C'gpgme_err_code_t
- p'gpgme_err_code_to_errno :: FunPtr (C'gpgme_err_code_t -> IO CInt)
- p'gpgme_err_make_from_errno :: FunPtr (C'gpgme_err_source_t -> CInt -> IO C'gpgme_error_t)
- p'gpgme_error_from_errno :: FunPtr (CInt -> IO C'gpgme_err_code_t)
- type C'gpgme_data_encoding_t = CUInt
- c'GPGME_DATA_ENCODING_NONE :: Num a => a
- c'GPGME_DATA_ENCODING_BINARY :: Num a => a
- c'GPGME_DATA_ENCODING_BASE64 :: Num a => a
- c'GPGME_DATA_ENCODING_ARMOR :: Num a => a
- type C'gpgme_pubkey_algo_t = CUInt
- c'GPGME_PK_RSA :: Num a => a
- c'GPGME_PK_RSA_E :: Num a => a
- c'GPGME_PK_RSA_S :: Num a => a
- c'GPGME_PK_ELG_E :: Num a => a
- c'GPGME_PK_DSA :: Num a => a
- c'GPGME_PK_ELG :: Num a => a
- type C'gpgme_hash_algo_t = CUInt
- c'GPGME_MD_NONE :: Num a => a
- c'GPGME_MD_MD5 :: Num a => a
- c'GPGME_MD_SHA1 :: Num a => a
- c'GPGME_MD_RMD160 :: Num a => a
- c'GPGME_MD_MD2 :: Num a => a
- c'GPGME_MD_TIGER :: Num a => a
- c'GPGME_MD_HAVAL :: Num a => a
- c'GPGME_MD_SHA256 :: Num a => a
- c'GPGME_MD_SHA384 :: Num a => a
- c'GPGME_MD_SHA512 :: Num a => a
- c'GPGME_MD_MD4 :: Num a => a
- c'GPGME_MD_CRC32 :: Num a => a
- c'GPGME_MD_CRC32_RFC1510 :: Num a => a
- c'GPGME_MD_CRC24_RFC2440 :: Num a => a
- type C'gpgme_sig_mode_t = CUInt
- c'GPGME_SIG_MODE_NORMAL :: Num a => a
- c'GPGME_SIG_MODE_DETACH :: Num a => a
- c'GPGME_SIG_MODE_CLEAR :: Num a => a
- type C'gpgme_validity_t = CUInt
- c'GPGME_VALIDITY_UNKNOWN :: Num a => a
- c'GPGME_VALIDITY_UNDEFINED :: Num a => a
- c'GPGME_VALIDITY_NEVER :: Num a => a
- c'GPGME_VALIDITY_MARGINAL :: Num a => a
- c'GPGME_VALIDITY_FULL :: Num a => a
- c'GPGME_VALIDITY_ULTIMATE :: Num a => a
- type C'gpgme_protocol_t = CUInt
- c'GPGME_PROTOCOL_OpenPGP :: Num a => a
- c'GPGME_PROTOCOL_CMS :: Num a => a
- c'GPGME_PROTOCOL_GPGCONF :: Num a => a
- c'GPGME_PROTOCOL_UNKNOWN :: Num a => a
- type C'gpgme_keylist_mode_t = CUInt
- c'GPGME_KEYLIST_MODE_LOCAL :: Num a => a
- c'GPGME_KEYLIST_MODE_EXTERN :: Num a => a
- c'GPGME_KEYLIST_MODE_SIGS :: Num a => a
- c'GPGME_KEYLIST_MODE_SIG_NOTATIONS :: Num a => a
- c'GPGME_KEYLIST_MODE_VALIDATE :: Num a => a
- c'GPGME_AUDITLOG_HTML :: Num a => a
- c'GPGME_AUDITLOG_WITH_HELP :: Num a => a
- type C'gpgme_sig_notation_flags_t = CUInt
- c'GPGME_SIG_NOTATION_HUMAN_READABLE :: Num a => a
- c'GPGME_SIG_NOTATION_CRITICAL :: Num a => a
- data C'_gpgme_sig_notation = C'_gpgme_sig_notation {}
- type C'gpgme_sig_notation_t = Ptr C'_gpgme_sig_notation
- type C'gpgme_status_code_t = CUInt
- c'GPGME_STATUS_EOF :: Num a => a
- c'GPGME_STATUS_ENTER :: Num a => a
- c'GPGME_STATUS_LEAVE :: Num a => a
- c'GPGME_STATUS_ABORT :: Num a => a
- p'_gpgme_sig_notation'next :: Ptr C'_gpgme_sig_notation -> Ptr (Ptr C'_gpgme_sig_notation)
- c'GPGME_STATUS_GOODSIG :: Num a => a
- c'GPGME_STATUS_BADSIG :: Num a => a
- p'_gpgme_sig_notation'name :: Ptr C'_gpgme_sig_notation -> Ptr CString
- c'GPGME_STATUS_ERRSIG :: Num a => a
- c'GPGME_STATUS_BADARMOR :: Num a => a
- p'_gpgme_sig_notation'value :: Ptr C'_gpgme_sig_notation -> Ptr CString
- c'GPGME_STATUS_RSA_OR_IDEA :: Num a => a
- c'GPGME_STATUS_KEYEXPIRED :: Num a => a
- p'_gpgme_sig_notation'name_len :: Ptr C'_gpgme_sig_notation -> Ptr CInt
- c'GPGME_STATUS_KEYREVOKED :: Num a => a
- c'GPGME_STATUS_TRUST_UNDEFINED :: Num a => a
- p'_gpgme_sig_notation'value_len :: Ptr C'_gpgme_sig_notation -> Ptr CInt
- c'GPGME_STATUS_TRUST_NEVER :: Num a => a
- c'GPGME_STATUS_TRUST_MARGINAL :: Num a => a
- p'_gpgme_sig_notation'flags :: Ptr C'_gpgme_sig_notation -> Ptr C'gpgme_sig_notation_flags_t
- c'GPGME_STATUS_TRUST_FULLY :: Num a => a
- c'GPGME_STATUS_TRUST_ULTIMATE :: Num a => a
- c'GPGME_STATUS_SHM_INFO :: Num a => a
- c'GPGME_STATUS_SHM_GET :: Num a => a
- c'GPGME_STATUS_SHM_GET_BOOL :: Num a => a
- c'GPGME_STATUS_SHM_GET_HIDDEN :: Num a => a
- c'GPGME_STATUS_NEED_PASSPHRASE :: Num a => a
- c'GPGME_STATUS_VALIDSIG :: Num a => a
- c'GPGME_STATUS_SIG_ID :: Num a => a
- c'GPGME_STATUS_ENC_TO :: Num a => a
- c'GPGME_STATUS_NODATA :: Num a => a
- c'GPGME_STATUS_BAD_PASSPHRASE :: Num a => a
- c'GPGME_STATUS_NO_PUBKEY :: Num a => a
- c'GPGME_STATUS_NO_SECKEY :: Num a => a
- c'GPGME_STATUS_NEED_PASSPHRASE_SYM :: Num a => a
- c'GPGME_STATUS_DECRYPTION_FAILED :: Num a => a
- c'GPGME_STATUS_DECRYPTION_OKAY :: Num a => a
- c'GPGME_STATUS_MISSING_PASSPHRASE :: Num a => a
- c'GPGME_STATUS_GOOD_PASSPHRASE :: Num a => a
- c'GPGME_STATUS_GOODMDC :: Num a => a
- c'GPGME_STATUS_BADMDC :: Num a => a
- c'GPGME_STATUS_ERRMDC :: Num a => a
- c'GPGME_STATUS_IMPORTED :: Num a => a
- c'GPGME_STATUS_IMPORT_OK :: Num a => a
- c'GPGME_STATUS_IMPORT_PROBLEM :: Num a => a
- c'GPGME_STATUS_IMPORT_RES :: Num a => a
- c'GPGME_STATUS_FILE_START :: Num a => a
- c'GPGME_STATUS_FILE_DONE :: Num a => a
- c'GPGME_STATUS_FILE_ERROR :: Num a => a
- c'GPGME_STATUS_BEGIN_DECRYPTION :: Num a => a
- c'GPGME_STATUS_END_DECRYPTION :: Num a => a
- c'GPGME_STATUS_BEGIN_ENCRYPTION :: Num a => a
- c'GPGME_STATUS_END_ENCRYPTION :: Num a => a
- c'GPGME_STATUS_DELETE_PROBLEM :: Num a => a
- c'GPGME_STATUS_GET_BOOL :: Num a => a
- c'GPGME_STATUS_GET_LINE :: Num a => a
- c'GPGME_STATUS_GET_HIDDEN :: Num a => a
- c'GPGME_STATUS_GOT_IT :: Num a => a
- c'GPGME_STATUS_PROGRESS :: Num a => a
- c'GPGME_STATUS_SIG_CREATED :: Num a => a
- c'GPGME_STATUS_SESSION_KEY :: Num a => a
- c'GPGME_STATUS_NOTATION_NAME :: Num a => a
- c'GPGME_STATUS_NOTATION_DATA :: Num a => a
- c'GPGME_STATUS_POLICY_URL :: Num a => a
- c'GPGME_STATUS_BEGIN_STREAM :: Num a => a
- c'GPGME_STATUS_END_STREAM :: Num a => a
- c'GPGME_STATUS_KEY_CREATED :: Num a => a
- c'GPGME_STATUS_USERID_HINT :: Num a => a
- c'GPGME_STATUS_UNEXPECTED :: Num a => a
- c'GPGME_STATUS_INV_RECP :: Num a => a
- c'GPGME_STATUS_NO_RECP :: Num a => a
- c'GPGME_STATUS_ALREADY_SIGNED :: Num a => a
- c'GPGME_STATUS_SIGEXPIRED :: Num a => a
- c'GPGME_STATUS_EXPSIG :: Num a => a
- c'GPGME_STATUS_EXPKEYSIG :: Num a => a
- c'GPGME_STATUS_TRUNCATED :: Num a => a
- c'GPGME_STATUS_ERROR :: Num a => a
- c'GPGME_STATUS_NEWSIG :: Num a => a
- c'GPGME_STATUS_REVKEYSIG :: Num a => a
- c'GPGME_STATUS_SIG_SUBPACKET :: Num a => a
- c'GPGME_STATUS_NEED_PASSPHRASE_PIN :: Num a => a
- c'GPGME_STATUS_SC_OP_FAILURE :: Num a => a
- c'GPGME_STATUS_SC_OP_SUCCESS :: Num a => a
- c'GPGME_STATUS_CARDCTRL :: Num a => a
- c'GPGME_STATUS_BACKUP_KEY_CREATED :: Num a => a
- c'GPGME_STATUS_PKA_TRUST_BAD :: Num a => a
- c'GPGME_STATUS_PKA_TRUST_GOOD :: Num a => a
- c'GPGME_STATUS_PLAINTEXT :: Num a => a
- data C'_gpgme_engine_info = C'_gpgme_engine_info {}
- type C'gpgme_engine_info_t = Ptr C'_gpgme_engine_info
- p'_gpgme_engine_info'next :: Ptr C'_gpgme_engine_info -> Ptr (Ptr C'_gpgme_engine_info)
- p'_gpgme_engine_info'protocol :: Ptr C'_gpgme_engine_info -> Ptr C'gpgme_protocol_t
- p'_gpgme_engine_info'file_name :: Ptr C'_gpgme_engine_info -> Ptr CString
- p'_gpgme_engine_info'version :: Ptr C'_gpgme_engine_info -> Ptr CString
- data C'_gpgme_subkey = C'_gpgme_subkey {}
- type C'gpgme_subkey_t = Ptr C'_gpgme_subkey
- p'_gpgme_engine_info'req_version :: Ptr C'_gpgme_engine_info -> Ptr CString
- p'_gpgme_engine_info'home_dir :: Ptr C'_gpgme_engine_info -> Ptr CString
- p'_gpgme_subkey'next :: Ptr C'_gpgme_subkey -> Ptr (Ptr C'_gpgme_subkey)
- p'_gpgme_subkey'pubkey_algo :: Ptr C'_gpgme_subkey -> Ptr C'gpgme_pubkey_algo_t
- p'_gpgme_subkey'length :: Ptr C'_gpgme_subkey -> Ptr CUInt
- data C'_gpgme_key_sig = C'_gpgme_key_sig {
- c'_gpgme_key_sig'next :: Ptr C'_gpgme_key_sig
- c'_gpgme_key_sig'pubkey_algo :: C'gpgme_pubkey_algo_t
- c'_gpgme_key_sig'keyid :: CString
- c'_gpgme_key_sig'timestamp :: CLong
- c'_gpgme_key_sig'expires :: CLong
- c'_gpgme_key_sig'status :: C'gpgme_error_t
- c'_gpgme_key_sig'uid :: CString
- c'_gpgme_key_sig'name :: CString
- c'_gpgme_key_sig'email :: CString
- c'_gpgme_key_sig'comment :: CString
- c'_gpgme_key_sig'sig_class :: CUInt
- c'_gpgme_key_sig'notations :: C'gpgme_sig_notation_t
- type C'gpgme_key_sig_t = Ptr C'_gpgme_key_sig
- p'_gpgme_subkey'keyid :: Ptr C'_gpgme_subkey -> Ptr CString
- p'_gpgme_subkey'fpr :: Ptr C'_gpgme_subkey -> Ptr CString
- p'_gpgme_subkey'timestamp :: Ptr C'_gpgme_subkey -> Ptr CLong
- p'_gpgme_subkey'expires :: Ptr C'_gpgme_subkey -> Ptr CLong
- p'_gpgme_subkey'card_number :: Ptr C'_gpgme_subkey -> Ptr CString
- data C'_gpgme_user_id = C'_gpgme_user_id {}
- type C'gpgme_user_id_t = Ptr C'_gpgme_user_id
- p'_gpgme_key_sig'next :: Ptr C'_gpgme_key_sig -> Ptr (Ptr C'_gpgme_key_sig)
- p'_gpgme_key_sig'pubkey_algo :: Ptr C'_gpgme_key_sig -> Ptr C'gpgme_pubkey_algo_t
- p'_gpgme_key_sig'keyid :: Ptr C'_gpgme_key_sig -> Ptr CString
- p'_gpgme_key_sig'timestamp :: Ptr C'_gpgme_key_sig -> Ptr CLong
- p'_gpgme_user_id'next :: Ptr C'_gpgme_user_id -> Ptr (Ptr C'_gpgme_user_id)
- p'_gpgme_key_sig'expires :: Ptr C'_gpgme_key_sig -> Ptr CLong
- p'_gpgme_user_id'validity :: Ptr C'_gpgme_user_id -> Ptr C'gpgme_validity_t
- data C'_gpgme_key = C'_gpgme_key {
- c'_gpgme_key'protocol :: C'gpgme_protocol_t
- c'_gpgme_key'issuer_serial :: CString
- c'_gpgme_key'issuer_name :: CString
- c'_gpgme_key'chain_id :: CString
- c'_gpgme_key'owner_trust :: C'gpgme_validity_t
- c'_gpgme_key'subkeys :: C'gpgme_subkey_t
- c'_gpgme_key'uids :: C'gpgme_user_id_t
- c'_gpgme_key'keylist_mode :: C'gpgme_keylist_mode_t
- type C'gpgme_key_t = Ptr C'_gpgme_key
- p'_gpgme_user_id'uid :: Ptr C'_gpgme_user_id -> Ptr CString
- p'_gpgme_key_sig'status :: Ptr C'_gpgme_key_sig -> Ptr C'gpgme_error_t
- p'_gpgme_key_sig'uid :: Ptr C'_gpgme_key_sig -> Ptr CString
- p'_gpgme_user_id'name :: Ptr C'_gpgme_user_id -> Ptr CString
- type C'gpgme_passphrase_cb_t = FunPtr (Ptr () -> CString -> CString -> CInt -> CInt -> IO C'gpgme_error_t)
- type C'gpgme_progress_cb_t = FunPtr (Ptr () -> CString -> CInt -> CInt -> CInt -> IO ())
- mk'gpgme_passphrase_cb_t :: (Ptr () -> CString -> CString -> CInt -> CInt -> IO C'gpgme_error_t) -> IO C'gpgme_passphrase_cb_t
- p'_gpgme_key_sig'name :: Ptr C'_gpgme_key_sig -> Ptr CString
- p'_gpgme_user_id'email :: Ptr C'_gpgme_user_id -> Ptr CString
- type C'gpgme_edit_cb_t = FunPtr (Ptr () -> C'gpgme_status_code_t -> CString -> CInt -> IO C'gpgme_error_t)
- mk'gpgme_progress_cb_t :: (Ptr () -> CString -> CInt -> CInt -> CInt -> IO ()) -> IO C'gpgme_progress_cb_t
- mK'gpgme_passphrase_cb_t :: C'gpgme_passphrase_cb_t -> Ptr () -> CString -> CString -> CInt -> CInt -> IO C'gpgme_error_t
- mk'gpgme_edit_cb_t :: (Ptr () -> C'gpgme_status_code_t -> CString -> CInt -> IO C'gpgme_error_t) -> IO C'gpgme_edit_cb_t
- p'_gpgme_key_sig'email :: Ptr C'_gpgme_key_sig -> Ptr CString
- p'_gpgme_user_id'comment :: Ptr C'_gpgme_user_id -> Ptr CString
- mK'gpgme_progress_cb_t :: C'gpgme_progress_cb_t -> Ptr () -> CString -> CInt -> CInt -> CInt -> IO ()
- c'gpgme_new :: Ptr C'gpgme_ctx_t -> IO C'gpgme_error_t
- mK'gpgme_edit_cb_t :: C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_status_code_t -> CString -> CInt -> IO C'gpgme_error_t
- p'_gpgme_key_sig'comment :: Ptr C'_gpgme_key_sig -> Ptr CString
- p'_gpgme_user_id'signatures :: Ptr C'_gpgme_user_id -> Ptr C'gpgme_key_sig_t
- c'gpgme_release :: C'gpgme_ctx_t -> IO ()
- p'_gpgme_key'protocol :: Ptr C'_gpgme_key -> Ptr C'gpgme_protocol_t
- p'gpgme_new :: FunPtr (Ptr C'gpgme_ctx_t -> IO C'gpgme_error_t)
- c'gpgme_set_protocol :: C'gpgme_ctx_t -> C'gpgme_protocol_t -> IO C'gpgme_error_t
- p'_gpgme_key_sig'sig_class :: Ptr C'_gpgme_key_sig -> Ptr CUInt
- p'gpgme_release :: FunPtr (C'gpgme_ctx_t -> IO ())
- c'gpgme_get_protocol :: C'gpgme_ctx_t -> IO C'gpgme_protocol_t
- p'_gpgme_key'issuer_serial :: Ptr C'_gpgme_key -> Ptr CString
- c'gpgme_get_protocol_name :: C'gpgme_protocol_t -> IO CString
- p'gpgme_set_protocol :: FunPtr (C'gpgme_ctx_t -> C'gpgme_protocol_t -> IO C'gpgme_error_t)
- p'_gpgme_key_sig'notations :: Ptr C'_gpgme_key_sig -> Ptr C'gpgme_sig_notation_t
- c'gpgme_set_armor :: C'gpgme_ctx_t -> CInt -> IO ()
- p'gpgme_get_protocol :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_protocol_t)
- p'_gpgme_key'issuer_name :: Ptr C'_gpgme_key -> Ptr CString
- c'gpgme_get_armor :: C'gpgme_ctx_t -> IO CInt
- p'gpgme_get_protocol_name :: FunPtr (C'gpgme_protocol_t -> IO CString)
- c'gpgme_set_textmode :: C'gpgme_ctx_t -> CInt -> IO ()
- p'gpgme_set_armor :: FunPtr (C'gpgme_ctx_t -> CInt -> IO ())
- p'_gpgme_key'chain_id :: Ptr C'_gpgme_key -> Ptr CString
- c'gpgme_get_textmode :: C'gpgme_ctx_t -> IO CInt
- p'gpgme_get_armor :: FunPtr (C'gpgme_ctx_t -> IO CInt)
- p'gpgme_set_textmode :: FunPtr (C'gpgme_ctx_t -> CInt -> IO ())
- p'_gpgme_key'owner_trust :: Ptr C'_gpgme_key -> Ptr C'gpgme_validity_t
- p'gpgme_get_textmode :: FunPtr (C'gpgme_ctx_t -> IO CInt)
- c'GPGME_INCLUDE_CERTS_DEFAULT :: Num a => a
- p'_gpgme_key'subkeys :: Ptr C'_gpgme_key -> Ptr C'gpgme_subkey_t
- c'gpgme_set_include_certs :: C'gpgme_ctx_t -> CInt -> IO ()
- c'gpgme_get_include_certs :: C'gpgme_ctx_t -> IO CInt
- p'_gpgme_key'uids :: Ptr C'_gpgme_key -> Ptr C'gpgme_user_id_t
- p'gpgme_set_include_certs :: FunPtr (C'gpgme_ctx_t -> CInt -> IO ())
- c'gpgme_set_keylist_mode :: C'gpgme_ctx_t -> C'gpgme_keylist_mode_t -> IO C'gpgme_error_t
- p'gpgme_get_include_certs :: FunPtr (C'gpgme_ctx_t -> IO CInt)
- c'gpgme_get_keylist_mode :: C'gpgme_ctx_t -> IO C'gpgme_keylist_mode_t
- p'_gpgme_key'keylist_mode :: Ptr C'_gpgme_key -> Ptr C'gpgme_keylist_mode_t
- c'gpgme_set_passphrase_cb :: C'gpgme_ctx_t -> C'gpgme_passphrase_cb_t -> Ptr () -> IO ()
- p'gpgme_set_keylist_mode :: FunPtr (C'gpgme_ctx_t -> C'gpgme_keylist_mode_t -> IO C'gpgme_error_t)
- p'gpgme_get_keylist_mode :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_keylist_mode_t)
- c'gpgme_get_passphrase_cb :: C'gpgme_ctx_t -> Ptr C'gpgme_passphrase_cb_t -> Ptr (Ptr ()) -> IO ()
- c'gpgme_set_progress_cb :: C'gpgme_ctx_t -> C'gpgme_progress_cb_t -> Ptr () -> IO ()
- p'gpgme_set_passphrase_cb :: FunPtr (C'gpgme_ctx_t -> C'gpgme_passphrase_cb_t -> Ptr () -> IO ())
- c'gpgme_get_progress_cb :: C'gpgme_ctx_t -> Ptr C'gpgme_progress_cb_t -> Ptr (Ptr ()) -> IO ()
- p'gpgme_get_passphrase_cb :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_passphrase_cb_t -> Ptr (Ptr ()) -> IO ())
- c'gpgme_set_locale :: C'gpgme_ctx_t -> CInt -> CString -> IO C'gpgme_error_t
- p'gpgme_set_progress_cb :: FunPtr (C'gpgme_ctx_t -> C'gpgme_progress_cb_t -> Ptr () -> IO ())
- c'gpgme_ctx_get_engine_info :: C'gpgme_ctx_t -> IO C'gpgme_engine_info_t
- p'gpgme_get_progress_cb :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_progress_cb_t -> Ptr (Ptr ()) -> IO ())
- p'gpgme_set_locale :: FunPtr (C'gpgme_ctx_t -> CInt -> CString -> IO C'gpgme_error_t)
- c'gpgme_ctx_set_engine_info :: C'gpgme_ctx_t -> C'gpgme_protocol_t -> CString -> CString -> IO C'gpgme_error_t
- c'gpgme_pubkey_algo_name :: C'gpgme_pubkey_algo_t -> IO CString
- p'gpgme_ctx_get_engine_info :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_engine_info_t)
- c'gpgme_hash_algo_name :: C'gpgme_hash_algo_t -> IO CString
- p'gpgme_ctx_set_engine_info :: FunPtr (C'gpgme_ctx_t -> C'gpgme_protocol_t -> CString -> CString -> IO C'gpgme_error_t)
- c'gpgme_signers_clear :: C'gpgme_ctx_t -> IO ()
- p'gpgme_pubkey_algo_name :: FunPtr (C'gpgme_pubkey_algo_t -> IO CString)
- p'gpgme_hash_algo_name :: FunPtr (C'gpgme_hash_algo_t -> IO CString)
- c'gpgme_signers_add :: C'gpgme_ctx_t -> C'gpgme_key_t -> IO C'gpgme_error_t
- p'gpgme_signers_clear :: FunPtr (C'gpgme_ctx_t -> IO ())
- c'gpgme_signers_enum :: C'gpgme_ctx_t -> CInt -> IO C'gpgme_key_t
- c'gpgme_sig_notation_clear :: C'gpgme_ctx_t -> IO ()
- p'gpgme_signers_add :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> IO C'gpgme_error_t)
- p'gpgme_signers_enum :: FunPtr (C'gpgme_ctx_t -> CInt -> IO C'gpgme_key_t)
- c'gpgme_sig_notation_add :: C'gpgme_ctx_t -> CString -> CString -> C'gpgme_sig_notation_flags_t -> IO C'gpgme_error_t
- p'gpgme_sig_notation_clear :: FunPtr (C'gpgme_ctx_t -> IO ())
- c'gpgme_sig_notation_get :: C'gpgme_ctx_t -> IO C'gpgme_sig_notation_t
- p'gpgme_sig_notation_add :: FunPtr (C'gpgme_ctx_t -> CString -> CString -> C'gpgme_sig_notation_flags_t -> IO C'gpgme_error_t)
- p'gpgme_sig_notation_get :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_sig_notation_t)
- type C'gpgme_io_cb_t = FunPtr (Ptr () -> CInt -> IO C'gpgme_error_t)
- type C'gpgme_register_io_cb_t = FunPtr (Ptr () -> CInt -> CInt -> C'gpgme_io_cb_t -> Ptr () -> Ptr (Ptr ()) -> IO C'gpgme_error_t)
- mk'gpgme_io_cb_t :: (Ptr () -> CInt -> IO C'gpgme_error_t) -> IO C'gpgme_io_cb_t
- type C'gpgme_remove_io_cb_t = FunPtr (Ptr () -> IO ())
- mk'gpgme_register_io_cb_t :: (Ptr () -> CInt -> CInt -> C'gpgme_io_cb_t -> Ptr () -> Ptr (Ptr ()) -> IO C'gpgme_error_t) -> IO C'gpgme_register_io_cb_t
- mk'gpgme_remove_io_cb_t :: (Ptr () -> IO ()) -> IO C'gpgme_remove_io_cb_t
- mK'gpgme_io_cb_t :: C'gpgme_io_cb_t -> Ptr () -> CInt -> IO C'gpgme_error_t
- type C'gpgme_event_io_t = CUInt
- mK'gpgme_register_io_cb_t :: C'gpgme_register_io_cb_t -> Ptr () -> CInt -> CInt -> C'gpgme_io_cb_t -> Ptr () -> Ptr (Ptr ()) -> IO C'gpgme_error_t
- mK'gpgme_remove_io_cb_t :: C'gpgme_remove_io_cb_t -> Ptr () -> IO ()
- c'GPGME_EVENT_START :: Num a => a
- c'GPGME_EVENT_DONE :: Num a => a
- c'GPGME_EVENT_NEXT_KEY :: Num a => a
- c'GPGME_EVENT_NEXT_TRUSTITEM :: Num a => a
- type C'gpgme_event_io_cb_t = FunPtr (Ptr () -> C'gpgme_event_io_t -> Ptr () -> IO ())
- mk'gpgme_event_io_cb_t :: (Ptr () -> C'gpgme_event_io_t -> Ptr () -> IO ()) -> IO C'gpgme_event_io_cb_t
- mK'gpgme_event_io_cb_t :: C'gpgme_event_io_cb_t -> Ptr () -> C'gpgme_event_io_t -> Ptr () -> IO ()
- data C'gpgme_io_cbs = C'gpgme_io_cbs {}
- type C'gpgme_io_cbs_t = Ptr C'gpgme_io_cbs
- c'gpgme_set_io_cbs :: C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO ()
- c'gpgme_get_io_cbs :: C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO ()
- p'gpgme_set_io_cbs :: FunPtr (C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO ())
- c'gpgme_wait :: C'gpgme_ctx_t -> Ptr C'gpgme_error_t -> CInt -> IO C'gpgme_ctx_t
- c'gpgme_cancel :: C'gpgme_ctx_t -> IO C'gpgme_error_t
- p'gpgme_get_io_cbs :: FunPtr (C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO ())
- p'gpgme_io_cbs'add :: Ptr C'gpgme_io_cbs -> Ptr C'gpgme_register_io_cb_t
- c'gpgme_cancel_async :: C'gpgme_ctx_t -> IO C'gpgme_error_t
- p'gpgme_wait :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_error_t -> CInt -> IO C'gpgme_ctx_t)
- p'gpgme_cancel :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_error_t)
- p'gpgme_io_cbs'add_priv :: Ptr C'gpgme_io_cbs -> Ptr (Ptr ())
- p'gpgme_cancel_async :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_error_t)
- type C'gpgme_data_read_cb_t = FunPtr (Ptr () -> Ptr () -> CSize -> IO C'ssize_t)
- p'gpgme_io_cbs'remove :: Ptr C'gpgme_io_cbs -> Ptr C'gpgme_remove_io_cb_t
- type C'gpgme_data_write_cb_t = FunPtr (Ptr () -> Ptr () -> CSize -> IO C'ssize_t)
- mk'gpgme_data_read_cb_t :: (Ptr () -> Ptr () -> CSize -> IO C'ssize_t) -> IO C'gpgme_data_read_cb_t
- type C'gpgme_data_seek_cb_t = FunPtr (Ptr () -> C'off_t -> CInt -> IO C'off_t)
- mk'gpgme_data_write_cb_t :: (Ptr () -> Ptr () -> CSize -> IO C'ssize_t) -> IO C'gpgme_data_write_cb_t
- type C'gpgme_data_release_cb_t = FunPtr (Ptr () -> IO ())
- p'gpgme_io_cbs'event :: Ptr C'gpgme_io_cbs -> Ptr C'gpgme_event_io_cb_t
- mK'gpgme_data_read_cb_t :: C'gpgme_data_read_cb_t -> Ptr () -> Ptr () -> CSize -> IO C'ssize_t
- mk'gpgme_data_seek_cb_t :: (Ptr () -> C'off_t -> CInt -> IO C'off_t) -> IO C'gpgme_data_seek_cb_t
- mk'gpgme_data_release_cb_t :: (Ptr () -> IO ()) -> IO C'gpgme_data_release_cb_t
- mK'gpgme_data_write_cb_t :: C'gpgme_data_write_cb_t -> Ptr () -> Ptr () -> CSize -> IO C'ssize_t
- p'gpgme_io_cbs'event_priv :: Ptr C'gpgme_io_cbs -> Ptr (Ptr ())
- mK'gpgme_data_seek_cb_t :: C'gpgme_data_seek_cb_t -> Ptr () -> C'off_t -> CInt -> IO C'off_t
- mK'gpgme_data_release_cb_t :: C'gpgme_data_release_cb_t -> Ptr () -> IO ()
- data C'gpgme_data_cbs = C'gpgme_data_cbs {}
- type C'gpgme_data_cbs_t = Ptr C'gpgme_data_cbs
- c'gpgme_data_read :: C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t
- c'gpgme_data_write :: C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t
- c'gpgme_data_seek :: C'gpgme_data_t -> C'off_t -> CInt -> IO C'off_t
- p'gpgme_data_read :: FunPtr (C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t)
- p'gpgme_data_cbs'read :: Ptr C'gpgme_data_cbs -> Ptr C'gpgme_data_read_cb_t
- c'gpgme_data_new :: Ptr C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_data_write :: FunPtr (C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t)
- c'gpgme_data_release :: C'gpgme_data_t -> IO ()
- p'gpgme_data_seek :: FunPtr (C'gpgme_data_t -> C'off_t -> CInt -> IO C'off_t)
- p'gpgme_data_cbs'write :: Ptr C'gpgme_data_cbs -> Ptr C'gpgme_data_write_cb_t
- p'gpgme_data_new :: FunPtr (Ptr C'gpgme_data_t -> IO C'gpgme_error_t)
- c'gpgme_data_new_from_mem :: Ptr C'gpgme_data_t -> CString -> CSize -> CInt -> IO C'gpgme_error_t
- p'gpgme_data_release :: FunPtr (C'gpgme_data_t -> IO ())
- c'gpgme_data_release_and_get_mem :: C'gpgme_data_t -> Ptr CSize -> IO CString
- p'gpgme_data_cbs'seek :: Ptr C'gpgme_data_cbs -> Ptr C'gpgme_data_seek_cb_t
- c'gpgme_free :: Ptr () -> IO ()
- p'gpgme_data_new_from_mem :: FunPtr (Ptr C'gpgme_data_t -> CString -> CSize -> CInt -> IO C'gpgme_error_t)
- p'gpgme_data_release_and_get_mem :: FunPtr (C'gpgme_data_t -> Ptr CSize -> IO CString)
- c'gpgme_data_new_from_cbs :: Ptr C'gpgme_data_t -> C'gpgme_data_cbs_t -> Ptr () -> IO C'gpgme_error_t
- p'gpgme_data_cbs'release :: Ptr C'gpgme_data_cbs -> Ptr C'gpgme_data_release_cb_t
- p'gpgme_free :: FunPtr (Ptr () -> IO ())
- c'gpgme_data_new_from_fd :: Ptr C'gpgme_data_t -> CInt -> IO C'gpgme_error_t
- c'gpgme_data_new_from_stream :: Ptr C'gpgme_data_t -> Ptr CFile -> IO C'gpgme_error_t
- p'gpgme_data_new_from_cbs :: FunPtr (Ptr C'gpgme_data_t -> C'gpgme_data_cbs_t -> Ptr () -> IO C'gpgme_error_t)
- c'gpgme_data_get_encoding :: C'gpgme_data_t -> IO C'gpgme_data_encoding_t
- p'gpgme_data_new_from_fd :: FunPtr (Ptr C'gpgme_data_t -> CInt -> IO C'gpgme_error_t)
- p'gpgme_data_new_from_stream :: FunPtr (Ptr C'gpgme_data_t -> Ptr CFile -> IO C'gpgme_error_t)
- c'gpgme_data_set_encoding :: C'gpgme_data_t -> C'gpgme_data_encoding_t -> IO C'gpgme_error_t
- c'gpgme_data_get_file_name :: C'gpgme_data_t -> IO CString
- p'gpgme_data_get_encoding :: FunPtr (C'gpgme_data_t -> IO C'gpgme_data_encoding_t)
- c'gpgme_data_set_file_name :: C'gpgme_data_t -> CString -> IO C'gpgme_error_t
- p'gpgme_data_set_encoding :: FunPtr (C'gpgme_data_t -> C'gpgme_data_encoding_t -> IO C'gpgme_error_t)
- p'gpgme_data_get_file_name :: FunPtr (C'gpgme_data_t -> IO CString)
- c'gpgme_data_new_from_file :: Ptr C'gpgme_data_t -> CString -> CInt -> IO C'gpgme_error_t
- p'gpgme_data_set_file_name :: FunPtr (C'gpgme_data_t -> CString -> IO C'gpgme_error_t)
- c'gpgme_data_new_from_filepart :: Ptr C'gpgme_data_t -> CString -> Ptr CFile -> C'off_t -> CSize -> IO C'gpgme_error_t
- p'gpgme_data_new_from_file :: FunPtr (Ptr C'gpgme_data_t -> CString -> CInt -> IO C'gpgme_error_t)
- p'gpgme_data_new_from_filepart :: FunPtr (Ptr C'gpgme_data_t -> CString -> Ptr CFile -> C'off_t -> CSize -> IO C'gpgme_error_t)
- c'gpgme_get_key :: C'gpgme_ctx_t -> CString -> Ptr C'gpgme_key_t -> CInt -> IO C'gpgme_error_t
- c'gpgme_key_ref :: C'gpgme_key_t -> IO ()
- c'gpgme_key_unref :: C'gpgme_key_t -> IO ()
- p'gpgme_get_key :: FunPtr (C'gpgme_ctx_t -> CString -> Ptr C'gpgme_key_t -> CInt -> IO C'gpgme_error_t)
- c'gpgme_key_release :: C'gpgme_key_t -> IO ()
- p'gpgme_key_ref :: FunPtr (C'gpgme_key_t -> IO ())
- p'gpgme_key_unref :: FunPtr (C'gpgme_key_t -> IO ())
- p'gpgme_key_release :: FunPtr (C'gpgme_key_t -> IO ())
- data C'_gpgme_invalid_key = C'_gpgme_invalid_key {}
- type C'gpgme_invalid_key_t = Ptr C'_gpgme_invalid_key
- data C'_gpgme_op_encrypt_result = C'_gpgme_op_encrypt_result {}
- type C'gpgme_encrypt_result_t = Ptr C'_gpgme_op_encrypt_result
- p'_gpgme_invalid_key'next :: Ptr C'_gpgme_invalid_key -> Ptr C'_gpgme_invalid_key
- p'_gpgme_invalid_key'fpr :: Ptr C'_gpgme_invalid_key -> Ptr CString
- c'gpgme_op_encrypt_result :: C'gpgme_ctx_t -> IO C'gpgme_encrypt_result_t
- p'_gpgme_op_encrypt_result'invalid_recipients :: Ptr C'_gpgme_op_encrypt_result -> Ptr C'gpgme_invalid_key_t
- type C'gpgme_encrypt_flags_t = CUInt
- p'_gpgme_invalid_key'reason :: Ptr C'_gpgme_invalid_key -> Ptr C'gpgme_error_t
- p'gpgme_op_encrypt_result :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_encrypt_result_t)
- c'GPGME_ENCRYPT_ALWAYS_TRUST :: Num a => a
- c'gpgme_op_encrypt_start :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- c'gpgme_op_encrypt :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- c'gpgme_op_encrypt_sign_start :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_encrypt_start :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- c'gpgme_op_encrypt_sign :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_encrypt :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'gpgme_op_encrypt_sign_start :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'gpgme_op_encrypt_sign :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- data C'_gpgme_recipient = C'_gpgme_recipient {}
- type C'gpgme_recipient_t = Ptr C'_gpgme_recipient
- p'_gpgme_recipient'next :: Ptr C'_gpgme_recipient -> Ptr (Ptr C'_gpgme_recipient)
- data C'_gpgme_op_decrypt_result = C'_gpgme_op_decrypt_result {}
- type C'gpgme_decrypt_result_t = Ptr C'_gpgme_op_decrypt_result
- p'_gpgme_recipient'keyid :: Ptr C'_gpgme_recipient -> Ptr CString
- c'gpgme_op_decrypt_result :: C'gpgme_ctx_t -> IO C'gpgme_decrypt_result_t
- p'_gpgme_recipient'pubkey_algo :: Ptr C'_gpgme_recipient -> Ptr C'gpgme_pubkey_algo_t
- c'gpgme_op_decrypt_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_decrypt_result :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_decrypt_result_t)
- c'gpgme_op_decrypt :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'_gpgme_recipient'status :: Ptr C'_gpgme_recipient -> Ptr C'gpgme_error_t
- p'_gpgme_op_decrypt_result'unsupported_algorithm :: Ptr C'_gpgme_op_decrypt_result -> Ptr CString
- c'gpgme_op_decrypt_verify_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_decrypt_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- c'gpgme_op_decrypt_verify :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_decrypt :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'_gpgme_op_decrypt_result'recipients :: Ptr C'_gpgme_op_decrypt_result -> Ptr C'gpgme_recipient_t
- p'gpgme_op_decrypt_verify_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'gpgme_op_decrypt_verify :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'_gpgme_op_decrypt_result'file_name :: Ptr C'_gpgme_op_decrypt_result -> Ptr CString
- data C'_gpgme_new_signature = C'_gpgme_new_signature {
- c'_gpgme_new_signature'next :: Ptr C'_gpgme_new_signature
- c'_gpgme_new_signature'type :: C'gpgme_sig_mode_t
- c'_gpgme_new_signature'pubkey_algo :: C'gpgme_pubkey_algo_t
- c'_gpgme_new_signature'hash_algo :: C'gpgme_hash_algo_t
- c'_gpgme_new_signature'timestamp :: CLong
- c'_gpgme_new_signature'fpr :: CString
- c'_gpgme_new_signature'sig_class :: CUInt
- type C'gpgme_new_signature_t = Ptr C'_gpgme_new_signature
- data C'_gpgme_op_sign_result = C'_gpgme_op_sign_result {}
- type C'gpgme_sign_result_t = Ptr C'_gpgme_op_sign_result
- c'gpgme_op_sign_result :: C'gpgme_ctx_t -> IO C'gpgme_sign_result_t
- p'_gpgme_new_signature'next :: Ptr C'_gpgme_new_signature -> Ptr (Ptr C'_gpgme_new_signature)
- c'gpgme_op_sign_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t
- p'_gpgme_op_sign_result'invalid_signers :: Ptr C'_gpgme_op_sign_result -> Ptr C'gpgme_invalid_key_t
- p'gpgme_op_sign_result :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_sign_result_t)
- c'gpgme_op_sign :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t
- p'_gpgme_new_signature'type :: Ptr C'_gpgme_new_signature -> Ptr C'gpgme_sig_mode_t
- p'gpgme_op_sign_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t)
- p'_gpgme_op_sign_result'signatures :: Ptr C'_gpgme_op_sign_result -> Ptr C'gpgme_new_signature_t
- p'gpgme_op_sign :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t)
- type C'gpgme_sigsum_t = CUInt
- p'_gpgme_new_signature'pubkey_algo :: Ptr C'_gpgme_new_signature -> Ptr C'gpgme_pubkey_algo_t
- c'GPGME_SIGSUM_VALID :: Num a => a
- p'_gpgme_new_signature'hash_algo :: Ptr C'_gpgme_new_signature -> Ptr C'gpgme_hash_algo_t
- c'GPGME_SIGSUM_GREEN :: Num a => a
- c'GPGME_SIGSUM_RED :: Num a => a
- p'_gpgme_new_signature'timestamp :: Ptr C'_gpgme_new_signature -> Ptr CLong
- c'GPGME_SIGSUM_KEY_REVOKED :: Num a => a
- c'GPGME_SIGSUM_KEY_EXPIRED :: Num a => a
- p'_gpgme_new_signature'fpr :: Ptr C'_gpgme_new_signature -> Ptr CString
- c'GPGME_SIGSUM_SIG_EXPIRED :: Num a => a
- c'GPGME_SIGSUM_KEY_MISSING :: Num a => a
- p'_gpgme_new_signature'sig_class :: Ptr C'_gpgme_new_signature -> Ptr CUInt
- c'GPGME_SIGSUM_CRL_MISSING :: Num a => a
- c'GPGME_SIGSUM_CRL_TOO_OLD :: Num a => a
- c'GPGME_SIGSUM_BAD_POLICY :: Num a => a
- c'GPGME_SIGSUM_SYS_ERROR :: Num a => a
- data C'_gpgme_signature = C'_gpgme_signature {
- c'_gpgme_signature'next :: Ptr C'_gpgme_signature
- c'_gpgme_signature'summary :: C'gpgme_sigsum_t
- c'_gpgme_signature'fpr :: CString
- c'_gpgme_signature'status :: C'gpgme_error_t
- c'_gpgme_signature'notations :: C'gpgme_sig_notation_t
- c'_gpgme_signature'timestamp :: CULong
- c'_gpgme_signature'exp_timestamp :: CULong
- c'_gpgme_signature'validity :: C'gpgme_validity_t
- c'_gpgme_signature'validity_reason :: C'gpgme_error_t
- c'_gpgme_signature'pubkey_algo :: C'gpgme_pubkey_algo_t
- c'_gpgme_signature'hash_algo :: C'gpgme_hash_algo_t
- c'_gpgme_signature'pka_address :: CString
- type C'gpgme_signature_t = Ptr C'_gpgme_signature
- data C'_gpgme_op_verify_result = C'_gpgme_op_verify_result {}
- type C'gpgme_verify_result_t = Ptr C'_gpgme_op_verify_result
- c'gpgme_op_verify_result :: C'gpgme_ctx_t -> IO C'gpgme_verify_result_t
- c'gpgme_op_verify_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'_gpgme_op_verify_result'signatures :: Ptr C'_gpgme_op_verify_result -> Ptr C'gpgme_signature_t
- p'gpgme_op_verify_result :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_verify_result_t)
- c'gpgme_op_verify :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_verify_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'_gpgme_op_verify_result'file_name :: Ptr C'_gpgme_op_verify_result -> Ptr CString
- p'gpgme_op_verify :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- c'GPGME_IMPORT_NEW :: Num a => a
- p'_gpgme_signature'next :: Ptr C'_gpgme_signature -> Ptr (Ptr C'_gpgme_signature)
- c'GPGME_IMPORT_UID :: Num a => a
- c'GPGME_IMPORT_SIG :: Num a => a
- p'_gpgme_signature'summary :: Ptr C'_gpgme_signature -> Ptr C'gpgme_sigsum_t
- c'GPGME_IMPORT_SUBKEY :: Num a => a
- c'GPGME_IMPORT_SECRET :: Num a => a
- p'_gpgme_signature'fpr :: Ptr C'_gpgme_signature -> Ptr CString
- p'_gpgme_signature'status :: Ptr C'_gpgme_signature -> Ptr C'gpgme_error_t
- p'_gpgme_signature'notations :: Ptr C'_gpgme_signature -> Ptr C'gpgme_sig_notation_t
- p'_gpgme_signature'timestamp :: Ptr C'_gpgme_signature -> Ptr CULong
- data C'_gpgme_import_status = C'_gpgme_import_status {}
- type C'gpgme_import_status_t = Ptr C'_gpgme_import_status
- p'_gpgme_signature'exp_timestamp :: Ptr C'_gpgme_signature -> Ptr CULong
- p'_gpgme_signature'validity :: Ptr C'_gpgme_signature -> Ptr C'gpgme_validity_t
- p'_gpgme_signature'validity_reason :: Ptr C'_gpgme_signature -> Ptr C'gpgme_error_t
- p'_gpgme_import_status'next :: Ptr C'_gpgme_import_status -> Ptr (Ptr C'_gpgme_import_status)
- p'_gpgme_signature'pubkey_algo :: Ptr C'_gpgme_signature -> Ptr C'gpgme_pubkey_algo_t
- p'_gpgme_import_status'fpr :: Ptr C'_gpgme_import_status -> Ptr CString
- p'_gpgme_signature'hash_algo :: Ptr C'_gpgme_signature -> Ptr C'gpgme_hash_algo_t
- p'_gpgme_import_status'result :: Ptr C'_gpgme_import_status -> Ptr C'gpgme_error_t
- p'_gpgme_signature'pka_address :: Ptr C'_gpgme_signature -> Ptr CString
- p'_gpgme_import_status'status :: Ptr C'_gpgme_import_status -> Ptr CUInt
- data C'_gpgme_op_import_result = C'_gpgme_op_import_result {
- c'_gpgme_op_import_result'considered :: CInt
- c'_gpgme_op_import_result'no_user_id :: CInt
- c'_gpgme_op_import_result'imported :: CInt
- c'_gpgme_op_import_result'imported_rsa :: CInt
- c'_gpgme_op_import_result'unchanged :: CInt
- c'_gpgme_op_import_result'new_user_ids :: CInt
- c'_gpgme_op_import_result'new_sub_keys :: CInt
- c'_gpgme_op_import_result'new_signatures :: CInt
- c'_gpgme_op_import_result'new_revocations :: CInt
- c'_gpgme_op_import_result'secret_read :: CInt
- c'_gpgme_op_import_result'secret_imported :: CInt
- c'_gpgme_op_import_result'secret_unchanged :: CInt
- c'_gpgme_op_import_result'skipped_new_keys :: CInt
- c'_gpgme_op_import_result'not_imported :: CInt
- c'_gpgme_op_import_result'imports :: C'gpgme_import_status_t
- type C'gpgme_import_result_t = Ptr C'_gpgme_op_import_result
- c'gpgme_op_import_result :: C'gpgme_ctx_t -> IO C'gpgme_import_result_t
- c'gpgme_op_import_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_import_result :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_import_result_t)
- c'gpgme_op_import :: C'gpgme_ctx_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_import_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- c'gpgme_op_export_start :: C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_import :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- c'gpgme_op_export :: C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t
- c'gpgme_op_export_ext_start :: C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_export_start :: FunPtr (C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t)
- c'gpgme_op_export_ext :: C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_export :: FunPtr (C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'gpgme_op_export_ext_start :: FunPtr (C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'gpgme_op_export_ext :: FunPtr (C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t)
- data C'_gpgme_op_genkey_result = C'_gpgme_op_genkey_result {}
- type C'gpgme_genkey_result_t = Ptr C'_gpgme_op_genkey_result
- c'gpgme_op_genkey_start :: C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'_gpgme_op_genkey_result'fpr :: Ptr C'_gpgme_op_genkey_result -> Ptr CString
- p'_gpgme_op_import_result'considered :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- c'gpgme_op_genkey :: C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t
- c'gpgme_op_genkey_result :: C'gpgme_ctx_t -> IO C'gpgme_genkey_result_t
- p'gpgme_op_genkey_start :: FunPtr (C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'_gpgme_op_import_result'no_user_id :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- c'gpgme_op_delete_start :: C'gpgme_ctx_t -> C'gpgme_key_t -> CInt -> IO C'gpgme_error_t
- p'gpgme_op_genkey :: FunPtr (C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'gpgme_op_genkey_result :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_genkey_result_t)
- c'gpgme_op_delete :: C'gpgme_ctx_t -> C'gpgme_key_t -> CInt -> IO C'gpgme_error_t
- p'_gpgme_op_import_result'imported :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'gpgme_op_delete_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> CInt -> IO C'gpgme_error_t)
- c'gpgme_op_edit_start :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_delete :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> CInt -> IO C'gpgme_error_t)
- c'gpgme_op_edit :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'_gpgme_op_import_result'imported_rsa :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- c'gpgme_op_card_edit_start :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_edit_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t)
- c'gpgme_op_card_edit :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t
- p'gpgme_op_edit :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'_gpgme_op_import_result'unchanged :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'gpgme_op_card_edit_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'gpgme_op_card_edit :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t)
- p'_gpgme_op_import_result'new_user_ids :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- data C'_gpgme_op_keylist_result = C'_gpgme_op_keylist_result {
- type C'gpgme_keylist_result_t = Ptr C'_gpgme_op_keylist_result
- p'_gpgme_op_import_result'new_sub_keys :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'_gpgme_op_import_result'new_signatures :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- c'gpgme_op_keylist_result :: C'gpgme_ctx_t -> IO C'gpgme_keylist_result_t
- c'gpgme_op_keylist_start :: C'gpgme_ctx_t -> CString -> CInt -> IO C'gpgme_error_t
- p'_gpgme_op_import_result'new_revocations :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'gpgme_op_keylist_result :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_keylist_result_t)
- c'gpgme_op_keylist_ext_start :: C'gpgme_ctx_t -> Ptr CString -> CInt -> CInt -> IO C'gpgme_error_t
- c'gpgme_op_keylist_next :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> IO C'gpgme_error_t
- p'gpgme_op_keylist_start :: FunPtr (C'gpgme_ctx_t -> CString -> CInt -> IO C'gpgme_error_t)
- p'_gpgme_op_import_result'secret_read :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- c'gpgme_op_keylist_end :: C'gpgme_ctx_t -> IO C'gpgme_error_t
- p'gpgme_op_keylist_ext_start :: FunPtr (C'gpgme_ctx_t -> Ptr CString -> CInt -> CInt -> IO C'gpgme_error_t)
- p'gpgme_op_keylist_next :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> IO C'gpgme_error_t)
- p'_gpgme_op_import_result'secret_imported :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'gpgme_op_keylist_end :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_error_t)
- p'_gpgme_op_import_result'secret_unchanged :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'_gpgme_op_import_result'skipped_new_keys :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'_gpgme_op_import_result'not_imported :: Ptr C'_gpgme_op_import_result -> Ptr CInt
- p'_gpgme_op_import_result'imports :: Ptr C'_gpgme_op_import_result -> Ptr C'gpgme_import_status_t
- data C'_gpgme_trust_item = C'_gpgme_trust_item {}
- type C'gpgme_trust_item_t = Ptr C'_gpgme_trust_item
- c'gpgme_op_trustlist_start :: C'gpgme_ctx_t -> CString -> CInt -> IO C'gpgme_error_t
- c'gpgme_op_trustlist_next :: C'gpgme_ctx_t -> Ptr C'gpgme_trust_item_t -> IO C'gpgme_error_t
- c'gpgme_op_trustlist_end :: C'gpgme_ctx_t -> IO C'gpgme_error_t
- p'gpgme_op_trustlist_start :: FunPtr (C'gpgme_ctx_t -> CString -> CInt -> IO C'gpgme_error_t)
- c'gpgme_trust_item_ref :: C'gpgme_trust_item_t -> IO ()
- p'gpgme_op_trustlist_next :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_trust_item_t -> IO C'gpgme_error_t)
- c'gpgme_trust_item_unref :: C'gpgme_trust_item_t -> IO ()
- p'gpgme_op_trustlist_end :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_error_t)
- p'gpgme_trust_item_ref :: FunPtr (C'gpgme_trust_item_t -> IO ())
- c'gpgme_op_getauditlog_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> CUInt -> IO C'gpgme_error_t
- p'_gpgme_trust_item'keyid :: Ptr C'_gpgme_trust_item -> Ptr CString
- p'gpgme_trust_item_unref :: FunPtr (C'gpgme_trust_item_t -> IO ())
- c'gpgme_op_getauditlog :: C'gpgme_ctx_t -> C'gpgme_data_t -> CUInt -> IO C'gpgme_error_t
- p'gpgme_op_getauditlog_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> CUInt -> IO C'gpgme_error_t)
- p'_gpgme_trust_item'type :: Ptr C'_gpgme_trust_item -> Ptr CInt
- p'gpgme_op_getauditlog :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> CUInt -> IO C'gpgme_error_t)
- type C'gpgme_conf_level_t = CUInt
- p'_gpgme_trust_item'level :: Ptr C'_gpgme_trust_item -> Ptr CInt
- c'GPGME_CONF_BASIC :: Num a => a
- c'GPGME_CONF_ADVANCED :: Num a => a
- p'_gpgme_trust_item'owner_trust :: Ptr C'_gpgme_trust_item -> Ptr CString
- c'GPGME_CONF_EXPERT :: Num a => a
- c'GPGME_CONF_INVISIBLE :: Num a => a
- p'_gpgme_trust_item'validity :: Ptr C'_gpgme_trust_item -> Ptr CString
- c'GPGME_CONF_INTERNAL :: Num a => a
- type C'gpgme_conf_type_t = CUInt
- p'_gpgme_trust_item'name :: Ptr C'_gpgme_trust_item -> Ptr CString
- c'GPGME_CONF_NONE :: Num a => a
- c'GPGME_CONF_STRING :: Num a => a
- c'GPGME_CONF_INT32 :: Num a => a
- c'GPGME_CONF_UINT32 :: Num a => a
- c'GPGME_CONF_FILENAME :: Num a => a
- c'GPGME_CONF_LDAP_SERVER :: Num a => a
- c'GPGME_CONF_KEY_FPR :: Num a => a
- c'GPGME_CONF_PUB_KEY :: Num a => a
- c'GPGME_CONF_SEC_KEY :: Num a => a
- c'GPGME_CONF_ALIAS_LIST :: Num a => a
- data C'gpgme_conf_arg = C'gpgme_conf_arg {}
- type C'gpgme_conf_arg_t = Ptr C'gpgme_conf_arg
- c'GPGME_CONF_GROUP :: Num a => a
- c'GPGME_CONF_OPTIONAL :: Num a => a
- c'GPGME_CONF_LIST :: Num a => a
- c'GPGME_CONF_RUNTIME :: Num a => a
- c'GPGME_CONF_DEFAULT :: Num a => a
- p'gpgme_conf_arg'next :: Ptr C'gpgme_conf_arg -> Ptr (Ptr C'gpgme_conf_arg)
- c'GPGME_CONF_DEFAULT_DESC :: Num a => a
- c'GPGME_CONF_NO_ARG_DESC :: Num a => a
- p'gpgme_conf_arg'no_arg :: Ptr C'gpgme_conf_arg -> Ptr CUInt
- c'GPGME_CONF_NO_CHANGE :: Num a => a
- p'gpgme_conf_arg'value'count :: Ptr C'gpgme_conf_arg -> Ptr CUInt
- p'gpgme_conf_arg'value'uint32 :: Ptr C'gpgme_conf_arg -> Ptr CUInt
- p'gpgme_conf_arg'value'int32 :: Ptr C'gpgme_conf_arg -> Ptr CInt
- p'gpgme_conf_arg'value'string :: Ptr C'gpgme_conf_arg -> Ptr CString
- data C'gpgme_conf_opt = C'gpgme_conf_opt {
- c'gpgme_conf_opt'next :: Ptr C'gpgme_conf_opt
- c'gpgme_conf_opt'name :: CString
- c'gpgme_conf_opt'flags :: CUInt
- c'gpgme_conf_opt'level :: C'gpgme_conf_level_t
- c'gpgme_conf_opt'description :: CString
- c'gpgme_conf_opt'type :: C'gpgme_conf_type_t
- c'gpgme_conf_opt'alt_type :: C'gpgme_conf_type_t
- c'gpgme_conf_opt'argname :: CString
- c'gpgme_conf_opt'default_value :: C'gpgme_conf_arg_t
- c'gpgme_conf_opt'default_description :: CString
- c'gpgme_conf_opt'no_arg_value :: C'gpgme_conf_arg_t
- c'gpgme_conf_opt'no_arg_description :: CString
- c'gpgme_conf_opt'value :: C'gpgme_conf_arg_t
- c'gpgme_conf_opt'change_value :: CInt
- c'gpgme_conf_opt'new_value :: C'gpgme_conf_arg_t
- c'gpgme_conf_opt'user_data :: Ptr ()
- type C'gpgme_conf_opt_t = Ptr C'gpgme_conf_opt
- data C'gpgme_conf_comp = C'gpgme_conf_comp {}
- type C'gpgme_conf_comp_t = Ptr C'gpgme_conf_comp
- c'gpgme_conf_arg_new :: Ptr C'gpgme_conf_arg_t -> C'gpgme_conf_type_t -> Ptr () -> IO C'gpgme_error_t
- c'gpgme_conf_arg_release :: C'gpgme_conf_arg_t -> C'gpgme_conf_type_t -> IO ()
- c'gpgme_conf_opt_change :: C'gpgme_conf_opt_t -> CInt -> C'gpgme_conf_arg_t -> IO C'gpgme_error_t
- p'gpgme_conf_arg_new :: FunPtr (Ptr C'gpgme_conf_arg_t -> C'gpgme_conf_type_t -> Ptr () -> IO C'gpgme_error_t)
- c'gpgme_conf_release :: C'gpgme_conf_comp_t -> IO ()
- p'gpgme_conf_arg_release :: FunPtr (C'gpgme_conf_arg_t -> C'gpgme_conf_type_t -> IO ())
- p'gpgme_conf_comp'next :: Ptr C'gpgme_conf_comp -> Ptr (Ptr C'gpgme_conf_comp)
- c'gpgme_op_conf_load :: C'gpgme_ctx_t -> Ptr C'gpgme_conf_comp_t -> IO C'gpgme_error_t
- p'gpgme_conf_opt_change :: FunPtr (C'gpgme_conf_opt_t -> CInt -> C'gpgme_conf_arg_t -> IO C'gpgme_error_t)
- p'gpgme_conf_opt'next :: Ptr C'gpgme_conf_opt -> Ptr (Ptr C'gpgme_conf_opt)
- p'gpgme_conf_release :: FunPtr (C'gpgme_conf_comp_t -> IO ())
- c'gpgme_op_conf_save :: C'gpgme_ctx_t -> C'gpgme_conf_comp_t -> IO C'gpgme_error_t
- p'gpgme_conf_comp'name :: Ptr C'gpgme_conf_comp -> Ptr CString
- p'gpgme_op_conf_load :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_conf_comp_t -> IO C'gpgme_error_t)
- p'gpgme_conf_opt'name :: Ptr C'gpgme_conf_opt -> Ptr CString
- p'gpgme_op_conf_save :: FunPtr (C'gpgme_ctx_t -> C'gpgme_conf_comp_t -> IO C'gpgme_error_t)
- p'gpgme_conf_comp'description :: Ptr C'gpgme_conf_comp -> Ptr CString
- c'gpgme_check_version :: CString -> IO CString
- p'gpgme_conf_opt'flags :: Ptr C'gpgme_conf_opt -> Ptr CUInt
- c'gpgme_get_engine_info :: Ptr C'gpgme_engine_info_t -> IO C'gpgme_error_t
- p'gpgme_conf_comp'program_name :: Ptr C'gpgme_conf_comp -> Ptr CString
- p'gpgme_check_version :: FunPtr (CString -> IO CString)
- c'gpgme_set_engine_info :: C'gpgme_protocol_t -> CString -> CString -> IO C'gpgme_error_t
- p'gpgme_conf_opt'level :: Ptr C'gpgme_conf_opt -> Ptr C'gpgme_conf_level_t
- c'gpgme_engine_check_version :: C'gpgme_protocol_t -> IO C'gpgme_error_t
- p'gpgme_get_engine_info :: FunPtr (Ptr C'gpgme_engine_info_t -> IO C'gpgme_error_t)
- p'gpgme_conf_comp'options :: Ptr C'gpgme_conf_comp -> Ptr (Ptr C'gpgme_conf_opt)
- p'gpgme_set_engine_info :: FunPtr (C'gpgme_protocol_t -> CString -> CString -> IO C'gpgme_error_t)
- p'gpgme_conf_opt'description :: Ptr C'gpgme_conf_opt -> Ptr CString
- p'gpgme_engine_check_version :: FunPtr (C'gpgme_protocol_t -> IO C'gpgme_error_t)
- type C'gpgme_pinentry_mode_t = CUInt
- p'gpgme_conf_opt'type :: Ptr C'gpgme_conf_opt -> Ptr C'gpgme_conf_type_t
- c'GPGME_PINENTRY_MODE_DEFAULT :: Num a => a
- c'GPGME_PINENTRY_MODE_ASK :: Num a => a
- p'gpgme_conf_opt'alt_type :: Ptr C'gpgme_conf_opt -> Ptr C'gpgme_conf_type_t
- c'GPGME_PINENTRY_MODE_CANCEL :: Num a => a
- c'GPGME_PINENTRY_MODE_ERROR :: Num a => a
- p'gpgme_conf_opt'argname :: Ptr C'gpgme_conf_opt -> Ptr CString
- c'GPGME_PINENTRY_MODE_LOOPBACK :: Num a => a
- c'gpgme_set_pinentry_mode :: C'gpgme_ctx_t -> C'gpgme_pinentry_mode_t -> IO C'gpgme_error_t
- p'gpgme_conf_opt'default_value :: Ptr C'gpgme_conf_opt -> Ptr C'gpgme_conf_arg_t
- c'gpgme_get_pinentry_mode :: C'gpgme_ctx_t -> IO C'gpgme_pinentry_mode_t
- p'gpgme_set_pinentry_mode :: FunPtr (C'gpgme_ctx_t -> C'gpgme_pinentry_mode_t -> IO C'gpgme_error_t)
- p'gpgme_conf_opt'default_description :: Ptr C'gpgme_conf_opt -> Ptr CString
- p'gpgme_get_pinentry_mode :: FunPtr (C'gpgme_ctx_t -> IO C'gpgme_pinentry_mode_t)
- p'gpgme_conf_opt'no_arg_value :: Ptr C'gpgme_conf_opt -> Ptr C'gpgme_conf_arg_t
- c'gpgme_io_read :: CInt -> Ptr () -> CSize -> IO CSize
- c'gpgme_io_write :: CInt -> Ptr () -> CSize -> IO CSize
- p'gpgme_conf_opt'no_arg_description :: Ptr C'gpgme_conf_opt -> Ptr CString
- c'gpgme_io_writen :: CInt -> Ptr () -> CSize -> IO CSize
- p'gpgme_io_read :: FunPtr (CInt -> Ptr () -> CSize -> IO CSize)
- p'gpgme_io_write :: FunPtr (CInt -> Ptr () -> CSize -> IO CSize)
- p'gpgme_conf_opt'value :: Ptr C'gpgme_conf_opt -> Ptr C'gpgme_conf_arg_t
- p'gpgme_io_writen :: FunPtr (CInt -> Ptr () -> CSize -> IO CSize)
- p'gpgme_conf_opt'change_value :: Ptr C'gpgme_conf_opt -> Ptr CInt
- p'gpgme_conf_opt'new_value :: Ptr C'gpgme_conf_opt -> Ptr C'gpgme_conf_arg_t
- p'gpgme_conf_opt'user_data :: Ptr C'gpgme_conf_opt -> Ptr (Ptr ())
Basic types
type C'gpgme_ctx_t = Word64 Source
type C'gpgme_data_t = Word64 Source
Errors
type C'gpg_error_t = CUInt Source
type C'gpgme_error_t = CUInt Source
type C'gpg_err_code_t = CUInt Source
type C'gpgme_err_code_t = CUInt Source
type C'gpg_err_source_t = CUInt Source
type C'gpgme_err_source_t = CUInt Source
c'gpgme_strerror_r :: C'gpg_error_t -> CString -> CSize -> IO CInt Source
p'gpgme_strerror :: FunPtr (C'gpgme_error_t -> IO CString) Source
p'gpgme_strerror_r :: FunPtr (C'gpg_error_t -> CString -> CSize -> IO CInt) Source
Data encoding
type C'gpgme_data_encoding_t = CUInt Source
c'GPGME_DATA_ENCODING_NONE :: Num a => a Source
c'GPGME_DATA_ENCODING_BINARY :: Num a => a Source
c'GPGME_DATA_ENCODING_BASE64 :: Num a => a Source
c'GPGME_DATA_ENCODING_ARMOR :: Num a => a Source
Algorithms
Public key algorithms
type C'gpgme_pubkey_algo_t = CUInt Source
c'GPGME_PK_RSA :: Num a => a Source
c'GPGME_PK_RSA_E :: Num a => a Source
c'GPGME_PK_RSA_S :: Num a => a Source
c'GPGME_PK_ELG_E :: Num a => a Source
c'GPGME_PK_DSA :: Num a => a Source
c'GPGME_PK_ELG :: Num a => a Source
Hash algorithms
type C'gpgme_hash_algo_t = CUInt Source
c'GPGME_MD_NONE :: Num a => a Source
c'GPGME_MD_MD5 :: Num a => a Source
c'GPGME_MD_SHA1 :: Num a => a Source
c'GPGME_MD_RMD160 :: Num a => a Source
c'GPGME_MD_MD2 :: Num a => a Source
c'GPGME_MD_TIGER :: Num a => a Source
c'GPGME_MD_HAVAL :: Num a => a Source
c'GPGME_MD_SHA256 :: Num a => a Source
c'GPGME_MD_SHA384 :: Num a => a Source
c'GPGME_MD_SHA512 :: Num a => a Source
c'GPGME_MD_MD4 :: Num a => a Source
c'GPGME_MD_CRC32 :: Num a => a Source
c'GPGME_MD_CRC32_RFC1510 :: Num a => a Source
c'GPGME_MD_CRC24_RFC2440 :: Num a => a Source
Signature mode
type C'gpgme_sig_mode_t = CUInt Source
c'GPGME_SIG_MODE_NORMAL :: Num a => a Source
c'GPGME_SIG_MODE_DETACH :: Num a => a Source
c'GPGME_SIG_MODE_CLEAR :: Num a => a Source
Identity validity
type C'gpgme_validity_t = CUInt Source
c'GPGME_VALIDITY_UNKNOWN :: Num a => a Source
c'GPGME_VALIDITY_UNDEFINED :: Num a => a Source
c'GPGME_VALIDITY_NEVER :: Num a => a Source
c'GPGME_VALIDITY_MARGINAL :: Num a => a Source
c'GPGME_VALIDITY_FULL :: Num a => a Source
c'GPGME_VALIDITY_ULTIMATE :: Num a => a Source
Protocols
type C'gpgme_protocol_t = CUInt Source
c'GPGME_PROTOCOL_OpenPGP :: Num a => a Source
c'GPGME_PROTOCOL_CMS :: Num a => a Source
c'GPGME_PROTOCOL_GPGCONF :: Num a => a Source
c'GPGME_PROTOCOL_UNKNOWN :: Num a => a Source
Key list modes
type C'gpgme_keylist_mode_t = CUInt Source
c'GPGME_KEYLIST_MODE_LOCAL :: Num a => a Source
c'GPGME_KEYLIST_MODE_EXTERN :: Num a => a Source
c'GPGME_KEYLIST_MODE_SIGS :: Num a => a Source
c'GPGME_KEYLIST_MODE_SIG_NOTATIONS :: Num a => a Source
c'GPGME_KEYLIST_MODE_VALIDATE :: Num a => a Source
c'GPGME_AUDITLOG_HTML :: Num a => a Source
c'GPGME_AUDITLOG_WITH_HELP :: Num a => a Source
Signature notations
c'GPGME_SIG_NOTATION_HUMAN_READABLE :: Num a => a Source
c'GPGME_SIG_NOTATION_CRITICAL :: Num a => a Source
Status codes
type C'gpgme_status_code_t = CUInt Source
c'GPGME_STATUS_EOF :: Num a => a Source
c'GPGME_STATUS_ENTER :: Num a => a Source
c'GPGME_STATUS_LEAVE :: Num a => a Source
c'GPGME_STATUS_ABORT :: Num a => a Source
c'GPGME_STATUS_GOODSIG :: Num a => a Source
c'GPGME_STATUS_BADSIG :: Num a => a Source
c'GPGME_STATUS_ERRSIG :: Num a => a Source
c'GPGME_STATUS_BADARMOR :: Num a => a Source
c'GPGME_STATUS_RSA_OR_IDEA :: Num a => a Source
c'GPGME_STATUS_KEYEXPIRED :: Num a => a Source
c'GPGME_STATUS_KEYREVOKED :: Num a => a Source
c'GPGME_STATUS_TRUST_UNDEFINED :: Num a => a Source
c'GPGME_STATUS_TRUST_NEVER :: Num a => a Source
c'GPGME_STATUS_TRUST_MARGINAL :: Num a => a Source
c'GPGME_STATUS_TRUST_FULLY :: Num a => a Source
c'GPGME_STATUS_TRUST_ULTIMATE :: Num a => a Source
c'GPGME_STATUS_SHM_INFO :: Num a => a Source
c'GPGME_STATUS_SHM_GET :: Num a => a Source
c'GPGME_STATUS_SHM_GET_BOOL :: Num a => a Source
c'GPGME_STATUS_SHM_GET_HIDDEN :: Num a => a Source
c'GPGME_STATUS_NEED_PASSPHRASE :: Num a => a Source
c'GPGME_STATUS_VALIDSIG :: Num a => a Source
c'GPGME_STATUS_SIG_ID :: Num a => a Source
c'GPGME_STATUS_ENC_TO :: Num a => a Source
c'GPGME_STATUS_NODATA :: Num a => a Source
c'GPGME_STATUS_BAD_PASSPHRASE :: Num a => a Source
c'GPGME_STATUS_NO_PUBKEY :: Num a => a Source
c'GPGME_STATUS_NO_SECKEY :: Num a => a Source
c'GPGME_STATUS_NEED_PASSPHRASE_SYM :: Num a => a Source
c'GPGME_STATUS_DECRYPTION_FAILED :: Num a => a Source
c'GPGME_STATUS_DECRYPTION_OKAY :: Num a => a Source
c'GPGME_STATUS_MISSING_PASSPHRASE :: Num a => a Source
c'GPGME_STATUS_GOOD_PASSPHRASE :: Num a => a Source
c'GPGME_STATUS_GOODMDC :: Num a => a Source
c'GPGME_STATUS_BADMDC :: Num a => a Source
c'GPGME_STATUS_ERRMDC :: Num a => a Source
c'GPGME_STATUS_IMPORTED :: Num a => a Source
c'GPGME_STATUS_IMPORT_OK :: Num a => a Source
c'GPGME_STATUS_IMPORT_PROBLEM :: Num a => a Source
c'GPGME_STATUS_IMPORT_RES :: Num a => a Source
c'GPGME_STATUS_FILE_START :: Num a => a Source
c'GPGME_STATUS_FILE_DONE :: Num a => a Source
c'GPGME_STATUS_FILE_ERROR :: Num a => a Source
c'GPGME_STATUS_BEGIN_DECRYPTION :: Num a => a Source
c'GPGME_STATUS_END_DECRYPTION :: Num a => a Source
c'GPGME_STATUS_BEGIN_ENCRYPTION :: Num a => a Source
c'GPGME_STATUS_END_ENCRYPTION :: Num a => a Source
c'GPGME_STATUS_DELETE_PROBLEM :: Num a => a Source
c'GPGME_STATUS_GET_BOOL :: Num a => a Source
c'GPGME_STATUS_GET_LINE :: Num a => a Source
c'GPGME_STATUS_GET_HIDDEN :: Num a => a Source
c'GPGME_STATUS_GOT_IT :: Num a => a Source
c'GPGME_STATUS_PROGRESS :: Num a => a Source
c'GPGME_STATUS_SIG_CREATED :: Num a => a Source
c'GPGME_STATUS_SESSION_KEY :: Num a => a Source
c'GPGME_STATUS_NOTATION_NAME :: Num a => a Source
c'GPGME_STATUS_NOTATION_DATA :: Num a => a Source
c'GPGME_STATUS_POLICY_URL :: Num a => a Source
c'GPGME_STATUS_BEGIN_STREAM :: Num a => a Source
c'GPGME_STATUS_END_STREAM :: Num a => a Source
c'GPGME_STATUS_KEY_CREATED :: Num a => a Source
c'GPGME_STATUS_USERID_HINT :: Num a => a Source
c'GPGME_STATUS_UNEXPECTED :: Num a => a Source
c'GPGME_STATUS_INV_RECP :: Num a => a Source
c'GPGME_STATUS_NO_RECP :: Num a => a Source
c'GPGME_STATUS_ALREADY_SIGNED :: Num a => a Source
c'GPGME_STATUS_SIGEXPIRED :: Num a => a Source
c'GPGME_STATUS_EXPSIG :: Num a => a Source
c'GPGME_STATUS_EXPKEYSIG :: Num a => a Source
c'GPGME_STATUS_TRUNCATED :: Num a => a Source
c'GPGME_STATUS_ERROR :: Num a => a Source
c'GPGME_STATUS_NEWSIG :: Num a => a Source
c'GPGME_STATUS_REVKEYSIG :: Num a => a Source
c'GPGME_STATUS_SIG_SUBPACKET :: Num a => a Source
c'GPGME_STATUS_NEED_PASSPHRASE_PIN :: Num a => a Source
c'GPGME_STATUS_SC_OP_FAILURE :: Num a => a Source
c'GPGME_STATUS_SC_OP_SUCCESS :: Num a => a Source
c'GPGME_STATUS_CARDCTRL :: Num a => a Source
c'GPGME_STATUS_BACKUP_KEY_CREATED :: Num a => a Source
c'GPGME_STATUS_PKA_TRUST_BAD :: Num a => a Source
c'GPGME_STATUS_PKA_TRUST_GOOD :: Num a => a Source
c'GPGME_STATUS_PLAINTEXT :: Num a => a Source
Engine information
Keys
type C'gpgme_subkey_t = Ptr C'_gpgme_subkey Source
data C'_gpgme_key_sig Source
data C'_gpgme_key Source
type C'gpgme_key_t = Ptr C'_gpgme_key Source
Callback types
type C'gpgme_passphrase_cb_t = FunPtr (Ptr () -> CString -> CString -> CInt -> CInt -> IO C'gpgme_error_t) Source
mk'gpgme_passphrase_cb_t :: (Ptr () -> CString -> CString -> CInt -> CInt -> IO C'gpgme_error_t) -> IO C'gpgme_passphrase_cb_t Source
type C'gpgme_edit_cb_t = FunPtr (Ptr () -> C'gpgme_status_code_t -> CString -> CInt -> IO C'gpgme_error_t) Source
mk'gpgme_progress_cb_t :: (Ptr () -> CString -> CInt -> CInt -> CInt -> IO ()) -> IO C'gpgme_progress_cb_t Source
mK'gpgme_passphrase_cb_t :: C'gpgme_passphrase_cb_t -> Ptr () -> CString -> CString -> CInt -> CInt -> IO C'gpgme_error_t Source
mk'gpgme_edit_cb_t :: (Ptr () -> C'gpgme_status_code_t -> CString -> CInt -> IO C'gpgme_error_t) -> IO C'gpgme_edit_cb_t Source
Creating and configuring contexts
mK'gpgme_progress_cb_t :: C'gpgme_progress_cb_t -> Ptr () -> CString -> CInt -> CInt -> CInt -> IO () Source
mK'gpgme_edit_cb_t :: C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_status_code_t -> CString -> CInt -> IO C'gpgme_error_t Source
c'gpgme_release :: C'gpgme_ctx_t -> IO () Source
p'gpgme_new :: FunPtr (Ptr C'gpgme_ctx_t -> IO C'gpgme_error_t) Source
p'gpgme_release :: FunPtr (C'gpgme_ctx_t -> IO ()) Source
c'gpgme_set_armor :: C'gpgme_ctx_t -> CInt -> IO () Source
c'gpgme_set_textmode :: C'gpgme_ctx_t -> CInt -> IO () Source
p'gpgme_set_armor :: FunPtr (C'gpgme_ctx_t -> CInt -> IO ()) Source
p'gpgme_get_armor :: FunPtr (C'gpgme_ctx_t -> IO CInt) Source
p'gpgme_set_textmode :: FunPtr (C'gpgme_ctx_t -> CInt -> IO ()) Source
p'gpgme_get_textmode :: FunPtr (C'gpgme_ctx_t -> IO CInt) Source
c'GPGME_INCLUDE_CERTS_DEFAULT :: Num a => a Source
c'gpgme_set_include_certs :: C'gpgme_ctx_t -> CInt -> IO () Source
p'gpgme_set_include_certs :: FunPtr (C'gpgme_ctx_t -> CInt -> IO ()) Source
c'gpgme_set_passphrase_cb :: C'gpgme_ctx_t -> C'gpgme_passphrase_cb_t -> Ptr () -> IO () Source
p'gpgme_set_keylist_mode :: FunPtr (C'gpgme_ctx_t -> C'gpgme_keylist_mode_t -> IO C'gpgme_error_t) Source
c'gpgme_get_passphrase_cb :: C'gpgme_ctx_t -> Ptr C'gpgme_passphrase_cb_t -> Ptr (Ptr ()) -> IO () Source
c'gpgme_set_progress_cb :: C'gpgme_ctx_t -> C'gpgme_progress_cb_t -> Ptr () -> IO () Source
p'gpgme_set_passphrase_cb :: FunPtr (C'gpgme_ctx_t -> C'gpgme_passphrase_cb_t -> Ptr () -> IO ()) Source
c'gpgme_get_progress_cb :: C'gpgme_ctx_t -> Ptr C'gpgme_progress_cb_t -> Ptr (Ptr ()) -> IO () Source
p'gpgme_get_passphrase_cb :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_passphrase_cb_t -> Ptr (Ptr ()) -> IO ()) Source
c'gpgme_set_locale :: C'gpgme_ctx_t -> CInt -> CString -> IO C'gpgme_error_t Source
p'gpgme_set_progress_cb :: FunPtr (C'gpgme_ctx_t -> C'gpgme_progress_cb_t -> Ptr () -> IO ()) Source
p'gpgme_get_progress_cb :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_progress_cb_t -> Ptr (Ptr ()) -> IO ()) Source
p'gpgme_set_locale :: FunPtr (C'gpgme_ctx_t -> CInt -> CString -> IO C'gpgme_error_t) Source
c'gpgme_ctx_set_engine_info :: C'gpgme_ctx_t -> C'gpgme_protocol_t -> CString -> CString -> IO C'gpgme_error_t Source
p'gpgme_ctx_set_engine_info :: FunPtr (C'gpgme_ctx_t -> C'gpgme_protocol_t -> CString -> CString -> IO C'gpgme_error_t) Source
c'gpgme_signers_clear :: C'gpgme_ctx_t -> IO () Source
p'gpgme_signers_clear :: FunPtr (C'gpgme_ctx_t -> IO ()) Source
c'gpgme_sig_notation_clear :: C'gpgme_ctx_t -> IO () Source
p'gpgme_signers_enum :: FunPtr (C'gpgme_ctx_t -> CInt -> IO C'gpgme_key_t) Source
c'gpgme_sig_notation_add :: C'gpgme_ctx_t -> CString -> CString -> C'gpgme_sig_notation_flags_t -> IO C'gpgme_error_t Source
p'gpgme_sig_notation_clear :: FunPtr (C'gpgme_ctx_t -> IO ()) Source
p'gpgme_sig_notation_add :: FunPtr (C'gpgme_ctx_t -> CString -> CString -> C'gpgme_sig_notation_flags_t -> IO C'gpgme_error_t) Source
IO events
type C'gpgme_io_cb_t = FunPtr (Ptr () -> CInt -> IO C'gpgme_error_t) Source
type C'gpgme_register_io_cb_t = FunPtr (Ptr () -> CInt -> CInt -> C'gpgme_io_cb_t -> Ptr () -> Ptr (Ptr ()) -> IO C'gpgme_error_t) Source
mk'gpgme_io_cb_t :: (Ptr () -> CInt -> IO C'gpgme_error_t) -> IO C'gpgme_io_cb_t Source
type C'gpgme_remove_io_cb_t = FunPtr (Ptr () -> IO ()) Source
mk'gpgme_register_io_cb_t :: (Ptr () -> CInt -> CInt -> C'gpgme_io_cb_t -> Ptr () -> Ptr (Ptr ()) -> IO C'gpgme_error_t) -> IO C'gpgme_register_io_cb_t Source
mk'gpgme_remove_io_cb_t :: (Ptr () -> IO ()) -> IO C'gpgme_remove_io_cb_t Source
mK'gpgme_io_cb_t :: C'gpgme_io_cb_t -> Ptr () -> CInt -> IO C'gpgme_error_t Source
type C'gpgme_event_io_t = CUInt Source
mK'gpgme_register_io_cb_t :: C'gpgme_register_io_cb_t -> Ptr () -> CInt -> CInt -> C'gpgme_io_cb_t -> Ptr () -> Ptr (Ptr ()) -> IO C'gpgme_error_t Source
mK'gpgme_remove_io_cb_t :: C'gpgme_remove_io_cb_t -> Ptr () -> IO () Source
c'GPGME_EVENT_START :: Num a => a Source
c'GPGME_EVENT_DONE :: Num a => a Source
c'GPGME_EVENT_NEXT_KEY :: Num a => a Source
c'GPGME_EVENT_NEXT_TRUSTITEM :: Num a => a Source
type C'gpgme_event_io_cb_t = FunPtr (Ptr () -> C'gpgme_event_io_t -> Ptr () -> IO ()) Source
mk'gpgme_event_io_cb_t :: (Ptr () -> C'gpgme_event_io_t -> Ptr () -> IO ()) -> IO C'gpgme_event_io_cb_t Source
mK'gpgme_event_io_cb_t :: C'gpgme_event_io_cb_t -> Ptr () -> C'gpgme_event_io_t -> Ptr () -> IO () Source
type C'gpgme_io_cbs_t = Ptr C'gpgme_io_cbs Source
c'gpgme_set_io_cbs :: C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO () Source
c'gpgme_get_io_cbs :: C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO () Source
p'gpgme_set_io_cbs :: FunPtr (C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO ()) Source
c'gpgme_wait :: C'gpgme_ctx_t -> Ptr C'gpgme_error_t -> CInt -> IO C'gpgme_ctx_t Source
p'gpgme_get_io_cbs :: FunPtr (C'gpgme_ctx_t -> C'gpgme_io_cbs_t -> IO ()) Source
p'gpgme_wait :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_error_t -> CInt -> IO C'gpgme_ctx_t) Source
Data buffers
p'gpgme_io_cbs'add_priv :: Ptr C'gpgme_io_cbs -> Ptr (Ptr ()) Source
mk'gpgme_data_read_cb_t :: (Ptr () -> Ptr () -> CSize -> IO C'ssize_t) -> IO C'gpgme_data_read_cb_t Source
mk'gpgme_data_write_cb_t :: (Ptr () -> Ptr () -> CSize -> IO C'ssize_t) -> IO C'gpgme_data_write_cb_t Source
type C'gpgme_data_release_cb_t = FunPtr (Ptr () -> IO ()) Source
mK'gpgme_data_read_cb_t :: C'gpgme_data_read_cb_t -> Ptr () -> Ptr () -> CSize -> IO C'ssize_t Source
mk'gpgme_data_seek_cb_t :: (Ptr () -> C'off_t -> CInt -> IO C'off_t) -> IO C'gpgme_data_seek_cb_t Source
mk'gpgme_data_release_cb_t :: (Ptr () -> IO ()) -> IO C'gpgme_data_release_cb_t Source
mK'gpgme_data_write_cb_t :: C'gpgme_data_write_cb_t -> Ptr () -> Ptr () -> CSize -> IO C'ssize_t Source
p'gpgme_io_cbs'event_priv :: Ptr C'gpgme_io_cbs -> Ptr (Ptr ()) Source
mK'gpgme_data_seek_cb_t :: C'gpgme_data_seek_cb_t -> Ptr () -> C'off_t -> CInt -> IO C'off_t Source
mK'gpgme_data_release_cb_t :: C'gpgme_data_release_cb_t -> Ptr () -> IO () Source
c'gpgme_data_read :: C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t Source
c'gpgme_data_write :: C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t Source
c'gpgme_data_seek :: C'gpgme_data_t -> C'off_t -> CInt -> IO C'off_t Source
p'gpgme_data_read :: FunPtr (C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t) Source
p'gpgme_data_write :: FunPtr (C'gpgme_data_t -> Ptr () -> CSize -> IO C'ssize_t) Source
c'gpgme_data_release :: C'gpgme_data_t -> IO () Source
p'gpgme_data_seek :: FunPtr (C'gpgme_data_t -> C'off_t -> CInt -> IO C'off_t) Source
c'gpgme_data_new_from_mem :: Ptr C'gpgme_data_t -> CString -> CSize -> CInt -> IO C'gpgme_error_t Source
p'gpgme_data_release :: FunPtr (C'gpgme_data_t -> IO ()) Source
c'gpgme_free :: Ptr () -> IO () Source
p'gpgme_data_new_from_mem :: FunPtr (Ptr C'gpgme_data_t -> CString -> CSize -> CInt -> IO C'gpgme_error_t) Source
c'gpgme_data_new_from_cbs :: Ptr C'gpgme_data_t -> C'gpgme_data_cbs_t -> Ptr () -> IO C'gpgme_error_t Source
p'gpgme_free :: FunPtr (Ptr () -> IO ()) Source
p'gpgme_data_new_from_cbs :: FunPtr (Ptr C'gpgme_data_t -> C'gpgme_data_cbs_t -> Ptr () -> IO C'gpgme_error_t) Source
p'gpgme_data_new_from_stream :: FunPtr (Ptr C'gpgme_data_t -> Ptr CFile -> IO C'gpgme_error_t) Source
p'gpgme_data_set_encoding :: FunPtr (C'gpgme_data_t -> C'gpgme_data_encoding_t -> IO C'gpgme_error_t) Source
c'gpgme_data_new_from_filepart :: Ptr C'gpgme_data_t -> CString -> Ptr CFile -> C'off_t -> CSize -> IO C'gpgme_error_t Source
p'gpgme_data_new_from_file :: FunPtr (Ptr C'gpgme_data_t -> CString -> CInt -> IO C'gpgme_error_t) Source
Key management
p'gpgme_data_new_from_filepart :: FunPtr (Ptr C'gpgme_data_t -> CString -> Ptr CFile -> C'off_t -> CSize -> IO C'gpgme_error_t) Source
c'gpgme_get_key :: C'gpgme_ctx_t -> CString -> Ptr C'gpgme_key_t -> CInt -> IO C'gpgme_error_t Source
c'gpgme_key_ref :: C'gpgme_key_t -> IO () Source
c'gpgme_key_unref :: C'gpgme_key_t -> IO () Source
p'gpgme_get_key :: FunPtr (C'gpgme_ctx_t -> CString -> Ptr C'gpgme_key_t -> CInt -> IO C'gpgme_error_t) Source
c'gpgme_key_release :: C'gpgme_key_t -> IO () Source
p'gpgme_key_ref :: FunPtr (C'gpgme_key_t -> IO ()) Source
p'gpgme_key_unref :: FunPtr (C'gpgme_key_t -> IO ()) Source
Encryption
p'gpgme_key_release :: FunPtr (C'gpgme_key_t -> IO ()) Source
p'_gpgme_op_encrypt_result'invalid_recipients :: Ptr C'_gpgme_op_encrypt_result -> Ptr C'gpgme_invalid_key_t Source
type C'gpgme_encrypt_flags_t = CUInt Source
c'GPGME_ENCRYPT_ALWAYS_TRUST :: Num a => a Source
c'gpgme_op_encrypt_start :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
c'gpgme_op_encrypt :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
c'gpgme_op_encrypt_sign_start :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_encrypt_start :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_encrypt_sign :: C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_encrypt :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
p'gpgme_op_encrypt_sign_start :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
Decryption
p'gpgme_op_encrypt_sign :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_key_t -> C'gpgme_encrypt_flags_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_decrypt_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
c'gpgme_op_decrypt :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'_gpgme_op_decrypt_result'unsupported_algorithm :: Ptr C'_gpgme_op_decrypt_result -> Ptr CString Source
c'gpgme_op_decrypt_verify_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_decrypt_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_decrypt_verify :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_decrypt :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
p'_gpgme_op_decrypt_result'recipients :: Ptr C'_gpgme_op_decrypt_result -> Ptr C'gpgme_recipient_t Source
p'gpgme_op_decrypt_verify_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
Signing
p'gpgme_op_decrypt_verify :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
data C'_gpgme_new_signature Source
p'_gpgme_new_signature'next :: Ptr C'_gpgme_new_signature -> Ptr (Ptr C'_gpgme_new_signature) Source
c'gpgme_op_sign_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t Source
p'_gpgme_op_sign_result'invalid_signers :: Ptr C'_gpgme_op_sign_result -> Ptr C'gpgme_invalid_key_t Source
c'gpgme_op_sign :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t Source
p'gpgme_op_sign_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t) Source
Signature verification
p'_gpgme_op_sign_result'signatures :: Ptr C'_gpgme_op_sign_result -> Ptr C'gpgme_new_signature_t Source
p'gpgme_op_sign :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_sig_mode_t -> IO C'gpgme_error_t) Source
type C'gpgme_sigsum_t = CUInt Source
p'_gpgme_new_signature'pubkey_algo :: Ptr C'_gpgme_new_signature -> Ptr C'gpgme_pubkey_algo_t Source
c'GPGME_SIGSUM_VALID :: Num a => a Source
c'GPGME_SIGSUM_GREEN :: Num a => a Source
c'GPGME_SIGSUM_RED :: Num a => a Source
c'GPGME_SIGSUM_KEY_REVOKED :: Num a => a Source
c'GPGME_SIGSUM_KEY_EXPIRED :: Num a => a Source
c'GPGME_SIGSUM_SIG_EXPIRED :: Num a => a Source
c'GPGME_SIGSUM_KEY_MISSING :: Num a => a Source
c'GPGME_SIGSUM_CRL_MISSING :: Num a => a Source
c'GPGME_SIGSUM_CRL_TOO_OLD :: Num a => a Source
c'GPGME_SIGSUM_BAD_POLICY :: Num a => a Source
c'GPGME_SIGSUM_SYS_ERROR :: Num a => a Source
data C'_gpgme_signature Source
c'gpgme_op_verify_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'_gpgme_op_verify_result'signatures :: Ptr C'_gpgme_op_verify_result -> Ptr C'gpgme_signature_t Source
c'gpgme_op_verify :: C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_verify_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
Importing keys
p'gpgme_op_verify :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'GPGME_IMPORT_NEW :: Num a => a Source
c'GPGME_IMPORT_UID :: Num a => a Source
c'GPGME_IMPORT_SIG :: Num a => a Source
c'GPGME_IMPORT_SUBKEY :: Num a => a Source
c'GPGME_IMPORT_SECRET :: Num a => a Source
p'_gpgme_import_status'next :: Ptr C'_gpgme_import_status -> Ptr (Ptr C'_gpgme_import_status) Source
data C'_gpgme_op_import_result Source
c'gpgme_op_export_start :: C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t Source
c'gpgme_op_export :: C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t Source
c'gpgme_op_export_ext_start :: C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_export_start :: FunPtr (C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_export_ext :: C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_export :: FunPtr (C'gpgme_ctx_t -> CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
p'gpgme_op_export_ext_start :: FunPtr (C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
Key generation and editing
p'gpgme_op_export_ext :: FunPtr (C'gpgme_ctx_t -> Ptr CString -> CUInt -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_genkey_start :: C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
c'gpgme_op_genkey :: C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_genkey_start :: FunPtr (C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
p'gpgme_op_genkey :: FunPtr (C'gpgme_ctx_t -> CString -> C'gpgme_data_t -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_delete :: C'gpgme_ctx_t -> C'gpgme_key_t -> CInt -> IO C'gpgme_error_t Source
p'gpgme_op_delete_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> CInt -> IO C'gpgme_error_t) Source
c'gpgme_op_edit_start :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_delete :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> CInt -> IO C'gpgme_error_t) Source
c'gpgme_op_edit :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t Source
c'gpgme_op_card_edit_start :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_edit_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_card_edit :: C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t Source
p'gpgme_op_edit :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
p'gpgme_op_card_edit_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
Listing keys
p'gpgme_op_card_edit :: FunPtr (C'gpgme_ctx_t -> C'gpgme_key_t -> C'gpgme_edit_cb_t -> Ptr () -> C'gpgme_data_t -> IO C'gpgme_error_t) Source
c'gpgme_op_keylist_start :: C'gpgme_ctx_t -> CString -> CInt -> IO C'gpgme_error_t Source
c'gpgme_op_keylist_ext_start :: C'gpgme_ctx_t -> Ptr CString -> CInt -> CInt -> IO C'gpgme_error_t Source
p'gpgme_op_keylist_start :: FunPtr (C'gpgme_ctx_t -> CString -> CInt -> IO C'gpgme_error_t) Source
p'gpgme_op_keylist_ext_start :: FunPtr (C'gpgme_ctx_t -> Ptr CString -> CInt -> CInt -> IO C'gpgme_error_t) Source
Trust items
p'_gpgme_op_import_result'imports :: Ptr C'_gpgme_op_import_result -> Ptr C'gpgme_import_status_t Source
p'gpgme_op_trustlist_start :: FunPtr (C'gpgme_ctx_t -> CString -> CInt -> IO C'gpgme_error_t) Source
p'gpgme_op_trustlist_next :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_trust_item_t -> IO C'gpgme_error_t) Source
p'gpgme_trust_item_ref :: FunPtr (C'gpgme_trust_item_t -> IO ()) Source
c'gpgme_op_getauditlog_start :: C'gpgme_ctx_t -> C'gpgme_data_t -> CUInt -> IO C'gpgme_error_t Source
p'gpgme_trust_item_unref :: FunPtr (C'gpgme_trust_item_t -> IO ()) Source
p'gpgme_op_getauditlog_start :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> CUInt -> IO C'gpgme_error_t) Source
Configuration
p'gpgme_op_getauditlog :: FunPtr (C'gpgme_ctx_t -> C'gpgme_data_t -> CUInt -> IO C'gpgme_error_t) Source
type C'gpgme_conf_level_t = CUInt Source
c'GPGME_CONF_BASIC :: Num a => a Source
c'GPGME_CONF_ADVANCED :: Num a => a Source
c'GPGME_CONF_EXPERT :: Num a => a Source
c'GPGME_CONF_INVISIBLE :: Num a => a Source
c'GPGME_CONF_INTERNAL :: Num a => a Source
type C'gpgme_conf_type_t = CUInt Source
c'GPGME_CONF_NONE :: Num a => a Source
c'GPGME_CONF_STRING :: Num a => a Source
c'GPGME_CONF_INT32 :: Num a => a Source
c'GPGME_CONF_UINT32 :: Num a => a Source
c'GPGME_CONF_FILENAME :: Num a => a Source
c'GPGME_CONF_LDAP_SERVER :: Num a => a Source
c'GPGME_CONF_KEY_FPR :: Num a => a Source
c'GPGME_CONF_PUB_KEY :: Num a => a Source
c'GPGME_CONF_SEC_KEY :: Num a => a Source
c'GPGME_CONF_ALIAS_LIST :: Num a => a Source
c'GPGME_CONF_GROUP :: Num a => a Source
c'GPGME_CONF_OPTIONAL :: Num a => a Source
c'GPGME_CONF_LIST :: Num a => a Source
c'GPGME_CONF_RUNTIME :: Num a => a Source
c'GPGME_CONF_DEFAULT :: Num a => a Source
c'GPGME_CONF_DEFAULT_DESC :: Num a => a Source
c'GPGME_CONF_NO_ARG_DESC :: Num a => a Source
c'GPGME_CONF_NO_CHANGE :: Num a => a Source
data C'gpgme_conf_opt Source
c'gpgme_conf_arg_new :: Ptr C'gpgme_conf_arg_t -> C'gpgme_conf_type_t -> Ptr () -> IO C'gpgme_error_t Source
c'gpgme_conf_opt_change :: C'gpgme_conf_opt_t -> CInt -> C'gpgme_conf_arg_t -> IO C'gpgme_error_t Source
p'gpgme_conf_arg_new :: FunPtr (Ptr C'gpgme_conf_arg_t -> C'gpgme_conf_type_t -> Ptr () -> IO C'gpgme_error_t) Source
c'gpgme_conf_release :: C'gpgme_conf_comp_t -> IO () Source
p'gpgme_conf_arg_release :: FunPtr (C'gpgme_conf_arg_t -> C'gpgme_conf_type_t -> IO ()) Source
p'gpgme_conf_opt_change :: FunPtr (C'gpgme_conf_opt_t -> CInt -> C'gpgme_conf_arg_t -> IO C'gpgme_error_t) Source
p'gpgme_conf_release :: FunPtr (C'gpgme_conf_comp_t -> IO ()) Source
p'gpgme_op_conf_load :: FunPtr (C'gpgme_ctx_t -> Ptr C'gpgme_conf_comp_t -> IO C'gpgme_error_t) Source
Engine information
p'gpgme_set_engine_info :: FunPtr (C'gpgme_protocol_t -> CString -> CString -> IO C'gpgme_error_t) Source
Pinentry modes
type C'gpgme_pinentry_mode_t = CUInt Source
c'GPGME_PINENTRY_MODE_DEFAULT :: Num a => a Source
c'GPGME_PINENTRY_MODE_ASK :: Num a => a Source
c'GPGME_PINENTRY_MODE_CANCEL :: Num a => a Source
c'GPGME_PINENTRY_MODE_ERROR :: Num a => a Source
c'GPGME_PINENTRY_MODE_LOOPBACK :: Num a => a Source
p'gpgme_set_pinentry_mode :: FunPtr (C'gpgme_ctx_t -> C'gpgme_pinentry_mode_t -> IO C'gpgme_error_t) Source
I/O wrappers
p'gpgme_conf_opt'user_data :: Ptr C'gpgme_conf_opt -> Ptr (Ptr ()) Source