// Add MGF for new OAEP variant.
if (XMLString::equals(alg, DSIGConstants::s_unicodeStrURIRSA_OAEP)) {
MGF* mgf = MGFBuilder::buildMGF();
mgf->setAlgorithm(DSIGConstants::s_unicodeStrURIMGF1_SHA1);
em->getUnknownXMLObjects().push_back(mgf);
}
// Add MGF for new OAEP variant.
if (XMLString::equals(alg, DSIGConstants::s_unicodeStrURIRSA_OAEP)) {
MGF* mgf = MGFBuilder::buildMGF();
mgf->setAlgorithm(DSIGConstants::s_unicodeStrURIMGF1_SHA1);
em->getUnknownXMLObjects().push_back(mgf);
}