CTlsProvider.cpp File Reference

CipherSuiteOrder(const TTLSCipherSuite &, const TTLSCipherSuite &)

TInt CipherSuiteOrder(const TTLSCipherSuite &aLeft,
const TTLSCipherSuite &aRight
)

Parameters

const TTLSCipherSuite & aLeft
const TTLSCipherSuite & aRight

CompareCipherIdentities(const TTLSCipherSuite &, const TTLSCipherSuite &)

TInt CompareCipherIdentities(const TTLSCipherSuite &aLeft,
const TTLSCipherSuite &aRight
)[static]

This ordering relation is used by CTlsProviderImpl::ReturnCipherListL to ensure that cipher appears in a list at most once. (It will also order the ciphers by identity, but that is incidental.)

It is used with a TLinearOrder template and an RArray. It orders the ciphers by identity, which means iHiByte is the most significant byte, and iLoByte is the least significant byte.

CTlsProviderImpl::ReturnCipherListL

Parameters

const TTLSCipherSuite & aLeftLeft cipher suite to compare.
const TTLSCipherSuite & aRightRight cipher suite to compare.

CompareCipherPriorities(const TTLSCipherSuite &, const TTLSCipherSuite &)

TInt CompareCipherPriorities(const TTLSCipherSuite &aLeft,
const TTLSCipherSuite &aRight
)[static]

This ordering relation is used by CTlsProviderImpl::ReturnCipherListL to put the ciphers in priority order, highest priority first. A higher priority means the numerically lower value of iPriority. E.g. priority 1 is before priority 2.

It is wrapped in a TLinearOrder object and used to sort an RArray.

CTlsProviderImpl::ReturnCipherListL

Parameters

const TTLSCipherSuite & aLeftLeft cipher suite to compare.
const TTLSCipherSuite & aRightRight cipher suite to compare.