Thank you! I found it and I think is works now. Christoph
On 2016-07-07 22:16, Cantor, Scott wrote:
I just found OAEP-MGF-constants in the code but they were never used.Pretty sure that's wrong. I see this code in the algorithm handler code for RSA-OAEP: const XMLCh* mgfalg = encryptionMethod->getMGF(); if (mgfalg && *mgfalg) { maskGenerationFunc mgf; if (!XSECmapURIToMaskGenerationFunc(mgfalg, mgf)) { // error } rsa->setMGF(mgf); } That should be mapping from the constants to the right MGF implementation, and those are in an enum in the constants header. -- Scott
