CRSAPublicKey* publicKey;
const CRSAPublicKey &iRSAPublicKey= *publicKey;
iEncryptor = CRSAPKCS1v15Encryptor::NewL(iRSAPublicKey);
My problem is on the second line, because I have to pass a reference to function, for that I am creating reference from pointer.
I don't know whether I am doing this right or wrong. First line compiles but on second line it crashes.