class MSoPskKeyHandler |
Interface to the client code which decides which PSK identity and value should be used to secure the connection.
void | GetPskL | ( | const HBufC8 * | aPskIdentityHint, |
HBufC8 *& | aPskIdentity, | |||
HBufC8 *& | aPskKey | |||
) | [pure virtual] |
Called during the TLS PSK handshake to get the PSK identity and value to be used to secure the connection.
Note that the meaning of the PSK identity hint is NOT defined by the TLS standard, therefore any application using PSK must previously agree the source of the PSK to be used and the interpretion of the (optional) PSK identity hint.
const HBufC8 * aPskIdentityHint | A ptr to an HBufC8 containing the "PSK identity hint", or NULL if the server did not send one. |
HBufC8 *& aPskIdentity | NULL passed in, must be set to an HBufC8 containing the PSK Identity to be used. |
HBufC8 *& aPskKey | NULL passed in, must be set to an HBufC8 containing the PSK key value to be used. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.