manpagez: man pages & more
info gnutls
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Appendix B Error Codes and Descriptions

The error codes used throughout the library are described below. The return code GNUTLS_E_SUCCESS indicate successful operation, and is guaranteed to have the value 0, so you can use it in logical expressions.

0GNUTLS_E_SUCCESSSuccess.
-3GNUTLS_E_UNKNOWN_COMPRESSION_ALGORITHMCould not negotiate a supported compression method.
-6GNUTLS_E_UNKNOWN_CIPHER_TYPEThe cipher type is unsupported.
-7GNUTLS_E_LARGE_PACKETA large TLS record packet was received.
-8GNUTLS_E_UNSUPPORTED_VERSION_PACKETA record packet with illegal version was received.
-9GNUTLS_E_UNEXPECTED_PACKET_LENGTHA TLS packet with unexpected length was received.
-10GNUTLS_E_INVALID_SESSIONThe specified session has been invalidated for some reason.
-12GNUTLS_E_FATAL_ALERT_RECEIVEDA TLS fatal alert has been received.
-15GNUTLS_E_UNEXPECTED_PACKETAn unexpected TLS packet was received.
-16GNUTLS_E_WARNING_ALERT_RECEIVEDA TLS warning alert has been received.
-18GNUTLS_E_ERROR_IN_FINISHED_PACKETAn error was encountered at the TLS Finished packet calculation.
-19GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKETAn unexpected TLS handshake packet was received.
-21GNUTLS_E_UNKNOWN_CIPHER_SUITECould not negotiate a supported cipher suite.
-22GNUTLS_E_UNWANTED_ALGORITHMAn algorithm that is not enabled was negotiated.
-23GNUTLS_E_MPI_SCAN_FAILEDThe scanning of a large integer has failed.
-24GNUTLS_E_DECRYPTION_FAILEDDecryption has failed.
-25GNUTLS_E_MEMORY_ERRORInternal error in memory allocation.
-26GNUTLS_E_DECOMPRESSION_FAILEDDecompression of the TLS record packet has failed.
-27GNUTLS_E_COMPRESSION_FAILEDCompression of the TLS record packet has failed.
-28GNUTLS_E_AGAINResource temporarily unavailable, try again.
-29GNUTLS_E_EXPIREDThe requested session has expired.
-30GNUTLS_E_DB_ERRORError in Database backend.
-31GNUTLS_E_SRP_PWD_ERRORError in password file.
-32GNUTLS_E_INSUFFICIENT_CREDENTIALSInsufficient credentials for that request.
-33GNUTLS_E_HASH_FAILEDHashing has failed.
-34GNUTLS_E_BASE64_DECODING_ERRORBase64 decoding error.
-35GNUTLS_E_MPI_PRINT_FAILEDCould not export a large integer.
-37GNUTLS_E_REHANDSHAKERehandshake was requested by the peer.
-38GNUTLS_E_GOT_APPLICATION_DATATLS Application data were received, while expecting handshake data.
-39GNUTLS_E_RECORD_LIMIT_REACHEDThe upper limit of record packet sequence numbers has been reached. Wow!
-40GNUTLS_E_ENCRYPTION_FAILEDEncryption has failed.
-43GNUTLS_E_CERTIFICATE_ERRORError in the certificate.
-44GNUTLS_E_PK_ENCRYPTION_FAILEDPublic key encryption has failed.
-45GNUTLS_E_PK_DECRYPTION_FAILEDPublic key decryption has failed.
-46GNUTLS_E_PK_SIGN_FAILEDPublic key signing has failed.
-47GNUTLS_E_X509_UNSUPPORTED_CRITICAL_EXTENSIONUnsupported critical extension in X.509 certificate.
-48GNUTLS_E_KEY_USAGE_VIOLATIONKey usage violation in certificate has been detected.
-49GNUTLS_E_NO_CERTIFICATE_FOUNDNo certificate was found.
-50GNUTLS_E_INVALID_REQUESTThe request is invalid.
-51GNUTLS_E_SHORT_MEMORY_BUFFERThe given memory buffer is too short to hold parameters.
-52GNUTLS_E_INTERRUPTEDFunction was interrupted.
-53GNUTLS_E_PUSH_ERRORError in the push function.
-54GNUTLS_E_PULL_ERRORError in the pull function.
-55GNUTLS_E_RECEIVED_ILLEGAL_PARAMETERAn illegal parameter has been received.
-56GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLEThe requested data were not available.
-57GNUTLS_E_PKCS1_WRONG_PADWrong padding in PKCS1 packet.
-58GNUTLS_E_RECEIVED_ILLEGAL_EXTENSIONAn illegal TLS extension was received.
-59GNUTLS_E_INTERNAL_ERRORGnuTLS internal error.
-60GNUTLS_E_CERTIFICATE_KEY_MISMATCHThe certificate and the given key do not match.
-61GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPEThe certificate type is not supported.
-62GNUTLS_E_X509_UNKNOWN_SANUnknown Subject Alternative name in X.509 certificate.
-63GNUTLS_E_DH_PRIME_UNACCEPTABLEThe Diffie-Hellman prime sent by the server is not acceptable (not long enough).
-64GNUTLS_E_FILE_ERRORError while reading file.
-67GNUTLS_E_ASN1_ELEMENT_NOT_FOUNDASN1 parser: Element was not found.
-68GNUTLS_E_ASN1_IDENTIFIER_NOT_FOUNDASN1 parser: Identifier was not found
-69GNUTLS_E_ASN1_DER_ERRORASN1 parser: Error in DER parsing.
-70GNUTLS_E_ASN1_VALUE_NOT_FOUNDASN1 parser: Value was not found.
-71GNUTLS_E_ASN1_GENERIC_ERRORASN1 parser: Generic parsing error.
-72GNUTLS_E_ASN1_VALUE_NOT_VALIDASN1 parser: Value is not valid.
-73GNUTLS_E_ASN1_TAG_ERRORASN1 parser: Error in TAG.
-74GNUTLS_E_ASN1_TAG_IMPLICITASN1 parser: error in implicit tag
-75GNUTLS_E_ASN1_TYPE_ANY_ERRORASN1 parser: Error in type ’ANY’.
-76GNUTLS_E_ASN1_SYNTAX_ERRORASN1 parser: Syntax error.
-77GNUTLS_E_ASN1_DER_OVERFLOWASN1 parser: Overflow in DER parsing.
-78GNUTLS_E_TOO_MANY_EMPTY_PACKETSToo many empty record packets have been received.
-79GNUTLS_E_OPENPGP_UID_REVOKEDThe OpenPGP User ID is revoked.
-80GNUTLS_E_UNKNOWN_PK_ALGORITHMAn unknown public key algorithm was encountered.
-81GNUTLS_E_TOO_MANY_HANDSHAKE_PACKETSToo many handshake packets have been received.
-84GNUTLS_E_NO_TEMPORARY_RSA_PARAMSNo temporary RSA parameters were found.
-86GNUTLS_E_NO_COMPRESSION_ALGORITHMSNo supported compression algorithms have been found.
-87GNUTLS_E_NO_CIPHER_SUITESNo supported cipher suites have been found.
-88GNUTLS_E_OPENPGP_GETKEY_FAILEDCould not get OpenPGP key.
-89GNUTLS_E_PK_SIG_VERIFY_FAILEDPublic key signature verification has failed.
-90GNUTLS_E_ILLEGAL_SRP_USERNAMEThe SRP username supplied is illegal.
-91GNUTLS_E_SRP_PWD_PARSING_ERRORParsing error in password file.
-93GNUTLS_E_NO_TEMPORARY_DH_PARAMSNo temporary DH parameters were found.
-94GNUTLS_E_OPENPGP_FINGERPRINT_UNSUPPORTEDThe OpenPGP fingerprint is not supported.
-95GNUTLS_E_X509_UNSUPPORTED_ATTRIBUTEThe certificate has unsupported attributes.
-96GNUTLS_E_UNKNOWN_HASH_ALGORITHMThe hash algorithm is unknown.
-97GNUTLS_E_UNKNOWN_PKCS_CONTENT_TYPEThe PKCS structure’s content type is unknown.
-98GNUTLS_E_UNKNOWN_PKCS_BAG_TYPEThe PKCS structure’s bag type is unknown.
-99GNUTLS_E_INVALID_PASSWORDThe given password contains invalid characters.
-100GNUTLS_E_MAC_VERIFY_FAILEDThe Message Authentication Code verification failed.
-101GNUTLS_E_CONSTRAINT_ERRORSome constraint limits were reached.
-102GNUTLS_E_WARNING_IA_IPHF_RECEIVEDReceived a TLS/IA Intermediate Phase Finished message
-103GNUTLS_E_WARNING_IA_FPHF_RECEIVEDReceived a TLS/IA Final Phase Finished message
-104GNUTLS_E_IA_VERIFY_FAILEDVerifying TLS/IA phase checksum failed
-105GNUTLS_E_UNKNOWN_ALGORITHMThe specified algorithm or protocol is unknown.
-106GNUTLS_E_UNSUPPORTED_SIGNATURE_ALGORITHMThe signature algorithm is not supported.
-107GNUTLS_E_SAFE_RENEGOTIATION_FAILEDSafe renegotiation failed.
-108GNUTLS_E_UNSAFE_RENEGOTIATION_DENIEDUnsafe renegotiation denied.
-109GNUTLS_E_UNKNOWN_SRP_USERNAMEThe SRP username supplied is unknown.
-110GNUTLS_E_PREMATURE_TERMINATIONThe TLS connection was non-properly terminated.
-201GNUTLS_E_BASE64_ENCODING_ERRORBase64 encoding error.
-202GNUTLS_E_INCOMPATIBLE_GCRYPT_LIBRARYThe crypto library version is too old.
-203GNUTLS_E_INCOMPATIBLE_LIBTASN1_LIBRARYThe tasn1 library version is too old.
-204GNUTLS_E_OPENPGP_KEYRING_ERRORError loading the keyring.
-205GNUTLS_E_X509_UNSUPPORTED_OIDThe OID is not supported.
-206GNUTLS_E_RANDOM_FAILEDFailed to acquire random data.
-207GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERRORBase64 unexpected header error.
-208GNUTLS_E_OPENPGP_SUBKEY_ERRORCould not find OpenPGP subkey.
-209GNUTLS_E_CRYPTO_ALREADY_REGISTEREDThere is already a crypto algorithm with lower priority.
-210GNUTLS_E_HANDSHAKE_TOO_LARGEThe handshake data size is too large.
-211GNUTLS_E_CRYPTODEV_IOCTL_ERRORError interfacing with /dev/crypto
-212GNUTLS_E_CRYPTODEV_DEVICE_ERRORError opening /dev/crypto
-213GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLEChannel binding data not available
-214GNUTLS_E_BAD_COOKIEThe cookie was bad.
-215GNUTLS_E_OPENPGP_PREFERRED_KEY_ERRORThe OpenPGP key has not a preferred key set.
-216GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOLThe given DSA key is incompatible with the selected TLS protocol.
-300GNUTLS_E_PKCS11_ERRORPKCS #11 error.
-301GNUTLS_E_PKCS11_LOAD_ERRORPKCS #11 initialization error.
-302GNUTLS_E_PARSING_ERRORError in parsing.
-303GNUTLS_E_PKCS11_PIN_ERRORPKCS #11 error in PIN.
-305GNUTLS_E_PKCS11_SLOT_ERRORPKCS #11 error in slot
-306GNUTLS_E_LOCKING_ERRORThread locking error
-307GNUTLS_E_PKCS11_ATTRIBUTE_ERRORPKCS #11 error in attribute
-308GNUTLS_E_PKCS11_DEVICE_ERRORPKCS #11 error in device
-309GNUTLS_E_PKCS11_DATA_ERRORPKCS #11 error in data
-310GNUTLS_E_PKCS11_UNSUPPORTED_FEATURE_ERRORPKCS #11 unsupported feature
-311GNUTLS_E_PKCS11_KEY_ERRORPKCS #11 error in key
-312GNUTLS_E_PKCS11_PIN_EXPIREDPKCS #11 PIN expired
-313GNUTLS_E_PKCS11_PIN_LOCKEDPKCS #11 PIN locked
-314GNUTLS_E_PKCS11_SESSION_ERRORPKCS #11 error in session
-315GNUTLS_E_PKCS11_SIGNATURE_ERRORPKCS #11 error in signature
-316GNUTLS_E_PKCS11_TOKEN_ERRORPKCS #11 error in token
-317GNUTLS_E_PKCS11_USER_ERRORPKCS #11 user error
-318GNUTLS_E_CRYPTO_INIT_FAILEDThe initialization of crypto backend has failed.
-319GNUTLS_E_TIMEDOUTThe operation timed out
-320GNUTLS_E_USER_ERRORThe operation was cancelled due to user error
-321GNUTLS_E_ECC_NO_SUPPORTED_CURVESNo supported ECC curves were found
-322GNUTLS_E_ECC_UNSUPPORTED_CURVEThe curve is unsupported
-323GNUTLS_E_PKCS11_REQUESTED_OBJECT_NOT_AVAILBLEThe requested PKCS #11 object is not available
-324GNUTLS_E_CERTIFICATE_LIST_UNSORTEDThe provided X.509 certificate list is not sorted (in subject to issuer order)
-325GNUTLS_E_ILLEGAL_PARAMETERAn illegal parameter was found.
-326GNUTLS_E_NO_PRIORITIES_WERE_SETNo or insufficient priorities were set.
-327GNUTLS_E_X509_UNSUPPORTED_EXTENSIONUnsupported extension in X.509 certificate.
-328GNUTLS_E_SESSION_EOFPeer has terminated the connection

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on March 23, 2012 using texi2html 5.0.