Crypt/GPG.php
public function decryptAndVerify($encryptedData, $ignoreVerifyErrors = false)
    {
        return $this->_decryptAndVerify($encryptedData, false, null, $ignoreVerifyErrors);
    }
public function decryptAndVerify($encryptedData, $ignoreVerifyErrors = false)
    {
        return $this->_decryptAndVerify($encryptedData, false, null, $ignoreVerifyErrors);
    }
Decrypts and verifies string data

This method assumes the required private key is available in the keyring
and throws an exception if the private key is not available. To add a
private key to the keyring, use the {@link Crypt_GPG::importKey()} or
{@link Crypt_GPG::importKeyFile()} methods.

@param string  $encryptedData      the encrypted, signed data to be decrypted
and verified.
@param boolean $ignoreVerifyErrors enables ignoring of signature
verification errors caused by missing public key
When enabled Crypt_GPG_KeyNotFoundException
will not be thrown.

@return array two element array. The array has an element 'data'
containing the decrypted data and an element
'signatures' containing an array of
{@link Crypt_GPG_Signature} objects for the signed data.

@throws Crypt_GPG_KeyNotFoundException if the private key needed to
decrypt the data or the public key to verify the signature
is not in the user's keyring.

@throws Crypt_GPG_NoDataException if specified data does not contain
GPG encrypted data.

@throws Crypt_GPG_BadPassphraseException if a required passphrase is
incorrect or if a required passphrase is not specified. See
{@link Crypt_GPG::addDecryptKey()}.

@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.
Use the <kbd>debug</kbd> option and file a bug report if these
exceptions occur.