<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello!<br>
<br>
I try to do some XML-ENC with OpenSSL
(<a class="moz-txt-link-freetext" href="https://www.w3.org/TR/xmlenc-core1/#sec-RSA-OAEP">https://www.w3.org/TR/xmlenc-core1/#sec-RSA-OAEP</a>, section 5.5.2)
and I have some problems with the padding.<br>
Now I have some problems with decrypting a RSA-encoded string.<br>
<br>
For identifier "rsa-oaep-mgf1p" I use RSA_PKCS1_OAEP_PADDING for
padding and it is fine.<br>
For <a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/04/xmlenc#rsa-1_5">"http://www.w3.org/2001/04/xmlenc#rsa-1_5"</a> I use
RSA_PKCS1_PADDING and it is also ok.<br>
<br>
But it is not working for "rsa-oaep". I tried any padding setting
possible.<br>
Any ideas??<br>
<br>
Thanks!<br>
Chris<br>
<br>
<dl>
<dt><br>
</dt>
</dl>
<br>
<br>
</body>
</html>