sslerr.h File Reference

const TInt 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.

const TInt 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.

const TInt KErrSSLInvalidCipherSuite

const TIntKErrSSLInvalidCipherSuite

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

const TInt 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)

const TInt KErrSSLNoClientCert

const TIntKErrSSLNoClientCert

No client certificate was supplied.

const TInt KErrSSLUnsupportedKeySize

const TIntKErrSSLUnsupportedKeySize

The size of the key is too big.

const TInt KErrSSLUnsupportedKey

const TIntKErrSSLUnsupportedKey

General unsupported key error

const TInt KErrSSLBadRecordHeader

const TIntKErrSSLBadRecordHeader

An invalid record was received.

const TInt KErrSSLBadProtocolVersion

const TIntKErrSSLBadProtocolVersion

Invalid protocol version.

const TInt KErrSSL2ServerOnly

const TIntKErrSSL2ServerOnly

The server only supports the SSL2.0 protocol.

const TInt KErrSSLUnexpectedMessage

const TIntKErrSSLUnexpectedMessage

Unexpected message.

const TInt KErrSSLUnsupportedCipher

const TIntKErrSSLUnsupportedCipher

Unsupported cipher.

const TInt KErrSSLBadMAC

const TIntKErrSSLBadMAC

Bad MAC.

const TInt KErrSSLReceivedAlert

const TIntKErrSSLReceivedAlert

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

const TInt KErrSSLRecvNotSupportedHS

const TIntKErrSSLRecvNotSupportedHS

An invalid handshake message was received.

const TInt KErrSSLHSRecordFieldTooBig

const TIntKErrSSLHSRecordFieldTooBig

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

const TInt KErrSSLRecordHeaderTooBig

const TIntKErrSSLRecordHeaderTooBig

Record header field too big.

const TInt KErrSSLSendDataTooBig

const TIntKErrSSLSendDataTooBig

Send data field too big.

const TInt KErrSSLNoCertificate

const TIntKErrSSLNoCertificate

No certificate.

const TInt KErrSSLInvalidHash

const TIntKErrSSLInvalidHash

Invalid hash.

const TInt KErrSSLSendCanceled

const TIntKErrSSLSendCanceled

Send cancelled.

const TInt KErrSSLRecvCanceled

const TIntKErrSSLRecvCanceled

Receieve cancelled.

const TInt KErrSSLHandshakeCanceled

const TIntKErrSSLHandshakeCanceled

CancelHandshake was called during one of the handshake methods.

const TInt KErrSSLWriteFailed

const TIntKErrSSLWriteFailed

Write failed.

const TInt KErrSSLFailedToLoad

const TIntKErrSSLFailedToLoad

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

const TInt KErrSSLDisconnectIndication

const TIntKErrSSLDisconnectIndication

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

const TInt KErrSSLDllLeave

const TIntKErrSSLDllLeave

A leave occured in the SSL.dll.

const TInt KErrSSLNullTlsSession

const TIntKErrSSLNullTlsSession

A leave occured in the SSL.dll.

const TInt KErrSSLAlertCloseNotify

const TIntKErrSSLAlertCloseNotify

Close notification.

const TInt KErrSSLAlertUnexpectedMessage

const TIntKErrSSLAlertUnexpectedMessage

An inappropriate message was received.

const TInt KErrSSLAlertBadRecordMac

const TIntKErrSSLAlertBadRecordMac

A record was received with an incorrect MAC.

const TInt KErrSSLAlertDecryptionFailed

const TIntKErrSSLAlertDecryptionFailed

A TLS cipher text was decrypted in an invalid way.

const TInt KErrSSLAlertRecordOverflow

const TIntKErrSSLAlertRecordOverflow

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

const TInt KErrSSLAlertDecompressionFailure

const TIntKErrSSLAlertDecompressionFailure

The decompression function received improper input.

const TInt KErrSSLAlertHandshakeFailure

const TIntKErrSSLAlertHandshakeFailure

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

const TInt KErrSSLAlertNoCertificate

const TIntKErrSSLAlertNoCertificate

No certificate.

const TInt KErrSSLAlertBadCertificate

const TIntKErrSSLAlertBadCertificate

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

const TInt KErrSSLAlertUnsupportedCertificate

const TIntKErrSSLAlertUnsupportedCertificate

The certificate was of an unsupported type.

const TInt KErrSSLAlertCertificateRevoked

const TIntKErrSSLAlertCertificateRevoked

The certificate was revoked.

const TInt KErrSSLAlertCertificateExpired

const TIntKErrSSLAlertCertificateExpired

The certificate was expired.

const TInt KErrSSLAlertCertificateUnknown

const TIntKErrSSLAlertCertificateUnknown

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

const TInt KErrSSLAlertIllegalParameter

const TIntKErrSSLAlertIllegalParameter

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

const TInt 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.

const TInt KErrSSLAlertAccessDenied

const TIntKErrSSLAlertAccessDenied

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

const TInt KErrSSLAlertDecodeError

const TIntKErrSSLAlertDecodeError

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

const TInt KErrSSLAlertDecryptError

const TIntKErrSSLAlertDecryptError

A handshake cryptographic operation failed.

const TInt KErrSSLAlertExportRestriction

const TIntKErrSSLAlertExportRestriction

A negotiation was not allowed due to export restrictions.

const TInt KErrSSLAlertProtocolVersion

const TIntKErrSSLAlertProtocolVersion

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

const TInt KErrSSLAlertInsufficientSecurity

const TIntKErrSSLAlertInsufficientSecurity

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 TIntKErrSSLAlertInternalError

An internal error.

const TInt KErrSSLAlertUserCanceled

const TIntKErrSSLAlertUserCanceled

This handshake is being cancelled by the user.

const TInt KErrSSLAlertNoRenegotiation

const TIntKErrSSLAlertNoRenegotiation

No renegotiation will be accepted.