When I try to decrypt content that was encrypted using it I got this error:
"Currently only SHA-1 is supported for OAEP"
in:
XENCAlgorithmHandlerDefault::doRSADecryptToSafeBuffer()
line:
if (!strEquals(encryptionMethod->getDigestMethod(), DSIGConstants::s_unicodeStrURISHA1)) {
throw XSECException(XSECException::CipherError, "XENCAlgorithmHandlerDefault::doRSADecryptToSafeBuffer - Currently only SHA-1 is supported for OAEP");
}
Is SHA-1 used in encryption? I belive this code left from signature implementation?
Best regards,
Milan