GnuTLS.ErrorCode – gnutls Reference Manual
ErrorCode
Description:
[
CCode
( cname =
"int"
, cprefix =
"GNUTLS_E_"
, has_type_id =
false
, lower_case_cprefix =
"gnutls_error_"
) ]
public
enum
ErrorCode
Gnutls error codes. The mapping to a TLS alert is also shown in comments.
Namespace:
GnuTLS
Package:
gnutls
Content:
Enum values:
AGAIN
APPLICATION_ERROR_MAX
APPLICATION_ERROR_MIN
ASN1_DER_ERROR
ASN1_DER_OVERFLOW
ASN1_ELEMENT_NOT_FOUND
ASN1_GENERIC_ERROR
ASN1_IDENTIFIER_NOT_FOUND
ASN1_SYNTAX_ERROR
ASN1_TAG_ERROR
ASN1_TAG_IMPLICIT
ASN1_TYPE_ANY_ERROR
ASN1_VALUE_NOT_FOUND
ASN1_VALUE_NOT_VALID
BASE64_DECODING_ERROR
BASE64_ENCODING_ERROR
BASE64_UNEXPECTED_HEADER_ERROR
CERTIFICATE_ERROR
CERTIFICATE_KEY_MISMATCH
COMPRESSION_FAILED
CONSTRAINT_ERROR
CRYPTO_ALREADY_REGISTERED
DB_ERROR
DECOMPRESSION_FAILED
DECRYPTION_FAILED
DH_PRIME_UNACCEPTABLE
ENCRYPTION_FAILED
ERROR_IN_FINISHED_PACKET
EXPIRED
FATAL_ALERT_RECEIVED
FILE_ERROR
GOT_APPLICATION_DATA
HANDSHAKE_TOO_LARGE
HASH_FAILED
IA_VERIFY_FAILED
ILLEGAL_SRP_USERNAME
INCOMPATIBLE_CRYPTO_LIBRARY
INCOMPATIBLE_LIBTASN1_LIBRARY
INIT_LIBEXTRA
INSUFFICIENT_CREDENTIALS
INTERNAL_ERROR
INTERRUPTED
INVALID_PASSWORD
INVALID_REQUEST
INVALID_SESSION
KEY_USAGE_VIOLATION
LARGE_PACKET
LIBRARY_VERSION_MISMATCH
LZO_INIT_FAILED
MAC_VERIFY_FAILED
MEMORY_ERROR
MPI_PRINT_FAILED
MPI_SCAN_FAILED
NO_CERTIFICATE_FOUND
NO_CIPHER_SUITES
NO_COMPRESSION_ALGORITHMS
NO_TEMPORARY_DH_PARAMS
NO_TEMPORARY_RSA_PARAMS
OPENPGP_FINGERPRINT_UNSUPPORTED
OPENPGP_GETKEY_FAILED
OPENPGP_KEYRING_ERROR
OPENPGP_SUBKEY_ERROR
OPENPGP_UID_REVOKED
PKCS1_WRONG_PAD
PK_DECRYPTION_FAILED
PK_ENCRYPTION_FAILED
PK_SIGN_FAILED
PK_SIG_VERIFY_FAILED
PULL_ERROR
PUSH_ERROR
RANDOM_FAILED
RECEIVED_ILLEGAL_EXTENSION
RECEIVED_ILLEGAL_PARAMETER
RECORD_LIMIT_REACHED
REHANDSHAKE
REQUESTED_DATA_NOT_AVAILABLE
SHORT_MEMORY_BUFFER
SRP_PWD_ERROR
SRP_PWD_PARSING_ERROR
SUCCESS
TOO_MANY_EMPTY_PACKETS
UNEXPECTED_HANDSHAKE_PACKET
UNEXPECTED_PACKET
UNEXPECTED_PACKET_LENGTH
UNIMPLEMENTED_FEATURE
UNKNOWN_ALGORITHM
UNKNOWN_CIPHER_SUITE
UNKNOWN_CIPHER_TYPE
UNKNOWN_COMPRESSION_ALGORITHM
UNKNOWN_HASH_ALGORITHM
UNKNOWN_PKCS_BAG_TYPE
UNKNOWN_PKCS_CONTENT_TYPE
UNKNOWN_PK_ALGORITHM
UNSUPPORTED_CERTIFICATE_TYPE
UNSUPPORTED_VERSION_PACKET
UNWANTED_ALGORITHM
WARNING_ALERT_RECEIVED
WARNING_IA_FPHF_RECEIVED
WARNING_IA_IPHF_RECEIVED
X509_UNKNOWN_SAN
X509_UNSUPPORTED_ATTRIBUTE
X509_UNSUPPORTED_CRITICAL_EXTENSION
X509_UNSUPPORTED_OID
Methods:
public
bool
is_fatal
()
public
void
print
()
public
AlertDescription
to_alert
(
out
AlertLevel
level)
public
unowned
string
to_string
()
2022 vala-language.org