none
Question for RSACryptoServiceProvider (Parsing RSACryptoServiceProvider.ImportParameters with zero-byte-prefix elimination?) RRS feed

  • Question

  • Hello,

    .NET requires the size of each RSA parameters to be of an exact size (wrt key pair size).

    Is it normal that I now have all the properties and delete or not the first byte when it is a zero (to remove the 0x00 header byte)

    Have you ever encountered this kind of problem, would you have any advice?

    If I do not delete the first byte, I have an error

    can you help me ?

    Thanks in advance

    Friday, March 15, 2019 11:10 AM

All replies

  • Hi

    Thank you for posting here.

    For your question, could you provide the related code?

    It will be better to solve your problem if you provide the information.

    We are waiting for your update.

    Best Regards,

    Jack



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 18, 2019 7:35 AM
    Moderator