Back to index

lightning-sunbird  0.9+nobinonly
Defines | Enumerations
sslerr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SSL_ERROR_BASE   (-0x3000)
#define SSL_ERROR_LIMIT   (SSL_ERROR_BASE + 1000)
#define IS_SSL_ERROR(code)   (((code) >= SSL_ERROR_BASE) && ((code) < SSL_ERROR_LIMIT))

Enumerations

enum  SSLErrorCodes {
  SSL_ERROR_EXPORT_ONLY_SERVER = (SSL_ERROR_BASE + 0), SSL_ERROR_US_ONLY_SERVER = (SSL_ERROR_BASE + 1), SSL_ERROR_NO_CYPHER_OVERLAP = (SSL_ERROR_BASE + 2), SSL_ERROR_NO_CERTIFICATE = (SSL_ERROR_BASE + 3),
  SSL_ERROR_BAD_CERTIFICATE = (SSL_ERROR_BASE + 4), SSL_ERROR_BAD_CLIENT = (SSL_ERROR_BASE + 6), SSL_ERROR_BAD_SERVER = (SSL_ERROR_BASE + 7), SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE = (SSL_ERROR_BASE + 8),
  SSL_ERROR_UNSUPPORTED_VERSION = (SSL_ERROR_BASE + 9), SSL_ERROR_WRONG_CERTIFICATE = (SSL_ERROR_BASE + 11), SSL_ERROR_BAD_CERT_DOMAIN = (SSL_ERROR_BASE + 12), SSL_ERROR_POST_WARNING = (SSL_ERROR_BASE + 13),
  SSL_ERROR_SSL2_DISABLED = (SSL_ERROR_BASE + 14), SSL_ERROR_BAD_MAC_READ = (SSL_ERROR_BASE + 15), SSL_ERROR_BAD_MAC_ALERT = (SSL_ERROR_BASE + 16), SSL_ERROR_BAD_CERT_ALERT = (SSL_ERROR_BASE + 17),
  SSL_ERROR_REVOKED_CERT_ALERT = (SSL_ERROR_BASE + 18), SSL_ERROR_EXPIRED_CERT_ALERT = (SSL_ERROR_BASE + 19), SSL_ERROR_SSL_DISABLED = (SSL_ERROR_BASE + 20), SSL_ERROR_FORTEZZA_PQG = (SSL_ERROR_BASE + 21),
  SSL_ERROR_UNKNOWN_CIPHER_SUITE = (SSL_ERROR_BASE + 22), SSL_ERROR_NO_CIPHERS_SUPPORTED = (SSL_ERROR_BASE + 23), SSL_ERROR_BAD_BLOCK_PADDING = (SSL_ERROR_BASE + 24), SSL_ERROR_RX_RECORD_TOO_LONG = (SSL_ERROR_BASE + 25),
  SSL_ERROR_TX_RECORD_TOO_LONG = (SSL_ERROR_BASE + 26), SSL_ERROR_RX_MALFORMED_HELLO_REQUEST = (SSL_ERROR_BASE + 27), SSL_ERROR_RX_MALFORMED_CLIENT_HELLO = (SSL_ERROR_BASE + 28), SSL_ERROR_RX_MALFORMED_SERVER_HELLO = (SSL_ERROR_BASE + 29),
  SSL_ERROR_RX_MALFORMED_CERTIFICATE = (SSL_ERROR_BASE + 30), SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH = (SSL_ERROR_BASE + 31), SSL_ERROR_RX_MALFORMED_CERT_REQUEST = (SSL_ERROR_BASE + 32), SSL_ERROR_RX_MALFORMED_HELLO_DONE = (SSL_ERROR_BASE + 33),
  SSL_ERROR_RX_MALFORMED_CERT_VERIFY = (SSL_ERROR_BASE + 34), SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH = (SSL_ERROR_BASE + 35), SSL_ERROR_RX_MALFORMED_FINISHED = (SSL_ERROR_BASE + 36), SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER = (SSL_ERROR_BASE + 37),
  SSL_ERROR_RX_MALFORMED_ALERT = (SSL_ERROR_BASE + 38), SSL_ERROR_RX_MALFORMED_HANDSHAKE = (SSL_ERROR_BASE + 39), SSL_ERROR_RX_MALFORMED_APPLICATION_DATA = (SSL_ERROR_BASE + 40), SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST = (SSL_ERROR_BASE + 41),
  SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO = (SSL_ERROR_BASE + 42), SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO = (SSL_ERROR_BASE + 43), SSL_ERROR_RX_UNEXPECTED_CERTIFICATE = (SSL_ERROR_BASE + 44), SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH = (SSL_ERROR_BASE + 45),
  SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST = (SSL_ERROR_BASE + 46), SSL_ERROR_RX_UNEXPECTED_HELLO_DONE = (SSL_ERROR_BASE + 47), SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY = (SSL_ERROR_BASE + 48), SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH = (SSL_ERROR_BASE + 49),
  SSL_ERROR_RX_UNEXPECTED_FINISHED = (SSL_ERROR_BASE + 50), SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER = (SSL_ERROR_BASE + 51), SSL_ERROR_RX_UNEXPECTED_ALERT = (SSL_ERROR_BASE + 52), SSL_ERROR_RX_UNEXPECTED_HANDSHAKE = (SSL_ERROR_BASE + 53),
  SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA = (SSL_ERROR_BASE + 54), SSL_ERROR_RX_UNKNOWN_RECORD_TYPE = (SSL_ERROR_BASE + 55), SSL_ERROR_RX_UNKNOWN_HANDSHAKE = (SSL_ERROR_BASE + 56), SSL_ERROR_RX_UNKNOWN_ALERT = (SSL_ERROR_BASE + 57),
  SSL_ERROR_CLOSE_NOTIFY_ALERT = (SSL_ERROR_BASE + 58), SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT = (SSL_ERROR_BASE + 59), SSL_ERROR_DECOMPRESSION_FAILURE_ALERT = (SSL_ERROR_BASE + 60), SSL_ERROR_HANDSHAKE_FAILURE_ALERT = (SSL_ERROR_BASE + 61),
  SSL_ERROR_ILLEGAL_PARAMETER_ALERT = (SSL_ERROR_BASE + 62), SSL_ERROR_UNSUPPORTED_CERT_ALERT = (SSL_ERROR_BASE + 63), SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT = (SSL_ERROR_BASE + 64), SSL_ERROR_GENERATE_RANDOM_FAILURE = (SSL_ERROR_BASE + 65),
  SSL_ERROR_SIGN_HASHES_FAILURE = (SSL_ERROR_BASE + 66), SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE = (SSL_ERROR_BASE + 67), SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 68), SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 69),
  SSL_ERROR_ENCRYPTION_FAILURE = (SSL_ERROR_BASE + 70), SSL_ERROR_DECRYPTION_FAILURE = (SSL_ERROR_BASE + 71), SSL_ERROR_SOCKET_WRITE_FAILURE = (SSL_ERROR_BASE + 72), SSL_ERROR_MD5_DIGEST_FAILURE = (SSL_ERROR_BASE + 73),
  SSL_ERROR_SHA_DIGEST_FAILURE = (SSL_ERROR_BASE + 74), SSL_ERROR_MAC_COMPUTATION_FAILURE = (SSL_ERROR_BASE + 75), SSL_ERROR_SYM_KEY_CONTEXT_FAILURE = (SSL_ERROR_BASE + 76), SSL_ERROR_SYM_KEY_UNWRAP_FAILURE = (SSL_ERROR_BASE + 77),
  SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED = (SSL_ERROR_BASE + 78), SSL_ERROR_IV_PARAM_FAILURE = (SSL_ERROR_BASE + 79), SSL_ERROR_INIT_CIPHER_SUITE_FAILURE = (SSL_ERROR_BASE + 80), SSL_ERROR_SESSION_KEY_GEN_FAILURE = (SSL_ERROR_BASE + 81),
  SSL_ERROR_NO_SERVER_KEY_FOR_ALG = (SSL_ERROR_BASE + 82), SSL_ERROR_TOKEN_INSERTION_REMOVAL = (SSL_ERROR_BASE + 83), SSL_ERROR_TOKEN_SLOT_NOT_FOUND = (SSL_ERROR_BASE + 84), SSL_ERROR_NO_COMPRESSION_OVERLAP = (SSL_ERROR_BASE + 85),
  SSL_ERROR_HANDSHAKE_NOT_COMPLETED = (SSL_ERROR_BASE + 86), SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE = (SSL_ERROR_BASE + 87), SSL_ERROR_CERT_KEA_MISMATCH = (SSL_ERROR_BASE + 88), SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA = (SSL_ERROR_BASE + 89),
  SSL_ERROR_SESSION_NOT_FOUND = (SSL_ERROR_BASE + 90), SSL_ERROR_DECRYPTION_FAILED_ALERT = (SSL_ERROR_BASE + 91), SSL_ERROR_RECORD_OVERFLOW_ALERT = (SSL_ERROR_BASE + 92), SSL_ERROR_UNKNOWN_CA_ALERT = (SSL_ERROR_BASE + 93),
  SSL_ERROR_ACCESS_DENIED_ALERT = (SSL_ERROR_BASE + 94), SSL_ERROR_DECODE_ERROR_ALERT = (SSL_ERROR_BASE + 95), SSL_ERROR_DECRYPT_ERROR_ALERT = (SSL_ERROR_BASE + 96), SSL_ERROR_EXPORT_RESTRICTION_ALERT = (SSL_ERROR_BASE + 97),
  SSL_ERROR_PROTOCOL_VERSION_ALERT = (SSL_ERROR_BASE + 98), SSL_ERROR_INSUFFICIENT_SECURITY_ALERT = (SSL_ERROR_BASE + 99), SSL_ERROR_INTERNAL_ERROR_ALERT = (SSL_ERROR_BASE + 100), SSL_ERROR_USER_CANCELED_ALERT = (SSL_ERROR_BASE + 101),
  SSL_ERROR_NO_RENEGOTIATION_ALERT = (SSL_ERROR_BASE + 102), SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED = (SSL_ERROR_BASE + 103), SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT = (SSL_ERROR_BASE + 104), SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT = (SSL_ERROR_BASE + 105),
  SSL_ERROR_UNRECOGNIZED_NAME_ALERT = (SSL_ERROR_BASE + 106), SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT = (SSL_ERROR_BASE + 107), SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT = (SSL_ERROR_BASE + 108), SSL_ERROR_END_OF_LIST,
  SSL_ERROR_EXPORT_ONLY_SERVER = (SSL_ERROR_BASE + 0), SSL_ERROR_US_ONLY_SERVER = (SSL_ERROR_BASE + 1), SSL_ERROR_NO_CYPHER_OVERLAP = (SSL_ERROR_BASE + 2), SSL_ERROR_NO_CERTIFICATE = (SSL_ERROR_BASE + 3),
  SSL_ERROR_BAD_CERTIFICATE = (SSL_ERROR_BASE + 4), SSL_ERROR_BAD_CLIENT = (SSL_ERROR_BASE + 6), SSL_ERROR_BAD_SERVER = (SSL_ERROR_BASE + 7), SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE = (SSL_ERROR_BASE + 8),
  SSL_ERROR_UNSUPPORTED_VERSION = (SSL_ERROR_BASE + 9), SSL_ERROR_WRONG_CERTIFICATE = (SSL_ERROR_BASE + 11), SSL_ERROR_BAD_CERT_DOMAIN = (SSL_ERROR_BASE + 12), SSL_ERROR_POST_WARNING = (SSL_ERROR_BASE + 13),
  SSL_ERROR_SSL2_DISABLED = (SSL_ERROR_BASE + 14), SSL_ERROR_BAD_MAC_READ = (SSL_ERROR_BASE + 15), SSL_ERROR_BAD_MAC_ALERT = (SSL_ERROR_BASE + 16), SSL_ERROR_BAD_CERT_ALERT = (SSL_ERROR_BASE + 17),
  SSL_ERROR_REVOKED_CERT_ALERT = (SSL_ERROR_BASE + 18), SSL_ERROR_EXPIRED_CERT_ALERT = (SSL_ERROR_BASE + 19), SSL_ERROR_SSL_DISABLED = (SSL_ERROR_BASE + 20), SSL_ERROR_FORTEZZA_PQG = (SSL_ERROR_BASE + 21),
  SSL_ERROR_UNKNOWN_CIPHER_SUITE = (SSL_ERROR_BASE + 22), SSL_ERROR_NO_CIPHERS_SUPPORTED = (SSL_ERROR_BASE + 23), SSL_ERROR_BAD_BLOCK_PADDING = (SSL_ERROR_BASE + 24), SSL_ERROR_RX_RECORD_TOO_LONG = (SSL_ERROR_BASE + 25),
  SSL_ERROR_TX_RECORD_TOO_LONG = (SSL_ERROR_BASE + 26), SSL_ERROR_RX_MALFORMED_HELLO_REQUEST = (SSL_ERROR_BASE + 27), SSL_ERROR_RX_MALFORMED_CLIENT_HELLO = (SSL_ERROR_BASE + 28), SSL_ERROR_RX_MALFORMED_SERVER_HELLO = (SSL_ERROR_BASE + 29),
  SSL_ERROR_RX_MALFORMED_CERTIFICATE = (SSL_ERROR_BASE + 30), SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH = (SSL_ERROR_BASE + 31), SSL_ERROR_RX_MALFORMED_CERT_REQUEST = (SSL_ERROR_BASE + 32), SSL_ERROR_RX_MALFORMED_HELLO_DONE = (SSL_ERROR_BASE + 33),
  SSL_ERROR_RX_MALFORMED_CERT_VERIFY = (SSL_ERROR_BASE + 34), SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH = (SSL_ERROR_BASE + 35), SSL_ERROR_RX_MALFORMED_FINISHED = (SSL_ERROR_BASE + 36), SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER = (SSL_ERROR_BASE + 37),
  SSL_ERROR_RX_MALFORMED_ALERT = (SSL_ERROR_BASE + 38), SSL_ERROR_RX_MALFORMED_HANDSHAKE = (SSL_ERROR_BASE + 39), SSL_ERROR_RX_MALFORMED_APPLICATION_DATA = (SSL_ERROR_BASE + 40), SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST = (SSL_ERROR_BASE + 41),
  SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO = (SSL_ERROR_BASE + 42), SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO = (SSL_ERROR_BASE + 43), SSL_ERROR_RX_UNEXPECTED_CERTIFICATE = (SSL_ERROR_BASE + 44), SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH = (SSL_ERROR_BASE + 45),
  SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST = (SSL_ERROR_BASE + 46), SSL_ERROR_RX_UNEXPECTED_HELLO_DONE = (SSL_ERROR_BASE + 47), SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY = (SSL_ERROR_BASE + 48), SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH = (SSL_ERROR_BASE + 49),
  SSL_ERROR_RX_UNEXPECTED_FINISHED = (SSL_ERROR_BASE + 50), SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER = (SSL_ERROR_BASE + 51), SSL_ERROR_RX_UNEXPECTED_ALERT = (SSL_ERROR_BASE + 52), SSL_ERROR_RX_UNEXPECTED_HANDSHAKE = (SSL_ERROR_BASE + 53),
  SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA = (SSL_ERROR_BASE + 54), SSL_ERROR_RX_UNKNOWN_RECORD_TYPE = (SSL_ERROR_BASE + 55), SSL_ERROR_RX_UNKNOWN_HANDSHAKE = (SSL_ERROR_BASE + 56), SSL_ERROR_RX_UNKNOWN_ALERT = (SSL_ERROR_BASE + 57),
  SSL_ERROR_CLOSE_NOTIFY_ALERT = (SSL_ERROR_BASE + 58), SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT = (SSL_ERROR_BASE + 59), SSL_ERROR_DECOMPRESSION_FAILURE_ALERT = (SSL_ERROR_BASE + 60), SSL_ERROR_HANDSHAKE_FAILURE_ALERT = (SSL_ERROR_BASE + 61),
  SSL_ERROR_ILLEGAL_PARAMETER_ALERT = (SSL_ERROR_BASE + 62), SSL_ERROR_UNSUPPORTED_CERT_ALERT = (SSL_ERROR_BASE + 63), SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT = (SSL_ERROR_BASE + 64), SSL_ERROR_GENERATE_RANDOM_FAILURE = (SSL_ERROR_BASE + 65),
  SSL_ERROR_SIGN_HASHES_FAILURE = (SSL_ERROR_BASE + 66), SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE = (SSL_ERROR_BASE + 67), SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 68), SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 69),
  SSL_ERROR_ENCRYPTION_FAILURE = (SSL_ERROR_BASE + 70), SSL_ERROR_DECRYPTION_FAILURE = (SSL_ERROR_BASE + 71), SSL_ERROR_SOCKET_WRITE_FAILURE = (SSL_ERROR_BASE + 72), SSL_ERROR_MD5_DIGEST_FAILURE = (SSL_ERROR_BASE + 73),
  SSL_ERROR_SHA_DIGEST_FAILURE = (SSL_ERROR_BASE + 74), SSL_ERROR_MAC_COMPUTATION_FAILURE = (SSL_ERROR_BASE + 75), SSL_ERROR_SYM_KEY_CONTEXT_FAILURE = (SSL_ERROR_BASE + 76), SSL_ERROR_SYM_KEY_UNWRAP_FAILURE = (SSL_ERROR_BASE + 77),
  SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED = (SSL_ERROR_BASE + 78), SSL_ERROR_IV_PARAM_FAILURE = (SSL_ERROR_BASE + 79), SSL_ERROR_INIT_CIPHER_SUITE_FAILURE = (SSL_ERROR_BASE + 80), SSL_ERROR_SESSION_KEY_GEN_FAILURE = (SSL_ERROR_BASE + 81),
  SSL_ERROR_NO_SERVER_KEY_FOR_ALG = (SSL_ERROR_BASE + 82), SSL_ERROR_TOKEN_INSERTION_REMOVAL = (SSL_ERROR_BASE + 83), SSL_ERROR_TOKEN_SLOT_NOT_FOUND = (SSL_ERROR_BASE + 84), SSL_ERROR_NO_COMPRESSION_OVERLAP = (SSL_ERROR_BASE + 85),
  SSL_ERROR_HANDSHAKE_NOT_COMPLETED = (SSL_ERROR_BASE + 86), SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE = (SSL_ERROR_BASE + 87), SSL_ERROR_CERT_KEA_MISMATCH = (SSL_ERROR_BASE + 88), SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA = (SSL_ERROR_BASE + 89),
  SSL_ERROR_SESSION_NOT_FOUND = (SSL_ERROR_BASE + 90), SSL_ERROR_DECRYPTION_FAILED_ALERT = (SSL_ERROR_BASE + 91), SSL_ERROR_RECORD_OVERFLOW_ALERT = (SSL_ERROR_BASE + 92), SSL_ERROR_UNKNOWN_CA_ALERT = (SSL_ERROR_BASE + 93),
  SSL_ERROR_ACCESS_DENIED_ALERT = (SSL_ERROR_BASE + 94), SSL_ERROR_DECODE_ERROR_ALERT = (SSL_ERROR_BASE + 95), SSL_ERROR_DECRYPT_ERROR_ALERT = (SSL_ERROR_BASE + 96), SSL_ERROR_EXPORT_RESTRICTION_ALERT = (SSL_ERROR_BASE + 97),
  SSL_ERROR_PROTOCOL_VERSION_ALERT = (SSL_ERROR_BASE + 98), SSL_ERROR_INSUFFICIENT_SECURITY_ALERT = (SSL_ERROR_BASE + 99), SSL_ERROR_INTERNAL_ERROR_ALERT = (SSL_ERROR_BASE + 100), SSL_ERROR_USER_CANCELED_ALERT = (SSL_ERROR_BASE + 101),
  SSL_ERROR_NO_RENEGOTIATION_ALERT = (SSL_ERROR_BASE + 102), SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED = (SSL_ERROR_BASE + 103), SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT = (SSL_ERROR_BASE + 104), SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT = (SSL_ERROR_BASE + 105),
  SSL_ERROR_UNRECOGNIZED_NAME_ALERT = (SSL_ERROR_BASE + 106), SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT = (SSL_ERROR_BASE + 107), SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT = (SSL_ERROR_BASE + 108), SSL_ERROR_END_OF_LIST
}

Define Documentation

Definition at line 47 of file sslerr.h.

Unable to communicate securely Peer requires high grade encryption which is not supported Unable to find the certificate or key necessary for authentication The server has encountered bad data from the client Unsupported certificate type Client authentication Unable to communicate securely with Peer only supports SSL which is locally disabled SSL peer reports incorrect Message Authentication Code SSL peer rejected your certificate as revoked Cannot Cannot An unknown SSL cipher suite has been requested SSL received a record with bad block padding SSL attempted to send a record that exceeded the maximum permissible length SSL received a malformed Client Hello handshake message SSL received a malformed Certificate handshake message SSL received a malformed Certificate Request handshake message SSL received a malformed Certificate Verify handshake message SSL received a malformed Finished handshake message SSL received a malformed Alert record SSL received a malformed Application Data record SSL received an unexpected Client Hello handshake message SSL received an unexpected Certificate handshake message SSL received an unexpected Certificate Request handshake message SSL received an unexpected Certificate Verify handshake message SSL received an unexpected Finished handshake message SSL received an unexpected Alert record SSL received an unexpected Application Data record SSL received a handshake message with an unknown message type SSL peer has closed this connection SSL peer was unable to succesfully decompress an SSL record it received SSL peer rejected a handshake message for unacceptable content SSL peer had some unspecified issue with the certificate it received Unable to digitally sign data required to verify your certificate Unspecified failure while processing SSL Server Key Exchange handshake Bulk data encryption algorithm failed in selected cipher suite Attempt to write encrypted data to underlying socket failed SHA digest function failed Failure to create Symmetric Key context SSL Server attempted to use domestic grade public key with export cipher suite Failed to initialize the selected cipher suite Server has no key for the attempted key exchange algorithm No PKCS Cannot initiate another SSL handshake until current handshake is complete The certificate provided cannot be used with the selected key exchange algorithm Client s SSL session ID not found in server s session cache Peer received an SSL record that was longer than is permitted Peer received a valid but access was denied Peer reports failure of signature verification or key exchange Peer reports incompatible or unsupported protocol version Peer reports it experienced an internal error Peer does not permit renegotiation of SSL security parameters SSL peer does not support requested TLS hello extension SSL peer has no certificate for the requested DNS name SSL_ERROR_BASE   (-0x3000)

Definition at line 44 of file sslerr.h.

Definition at line 45 of file sslerr.h.


Enumeration Type Documentation

Enumerator:
SSL_ERROR_EXPORT_ONLY_SERVER 
SSL_ERROR_US_ONLY_SERVER 
SSL_ERROR_NO_CYPHER_OVERLAP 
SSL_ERROR_NO_CERTIFICATE 
SSL_ERROR_BAD_CERTIFICATE 
SSL_ERROR_BAD_CLIENT 
SSL_ERROR_BAD_SERVER 
SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE 
SSL_ERROR_UNSUPPORTED_VERSION 
SSL_ERROR_WRONG_CERTIFICATE 
SSL_ERROR_BAD_CERT_DOMAIN 
SSL_ERROR_POST_WARNING 
SSL_ERROR_SSL2_DISABLED 
SSL_ERROR_BAD_MAC_READ 
SSL_ERROR_BAD_MAC_ALERT 
SSL_ERROR_BAD_CERT_ALERT 
SSL_ERROR_REVOKED_CERT_ALERT 
SSL_ERROR_EXPIRED_CERT_ALERT 
SSL_ERROR_SSL_DISABLED 
SSL_ERROR_FORTEZZA_PQG 
SSL_ERROR_UNKNOWN_CIPHER_SUITE 
SSL_ERROR_NO_CIPHERS_SUPPORTED 
SSL_ERROR_BAD_BLOCK_PADDING 
SSL_ERROR_RX_RECORD_TOO_LONG 
SSL_ERROR_TX_RECORD_TOO_LONG 
SSL_ERROR_RX_MALFORMED_HELLO_REQUEST 
SSL_ERROR_RX_MALFORMED_CLIENT_HELLO 
SSL_ERROR_RX_MALFORMED_SERVER_HELLO 
SSL_ERROR_RX_MALFORMED_CERTIFICATE 
SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH 
SSL_ERROR_RX_MALFORMED_CERT_REQUEST 
SSL_ERROR_RX_MALFORMED_HELLO_DONE 
SSL_ERROR_RX_MALFORMED_CERT_VERIFY 
SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH 
SSL_ERROR_RX_MALFORMED_FINISHED 
SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER 
SSL_ERROR_RX_MALFORMED_ALERT 
SSL_ERROR_RX_MALFORMED_HANDSHAKE 
SSL_ERROR_RX_MALFORMED_APPLICATION_DATA 
SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST 
SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO 
SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO 
SSL_ERROR_RX_UNEXPECTED_CERTIFICATE 
SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH 
SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST 
SSL_ERROR_RX_UNEXPECTED_HELLO_DONE 
SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY 
SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH 
SSL_ERROR_RX_UNEXPECTED_FINISHED 
SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER 
SSL_ERROR_RX_UNEXPECTED_ALERT 
SSL_ERROR_RX_UNEXPECTED_HANDSHAKE 
SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA 
SSL_ERROR_RX_UNKNOWN_RECORD_TYPE 
SSL_ERROR_RX_UNKNOWN_HANDSHAKE 
SSL_ERROR_RX_UNKNOWN_ALERT 
SSL_ERROR_CLOSE_NOTIFY_ALERT 
SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT 
SSL_ERROR_DECOMPRESSION_FAILURE_ALERT 
SSL_ERROR_HANDSHAKE_FAILURE_ALERT 
SSL_ERROR_ILLEGAL_PARAMETER_ALERT 
SSL_ERROR_UNSUPPORTED_CERT_ALERT 
SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT 
SSL_ERROR_GENERATE_RANDOM_FAILURE 
SSL_ERROR_SIGN_HASHES_FAILURE 
SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE 
SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE 
SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE 
SSL_ERROR_ENCRYPTION_FAILURE 
SSL_ERROR_DECRYPTION_FAILURE 
SSL_ERROR_SOCKET_WRITE_FAILURE 
SSL_ERROR_MD5_DIGEST_FAILURE 
SSL_ERROR_SHA_DIGEST_FAILURE 
SSL_ERROR_MAC_COMPUTATION_FAILURE 
SSL_ERROR_SYM_KEY_CONTEXT_FAILURE 
SSL_ERROR_SYM_KEY_UNWRAP_FAILURE 
SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED 
SSL_ERROR_IV_PARAM_FAILURE 
SSL_ERROR_INIT_CIPHER_SUITE_FAILURE 
SSL_ERROR_SESSION_KEY_GEN_FAILURE 
SSL_ERROR_NO_SERVER_KEY_FOR_ALG 
SSL_ERROR_TOKEN_INSERTION_REMOVAL 
SSL_ERROR_TOKEN_SLOT_NOT_FOUND 
SSL_ERROR_NO_COMPRESSION_OVERLAP 
SSL_ERROR_HANDSHAKE_NOT_COMPLETED 
SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE 
SSL_ERROR_CERT_KEA_MISMATCH 
SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA 
SSL_ERROR_SESSION_NOT_FOUND 
SSL_ERROR_DECRYPTION_FAILED_ALERT 
SSL_ERROR_RECORD_OVERFLOW_ALERT 
SSL_ERROR_UNKNOWN_CA_ALERT 
SSL_ERROR_ACCESS_DENIED_ALERT 
SSL_ERROR_DECODE_ERROR_ALERT 
SSL_ERROR_DECRYPT_ERROR_ALERT 
SSL_ERROR_EXPORT_RESTRICTION_ALERT 
SSL_ERROR_PROTOCOL_VERSION_ALERT 
SSL_ERROR_INSUFFICIENT_SECURITY_ALERT 
SSL_ERROR_INTERNAL_ERROR_ALERT 
SSL_ERROR_USER_CANCELED_ALERT 
SSL_ERROR_NO_RENEGOTIATION_ALERT 
SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED 
SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT 
SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT 
SSL_ERROR_UNRECOGNIZED_NAME_ALERT 
SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT 
SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT 
SSL_ERROR_END_OF_LIST 
SSL_ERROR_EXPORT_ONLY_SERVER 
SSL_ERROR_US_ONLY_SERVER 
SSL_ERROR_NO_CYPHER_OVERLAP 
SSL_ERROR_NO_CERTIFICATE 
SSL_ERROR_BAD_CERTIFICATE 
SSL_ERROR_BAD_CLIENT 
SSL_ERROR_BAD_SERVER 
SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE 
SSL_ERROR_UNSUPPORTED_VERSION 
SSL_ERROR_WRONG_CERTIFICATE 
SSL_ERROR_BAD_CERT_DOMAIN 
SSL_ERROR_POST_WARNING 
SSL_ERROR_SSL2_DISABLED 
SSL_ERROR_BAD_MAC_READ 
SSL_ERROR_BAD_MAC_ALERT 
SSL_ERROR_BAD_CERT_ALERT 
SSL_ERROR_REVOKED_CERT_ALERT 
SSL_ERROR_EXPIRED_CERT_ALERT 
SSL_ERROR_SSL_DISABLED 
SSL_ERROR_FORTEZZA_PQG 
SSL_ERROR_UNKNOWN_CIPHER_SUITE 
SSL_ERROR_NO_CIPHERS_SUPPORTED 
SSL_ERROR_BAD_BLOCK_PADDING 
SSL_ERROR_RX_RECORD_TOO_LONG 
SSL_ERROR_TX_RECORD_TOO_LONG 
SSL_ERROR_RX_MALFORMED_HELLO_REQUEST 
SSL_ERROR_RX_MALFORMED_CLIENT_HELLO 
SSL_ERROR_RX_MALFORMED_SERVER_HELLO 
SSL_ERROR_RX_MALFORMED_CERTIFICATE 
SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH 
SSL_ERROR_RX_MALFORMED_CERT_REQUEST 
SSL_ERROR_RX_MALFORMED_HELLO_DONE 
SSL_ERROR_RX_MALFORMED_CERT_VERIFY 
SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH 
SSL_ERROR_RX_MALFORMED_FINISHED 
SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER 
SSL_ERROR_RX_MALFORMED_ALERT 
SSL_ERROR_RX_MALFORMED_HANDSHAKE 
SSL_ERROR_RX_MALFORMED_APPLICATION_DATA 
SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST 
SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO 
SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO 
SSL_ERROR_RX_UNEXPECTED_CERTIFICATE 
SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH 
SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST 
SSL_ERROR_RX_UNEXPECTED_HELLO_DONE 
SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY 
SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH 
SSL_ERROR_RX_UNEXPECTED_FINISHED 
SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER 
SSL_ERROR_RX_UNEXPECTED_ALERT 
SSL_ERROR_RX_UNEXPECTED_HANDSHAKE 
SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA 
SSL_ERROR_RX_UNKNOWN_RECORD_TYPE 
SSL_ERROR_RX_UNKNOWN_HANDSHAKE 
SSL_ERROR_RX_UNKNOWN_ALERT 
SSL_ERROR_CLOSE_NOTIFY_ALERT 
SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT 
SSL_ERROR_DECOMPRESSION_FAILURE_ALERT 
SSL_ERROR_HANDSHAKE_FAILURE_ALERT 
SSL_ERROR_ILLEGAL_PARAMETER_ALERT 
SSL_ERROR_UNSUPPORTED_CERT_ALERT 
SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT 
SSL_ERROR_GENERATE_RANDOM_FAILURE 
SSL_ERROR_SIGN_HASHES_FAILURE 
SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE 
SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE 
SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE 
SSL_ERROR_ENCRYPTION_FAILURE 
SSL_ERROR_DECRYPTION_FAILURE 
SSL_ERROR_SOCKET_WRITE_FAILURE 
SSL_ERROR_MD5_DIGEST_FAILURE 
SSL_ERROR_SHA_DIGEST_FAILURE 
SSL_ERROR_MAC_COMPUTATION_FAILURE 
SSL_ERROR_SYM_KEY_CONTEXT_FAILURE 
SSL_ERROR_SYM_KEY_UNWRAP_FAILURE 
SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED 
SSL_ERROR_IV_PARAM_FAILURE 
SSL_ERROR_INIT_CIPHER_SUITE_FAILURE 
SSL_ERROR_SESSION_KEY_GEN_FAILURE 
SSL_ERROR_NO_SERVER_KEY_FOR_ALG 
SSL_ERROR_TOKEN_INSERTION_REMOVAL 
SSL_ERROR_TOKEN_SLOT_NOT_FOUND 
SSL_ERROR_NO_COMPRESSION_OVERLAP 
SSL_ERROR_HANDSHAKE_NOT_COMPLETED 
SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE 
SSL_ERROR_CERT_KEA_MISMATCH 
SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA 
SSL_ERROR_SESSION_NOT_FOUND 
SSL_ERROR_DECRYPTION_FAILED_ALERT 
SSL_ERROR_RECORD_OVERFLOW_ALERT 
SSL_ERROR_UNKNOWN_CA_ALERT 
SSL_ERROR_ACCESS_DENIED_ALERT 
SSL_ERROR_DECODE_ERROR_ALERT 
SSL_ERROR_DECRYPT_ERROR_ALERT 
SSL_ERROR_EXPORT_RESTRICTION_ALERT 
SSL_ERROR_PROTOCOL_VERSION_ALERT 
SSL_ERROR_INSUFFICIENT_SECURITY_ALERT 
SSL_ERROR_INTERNAL_ERROR_ALERT 
SSL_ERROR_USER_CANCELED_ALERT 
SSL_ERROR_NO_RENEGOTIATION_ALERT 
SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED 
SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT 
SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT 
SSL_ERROR_UNRECOGNIZED_NAME_ALERT 
SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT 
SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT 
SSL_ERROR_END_OF_LIST 

Definition at line 51 of file sslerr.h.

             {
SSL_ERROR_EXPORT_ONLY_SERVER              = (SSL_ERROR_BASE +  0),
SSL_ERROR_US_ONLY_SERVER           = (SSL_ERROR_BASE +  1),
SSL_ERROR_NO_CYPHER_OVERLAP               = (SSL_ERROR_BASE +  2),
/* 
 * Received an alert reporting what we did wrong.  (more alerts below)
 */
SSL_ERROR_NO_CERTIFICATE /*_ALERT */      = (SSL_ERROR_BASE +  3),
SSL_ERROR_BAD_CERTIFICATE                 = (SSL_ERROR_BASE +  4),
                                   /* error 5 is obsolete */
SSL_ERROR_BAD_CLIENT                      = (SSL_ERROR_BASE +  6),
SSL_ERROR_BAD_SERVER                      = (SSL_ERROR_BASE +  7),
SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE    = (SSL_ERROR_BASE +  8),
SSL_ERROR_UNSUPPORTED_VERSION             = (SSL_ERROR_BASE +  9),
                                   /* error 10 is obsolete */
SSL_ERROR_WRONG_CERTIFICATE        = (SSL_ERROR_BASE + 11),
SSL_ERROR_BAD_CERT_DOMAIN          = (SSL_ERROR_BASE + 12),
SSL_ERROR_POST_WARNING                    = (SSL_ERROR_BASE + 13),
SSL_ERROR_SSL2_DISABLED            = (SSL_ERROR_BASE + 14),
SSL_ERROR_BAD_MAC_READ                    = (SSL_ERROR_BASE + 15),
/* 
 * Received an alert reporting what we did wrong.
 * (two more alerts above, and many more below)
 */
SSL_ERROR_BAD_MAC_ALERT            = (SSL_ERROR_BASE + 16),
SSL_ERROR_BAD_CERT_ALERT                = (SSL_ERROR_BASE + 17),
SSL_ERROR_REVOKED_CERT_ALERT              = (SSL_ERROR_BASE + 18),
SSL_ERROR_EXPIRED_CERT_ALERT              = (SSL_ERROR_BASE + 19),

SSL_ERROR_SSL_DISABLED                    = (SSL_ERROR_BASE + 20),
SSL_ERROR_FORTEZZA_PQG                    = (SSL_ERROR_BASE + 21),
SSL_ERROR_UNKNOWN_CIPHER_SUITE            = (SSL_ERROR_BASE + 22),
SSL_ERROR_NO_CIPHERS_SUPPORTED            = (SSL_ERROR_BASE + 23),
SSL_ERROR_BAD_BLOCK_PADDING        = (SSL_ERROR_BASE + 24),
SSL_ERROR_RX_RECORD_TOO_LONG              = (SSL_ERROR_BASE + 25),
SSL_ERROR_TX_RECORD_TOO_LONG              = (SSL_ERROR_BASE + 26),
/* 
 * Received a malformed (too long or short) SSL handshake.
 */
SSL_ERROR_RX_MALFORMED_HELLO_REQUEST      = (SSL_ERROR_BASE + 27),
SSL_ERROR_RX_MALFORMED_CLIENT_HELLO       = (SSL_ERROR_BASE + 28),
SSL_ERROR_RX_MALFORMED_SERVER_HELLO       = (SSL_ERROR_BASE + 29),
SSL_ERROR_RX_MALFORMED_CERTIFICATE = (SSL_ERROR_BASE + 30),
SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH    = (SSL_ERROR_BASE + 31),
SSL_ERROR_RX_MALFORMED_CERT_REQUEST       = (SSL_ERROR_BASE + 32),
SSL_ERROR_RX_MALFORMED_HELLO_DONE  = (SSL_ERROR_BASE + 33),
SSL_ERROR_RX_MALFORMED_CERT_VERIFY = (SSL_ERROR_BASE + 34),
SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH    = (SSL_ERROR_BASE + 35),
SSL_ERROR_RX_MALFORMED_FINISHED    = (SSL_ERROR_BASE + 36),
/* 
 * Received a malformed (too long or short) SSL record.
 */
SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER      = (SSL_ERROR_BASE + 37),
SSL_ERROR_RX_MALFORMED_ALERT              = (SSL_ERROR_BASE + 38),
SSL_ERROR_RX_MALFORMED_HANDSHAKE   = (SSL_ERROR_BASE + 39),
SSL_ERROR_RX_MALFORMED_APPLICATION_DATA   = (SSL_ERROR_BASE + 40),
/*
 * Received an SSL handshake that was inappropriate for the state we're in.
 * E.g. Server received message from server, or wrong state in state machine.
 */
SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST     = (SSL_ERROR_BASE + 41),
SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO      = (SSL_ERROR_BASE + 42),
SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO      = (SSL_ERROR_BASE + 43),
SSL_ERROR_RX_UNEXPECTED_CERTIFICATE       = (SSL_ERROR_BASE + 44),
SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH   = (SSL_ERROR_BASE + 45),
SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST      = (SSL_ERROR_BASE + 46),
SSL_ERROR_RX_UNEXPECTED_HELLO_DONE = (SSL_ERROR_BASE + 47),
SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY       = (SSL_ERROR_BASE + 48),
SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH   = (SSL_ERROR_BASE + 49),
SSL_ERROR_RX_UNEXPECTED_FINISHED   = (SSL_ERROR_BASE + 50),
/*
 * Received an SSL record that was inappropriate for the state we're in.
 */
SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER     = (SSL_ERROR_BASE + 51),
SSL_ERROR_RX_UNEXPECTED_ALERT             = (SSL_ERROR_BASE + 52),
SSL_ERROR_RX_UNEXPECTED_HANDSHAKE  = (SSL_ERROR_BASE + 53),
SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA= (SSL_ERROR_BASE + 54),
/*
 * Received record/message with unknown discriminant.
 */
SSL_ERROR_RX_UNKNOWN_RECORD_TYPE   = (SSL_ERROR_BASE + 55),
SSL_ERROR_RX_UNKNOWN_HANDSHAKE            = (SSL_ERROR_BASE + 56),
SSL_ERROR_RX_UNKNOWN_ALERT         = (SSL_ERROR_BASE + 57),
/* 
 * Received an alert reporting what we did wrong.  (more alerts above)
 */
SSL_ERROR_CLOSE_NOTIFY_ALERT              = (SSL_ERROR_BASE + 58),
SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT      = (SSL_ERROR_BASE + 59),
SSL_ERROR_DECOMPRESSION_FAILURE_ALERT     = (SSL_ERROR_BASE + 60),
SSL_ERROR_HANDSHAKE_FAILURE_ALERT  = (SSL_ERROR_BASE + 61),
SSL_ERROR_ILLEGAL_PARAMETER_ALERT  = (SSL_ERROR_BASE + 62),
SSL_ERROR_UNSUPPORTED_CERT_ALERT   = (SSL_ERROR_BASE + 63),
SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT       = (SSL_ERROR_BASE + 64),

SSL_ERROR_GENERATE_RANDOM_FAILURE  = (SSL_ERROR_BASE + 65),
SSL_ERROR_SIGN_HASHES_FAILURE             = (SSL_ERROR_BASE + 66),
SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE      = (SSL_ERROR_BASE + 67),
SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE     = (SSL_ERROR_BASE + 68),
SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE     = (SSL_ERROR_BASE + 69),

SSL_ERROR_ENCRYPTION_FAILURE              = (SSL_ERROR_BASE + 70),
SSL_ERROR_DECRYPTION_FAILURE              = (SSL_ERROR_BASE + 71),
SSL_ERROR_SOCKET_WRITE_FAILURE            = (SSL_ERROR_BASE + 72),

SSL_ERROR_MD5_DIGEST_FAILURE              = (SSL_ERROR_BASE + 73),
SSL_ERROR_SHA_DIGEST_FAILURE              = (SSL_ERROR_BASE + 74),
SSL_ERROR_MAC_COMPUTATION_FAILURE  = (SSL_ERROR_BASE + 75),
SSL_ERROR_SYM_KEY_CONTEXT_FAILURE  = (SSL_ERROR_BASE + 76),
SSL_ERROR_SYM_KEY_UNWRAP_FAILURE   = (SSL_ERROR_BASE + 77),
SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED     = (SSL_ERROR_BASE + 78),
SSL_ERROR_IV_PARAM_FAILURE         = (SSL_ERROR_BASE + 79),
SSL_ERROR_INIT_CIPHER_SUITE_FAILURE       = (SSL_ERROR_BASE + 80),
SSL_ERROR_SESSION_KEY_GEN_FAILURE  = (SSL_ERROR_BASE + 81),
SSL_ERROR_NO_SERVER_KEY_FOR_ALG           = (SSL_ERROR_BASE + 82),
SSL_ERROR_TOKEN_INSERTION_REMOVAL  = (SSL_ERROR_BASE + 83),
SSL_ERROR_TOKEN_SLOT_NOT_FOUND            = (SSL_ERROR_BASE + 84),
SSL_ERROR_NO_COMPRESSION_OVERLAP   = (SSL_ERROR_BASE + 85),
SSL_ERROR_HANDSHAKE_NOT_COMPLETED  = (SSL_ERROR_BASE + 86),
SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE = (SSL_ERROR_BASE + 87),
SSL_ERROR_CERT_KEA_MISMATCH        = (SSL_ERROR_BASE + 88),
SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA = (SSL_ERROR_BASE + 89),
SSL_ERROR_SESSION_NOT_FOUND        = (SSL_ERROR_BASE + 90),

SSL_ERROR_DECRYPTION_FAILED_ALERT  = (SSL_ERROR_BASE + 91),
SSL_ERROR_RECORD_OVERFLOW_ALERT           = (SSL_ERROR_BASE + 92),
SSL_ERROR_UNKNOWN_CA_ALERT         = (SSL_ERROR_BASE + 93),
SSL_ERROR_ACCESS_DENIED_ALERT             = (SSL_ERROR_BASE + 94),
SSL_ERROR_DECODE_ERROR_ALERT              = (SSL_ERROR_BASE + 95),
SSL_ERROR_DECRYPT_ERROR_ALERT             = (SSL_ERROR_BASE + 96),
SSL_ERROR_EXPORT_RESTRICTION_ALERT = (SSL_ERROR_BASE + 97),
SSL_ERROR_PROTOCOL_VERSION_ALERT   = (SSL_ERROR_BASE + 98),
SSL_ERROR_INSUFFICIENT_SECURITY_ALERT     = (SSL_ERROR_BASE + 99),
SSL_ERROR_INTERNAL_ERROR_ALERT            = (SSL_ERROR_BASE + 100),
SSL_ERROR_USER_CANCELED_ALERT             = (SSL_ERROR_BASE + 101),
SSL_ERROR_NO_RENEGOTIATION_ALERT   = (SSL_ERROR_BASE + 102),

SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED     = (SSL_ERROR_BASE + 103),

SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT            = (SSL_ERROR_BASE + 104),
SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT  = (SSL_ERROR_BASE + 105),
SSL_ERROR_UNRECOGNIZED_NAME_ALERT         = (SSL_ERROR_BASE + 106),
SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT  = (SSL_ERROR_BASE + 107),
SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT              = (SSL_ERROR_BASE + 108),

SSL_ERROR_END_OF_LIST       /* let the c compiler determine the value of this. */
} SSLErrorCodes;