sslerr.h File Reference

const TInt KErrSSLNoSharedCipher

const TInt KErrSSLNoSharedCipher

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

const TInt KErrSSLSocketBusy

const TInt KErrSSLSocketBusy

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.

const TInt KErrSSLInvalidCipherSuite

const TInt KErrSSLInvalidCipherSuite

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

const TInt KErrSSLInvalidCert

const TInt KErrSSLInvalidCert

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)

const TInt KErrSSLNoClientCert

const TInt KErrSSLNoClientCert

No client certificate was supplied.

const TInt KErrSSLUnsupportedKeySize

const TInt KErrSSLUnsupportedKeySize

The size of the key is too big.

const TInt KErrSSLUnsupportedKey

const TInt KErrSSLUnsupportedKey

General unsupported key error

const TInt KErrSSLBadRecordHeader

const TInt KErrSSLBadRecordHeader

An invalid record was received.

const TInt KErrSSLBadProtocolVersion

const TInt KErrSSLBadProtocolVersion

Invalid protocol version.

const TInt KErrSSL2ServerOnly

const TInt KErrSSL2ServerOnly

The server only supports the SSL2.0 protocol.

const TInt KErrSSLUnexpectedMessage

const TInt KErrSSLUnexpectedMessage

Unexpected message.

const TInt KErrSSLUnsupportedCipher

const TInt KErrSSLUnsupportedCipher

Unsupported cipher.

const TInt KErrSSLBadMAC

const TInt KErrSSLBadMAC

Bad MAC.

const TInt KErrSSLReceivedAlert

const TInt KErrSSLReceivedAlert

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

const TInt KErrSSLRecvNotSupportedHS

const TInt KErrSSLRecvNotSupportedHS

An invalid handshake message was received.

const TInt KErrSSLHSRecordFieldTooBig

const TInt KErrSSLHSRecordFieldTooBig

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

const TInt KErrSSLRecordHeaderTooBig

const TInt KErrSSLRecordHeaderTooBig

Record header field too big.

const TInt KErrSSLSendDataTooBig

const TInt KErrSSLSendDataTooBig

Send data field too big.

const TInt KErrSSLNoCertificate

const TInt KErrSSLNoCertificate

No certificate.

const TInt KErrSSLInvalidHash

const TInt KErrSSLInvalidHash

Invalid hash.

const TInt KErrSSLSendCanceled

const TInt KErrSSLSendCanceled

Send cancelled.

const TInt KErrSSLRecvCanceled

const TInt KErrSSLRecvCanceled

Receieve cancelled.

const TInt KErrSSLHandshakeCanceled

const TInt KErrSSLHandshakeCanceled

CancelHandshake was called during one of the handshake methods.

const TInt KErrSSLWriteFailed

const TInt KErrSSLWriteFailed

Write failed.

const TInt KErrSSLFailedToLoad

const TInt KErrSSLFailedToLoad

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

const TInt KErrSSLDisconnectIndication

const TInt KErrSSLDisconnectIndication

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

const TInt KErrSSLDllLeave

const TInt KErrSSLDllLeave

A leave occured in the SSL.dll.

const TInt KErrSSLNullTlsSession

const TInt KErrSSLNullTlsSession

A leave occured in the SSL.dll.

const TInt KErrSSLAlertCloseNotify

const TInt KErrSSLAlertCloseNotify

Close notification.

const TInt KErrSSLAlertUnexpectedMessage

const TInt KErrSSLAlertUnexpectedMessage

An inappropriate message was received.

const TInt KErrSSLAlertBadRecordMac

const TInt KErrSSLAlertBadRecordMac

A record was received with an incorrect MAC.

const TInt KErrSSLAlertDecryptionFailed

const TInt KErrSSLAlertDecryptionFailed

A TLS cipher text was decrypted in an invalid way.

const TInt KErrSSLAlertRecordOverflow

const TInt KErrSSLAlertRecordOverflow

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

const TInt KErrSSLAlertDecompressionFailure

const TInt KErrSSLAlertDecompressionFailure

The decompression function received improper input.

const TInt KErrSSLAlertHandshakeFailure

const TInt KErrSSLAlertHandshakeFailure

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

const TInt KErrSSLAlertNoCertificate

const TInt KErrSSLAlertNoCertificate

No certificate.

const TInt KErrSSLAlertBadCertificate

const TInt KErrSSLAlertBadCertificate

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

const TInt KErrSSLAlertUnsupportedCertificate

const TInt KErrSSLAlertUnsupportedCertificate

The certificate was of an unsupported type.

const TInt KErrSSLAlertCertificateRevoked

const TInt KErrSSLAlertCertificateRevoked

The certificate was revoked.

const TInt KErrSSLAlertCertificateExpired

const TInt KErrSSLAlertCertificateExpired

The certificate was expired.

const TInt KErrSSLAlertCertificateUnknown

const TInt KErrSSLAlertCertificateUnknown

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

const TInt KErrSSLAlertIllegalParameter

const TInt KErrSSLAlertIllegalParameter

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

const TInt KErrSSLAlertUnknownCA

const TInt KErrSSLAlertUnknownCA

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.

const TInt KErrSSLAlertAccessDenied

const TInt KErrSSLAlertAccessDenied

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

const TInt KErrSSLAlertDecodeError

const TInt KErrSSLAlertDecodeError

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

const TInt KErrSSLAlertDecryptError

const TInt KErrSSLAlertDecryptError

A handshake cryptographic operation failed.

const TInt KErrSSLAlertExportRestriction

const TInt KErrSSLAlertExportRestriction

A negotiation was not allowed due to export restrictions.

const TInt KErrSSLAlertProtocolVersion

const TInt KErrSSLAlertProtocolVersion

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

const TInt KErrSSLAlertInsufficientSecurity

const TInt KErrSSLAlertInsufficientSecurity

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

const TInt KErrSSLAlertInternalError

const TInt KErrSSLAlertInternalError

An internal error.

const TInt KErrSSLAlertUserCanceled

const TInt KErrSSLAlertUserCanceled

This handshake is being cancelled by the user.

const TInt KErrSSLAlertNoRenegotiation

const TInt KErrSSLAlertNoRenegotiation

No renegotiation will be accepted.