sslerr.h File Reference

#include <sslerr.h>

KErrSSLNoSharedCipher

const TIntKErrSSLNoSharedCipher

No shared cipher was found. The handshake failed because there was no available shared cipher supported by both the client and the server.

KErrSSLSocketBusy

const TIntKErrSSLSocketBusy

The socket already has received data pending on it. This error is seen when StartClientHandshake is called when there is already data waiting to be read from the socket.

KErrSSLInvalidCipherSuite

const TIntKErrSSLInvalidCipherSuite

One or more cipher suites passed as an argument was invalid.

KErrSSLInvalidCert

const TIntKErrSSLInvalidCert

The certificate that was passed as an argument was invalid. (this could be that actual certificate is not a valid certificate, or if certman handles are passed, it wasn't found in certman)

KErrSSLNoClientCert

const TIntKErrSSLNoClientCert

No client certificate was supplied.

KErrSSLUnsupportedKeySize

const TIntKErrSSLUnsupportedKeySize

The size of the key is too big.

KErrSSLUnsupportedKey

const TIntKErrSSLUnsupportedKey

General unsupported key error

KErrSSLBadRecordHeader

const TIntKErrSSLBadRecordHeader

An invalid record was received.

KErrSSLBadProtocolVersion

const TIntKErrSSLBadProtocolVersion

Invalid protocol version.

KErrSSL2ServerOnly

const TIntKErrSSL2ServerOnly

The server only supports the SSL2.0 protocol.

KErrSSLUnexpectedMessage

const TIntKErrSSLUnexpectedMessage

Unexpected message.

KErrSSLUnsupportedCipher

const TIntKErrSSLUnsupportedCipher

Unsupported cipher.

KErrSSLBadMAC

const TIntKErrSSLBadMAC

Bad MAC.

KErrSSLReceivedAlert

const TIntKErrSSLReceivedAlert

An SSL alert was received from the remote end, which caused the connection to be terminated.

KErrSSLRecvNotSupportedHS

const TIntKErrSSLRecvNotSupportedHS

An invalid handshake message was received.

KErrSSLHSRecordFieldTooBig

const TIntKErrSSLHSRecordFieldTooBig

A field in the handshake record being parsed was too big.

KErrSSLRecordHeaderTooBig

const TIntKErrSSLRecordHeaderTooBig

Record header field too big.

KErrSSLSendDataTooBig

const TIntKErrSSLSendDataTooBig

Send data field too big.

KErrSSLNoCertificate

const TIntKErrSSLNoCertificate

No certificate.

KErrSSLInvalidHash

const TIntKErrSSLInvalidHash

Invalid hash.

KErrSSLSendCanceled

const TIntKErrSSLSendCanceled

Send cancelled.

KErrSSLRecvCanceled

const TIntKErrSSLRecvCanceled

Receieve cancelled.

KErrSSLHandshakeCanceled

const TIntKErrSSLHandshakeCanceled

CancelHandshake was called during one of the handshake methods.

KErrSSLWriteFailed

const TIntKErrSSLWriteFailed

Write failed.

KErrSSLFailedToLoad

const TIntKErrSSLFailedToLoad

The SSL.dll couldn't be loaded by the adaptor.

KErrSSLDisconnectIndication

const TIntKErrSSLDisconnectIndication

An unspecified error was signaled from the SSL.dll to the adaptor.

KErrSSLDllLeave

const TIntKErrSSLDllLeave

A leave occured in the SSL.dll.

KErrSSLNullTlsSession

const TIntKErrSSLNullTlsSession

A leave occured in the SSL.dll.

KErrSSLAlertCloseNotify

const TIntKErrSSLAlertCloseNotify

Close notification.

KErrSSLAlertUnexpectedMessage

const TIntKErrSSLAlertUnexpectedMessage

An inappropriate message was received.

KErrSSLAlertBadRecordMac

const TIntKErrSSLAlertBadRecordMac

A record was received with an incorrect MAC.

KErrSSLAlertDecryptionFailed

const TIntKErrSSLAlertDecryptionFailed

A TLS cipher text was decrypted in an invalid way.

KErrSSLAlertRecordOverflow

const TIntKErrSSLAlertRecordOverflow

A TLS cipher text record was received which was too long.

KErrSSLAlertDecompressionFailure

const TIntKErrSSLAlertDecompressionFailure

The decompression function received improper input.

KErrSSLAlertHandshakeFailure

const TIntKErrSSLAlertHandshakeFailure

With given the options available, the sender was unable to negotiate an acceptable set of security parameters .

KErrSSLAlertNoCertificate

const TIntKErrSSLAlertNoCertificate

No certificate.

KErrSSLAlertBadCertificate

const TIntKErrSSLAlertBadCertificate

A certificate was corrupt, e.g. contained signatures that could not be verified.

KErrSSLAlertUnsupportedCertificate

const TIntKErrSSLAlertUnsupportedCertificate

The certificate was of an unsupported type.

KErrSSLAlertCertificateRevoked

const TIntKErrSSLAlertCertificateRevoked

The certificate was revoked.

KErrSSLAlertCertificateExpired

const TIntKErrSSLAlertCertificateExpired

The certificate was expired.

KErrSSLAlertCertificateUnknown

const TIntKErrSSLAlertCertificateUnknown

An unspecified problem with the certificate. Certificate can not be used.

KErrSSLAlertIllegalParameter

const TIntKErrSSLAlertIllegalParameter

A field in the handshake was out of range or inconsistent with other fields.

KErrSSLAlertUnknownCA

const TIntKErrSSLAlertUnknownCA

The certificate was not accepted.

Either the CA certificate could not be located or the CA could not be matched with a known trusted CA.

KErrSSLAlertAccessDenied

const TIntKErrSSLAlertAccessDenied

A valid certificate was received, but the access control denied access.

KErrSSLAlertDecodeError

const TIntKErrSSLAlertDecodeError

A message could not be decoded, e.g. some field was out of the specified range.

KErrSSLAlertDecryptError

const TIntKErrSSLAlertDecryptError

A handshake cryptographic operation failed.

KErrSSLAlertExportRestriction

const TIntKErrSSLAlertExportRestriction

A negotiation was not allowed due to export restrictions.

KErrSSLAlertProtocolVersion

const TIntKErrSSLAlertProtocolVersion

The protocol version was not supported, e.g. the client has attempted to negotiate a recognised, but unsupported protocol.

KErrSSLAlertInsufficientSecurity

const TIntKErrSSLAlertInsufficientSecurity

Returned instead of KErrSSLAlertHandshakeFailure when the negotiation fails because the server requests ciphers more secure than those supported by the client.

KErrSSLAlertInternalError

const TIntKErrSSLAlertInternalError

An internal error.

KErrSSLAlertUserCanceled

const TIntKErrSSLAlertUserCanceled

This handshake is being cancelled by the user.

KErrSSLAlertNoRenegotiation

const TIntKErrSSLAlertNoRenegotiation

No renegotiation will be accepted.