Extract RSAParameters from custom Private Key
-
Hi, I am currently working on
SHA256withRSA
algorithm in Window Fomrs, C#. My main objective is to get signed signature of my encryptedSHA256withRSA
string with my Custom Private Key String which I generated from an online tool. In order to do that, I came to know that it happens viaRSACryptoServiceProvider
. Now in order to complete my sign operation I have to get theRSAParameters
of my private key. And when I trying it the only part that I am getting is Modulus and Exponent part of the string. But I want to extract all of the components (P, Q, DP, DQ, InverseQ, D). So where I am stuck unable to do it for quite some time. this is my first time working with this encryption stuff. And not sure if I am following the right convention. Thanks -
Hi, I am currently working on
SHA256withRSA
algorithm in Window Fomrs, C#. My main objective is to get signed signature of my encryptedSHA256withRSA
string with my Custom Private Key String which I generated from an online tool. In order to do that, I came to know that it happens viaRSACryptoServiceProvider
. Now in order to complete my sign operation I have to get theRSAParameters
of my private key. And when I trying it the only part that I am getting is Modulus and Exponent part of the string. But I want to extract all of the components (P, Q, DP, DQ, InverseQ, D). So where I am stuck unable to do it for quite some time. this is my first time working with this encryption stuff. And not sure if I am following the right convention. ThanksWith a "custom private key string", and "component extraction", and "first time working", I wouldn't trust you.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
-
With a "custom private key string", and "component extraction", and "first time working", I wouldn't trust you.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
Gerry Schmitz, Thanks for replying. I totally understand your concern. But at first I was following this link[^] and trying to understand all of the procedures. As for my project, I would be getting a private key from the client (by adding some sort of certificate - which I don't know much about just yet, but that thing is in the future). so after getting that key I have to sign it with my
SHA256withRSA
string. And that's all I have to do for now. -
Hi, I am currently working on
SHA256withRSA
algorithm in Window Fomrs, C#. My main objective is to get signed signature of my encryptedSHA256withRSA
string with my Custom Private Key String which I generated from an online tool. In order to do that, I came to know that it happens viaRSACryptoServiceProvider
. Now in order to complete my sign operation I have to get theRSAParameters
of my private key. And when I trying it the only part that I am getting is Modulus and Exponent part of the string. But I want to extract all of the components (P, Q, DP, DQ, InverseQ, D). So where I am stuck unable to do it for quite some time. this is my first time working with this encryption stuff. And not sure if I am following the right convention. Thankstest :rolleyes: :rolleyes: :rolleyes: