Groups | Blog | Home
all groups > dotnet security > may 2006 >

dotnet security : RSACryptServiceProvider: Specifying OAEP encoding parameter P


FrankSt
5/24/2006 3:20:02 AM
Hi,

RSACryptServiceProvider allows to specify OAEP padding.
I wonder if there is a way to specify the encoding parameter P for this
padding as specified in PKCS#1 v2 ?

And what is actually used ? I would guess "null" ?

If it is not possible to supply this parameter, i would need to do the
padding myself.
But then the next problem is that neither .Net nor CryptoApi spport raw RSA
encrypt functionality, or am i wrong here ?

I would really appreciate to get some comments on my questions.

Regards,

FrankSt
5/29/2006 3:24:02 AM
Hi,

as nobody seems to have any idea, my next try is the
RSAOAEPKeyExchangeFormatter Class.
It have some property call "Parameter" which is documented as:
"Gets or sets the parameter used to create padding in the key exchange
creation process."

Unfortunately no other information is available and the sample sets
"InverseQ" as parameter also without any comment.

So my questions are:
- Is this a parameter which is used for OAEP padding calculation ?
- Is is the P parameter ? In which form do i need to provide it ? As SHA1 of
P ?
Or do i need to do the OAEPPadding completely myself and setting it here ?

Please give some more information than the poor SDK docu.

Regards,

Frank

[quoted text, click to view]
FrankSt
7/11/2006 1:16:01 AM
Hi,

as nobody had an answer, i needed to setup a support call.
This call is not yet finished but first result is:

The P parameter is not used/supported by the RSAOAEPKeyExchangeFormatter
class.

Regards,

Frank

[quoted text, click to view]
AddThis Social Bookmark Button