Copyright (C) 2000-2012 |
GNU Info (gpgme.info)DecryptDecrypt ------- - Function: GpgmeError gpgme_op_decrypt (GpgmeCtx CTX, GpgmeData CIPHER, GpgmeData PLAIN) The function `gpgme_op_decrypt' decrypts the ciphertext in the data object CIPHER and stores it into the data object PLAIN. The function returns `GPGME_No_Error' if the ciphertext could be decrypted successfully, `GPGME_Invalid_Value' if CTX, CIPHER or PLAIN is not a valid pointer, `GPGME_No_Data' if CIPHER does not contain any data to decrypt, `GPGME_Decryption_Failed' if CIPHER is not a valid cipher text, `GPGME_No_Passphrase' if the passphrase for the secret key could not be retrieved, and passes through any errors that are reported by the crypto engine support routines. - Function: GpgmeError gpgme_op_decrypt_start (GpgmeCtx CTX, GpgmeData CIPHER, GpgmeData PLAIN) The function `gpgme_op_decrypt_start' initiates a `gpgme_op_decrypt' operation. It can be completed by calling `gpgme_wait' on the context. Note: Waiting For Completion. The function returns `GPGME_No_Error' if the operation could be started successfully, and `GPGME_Invalid_Value' if CIPHER or PLAIN is not a valid pointer. automatically generated by info2www version 1.2.2.9 |