ECDSACng - How to Import a given Pulic Key

  • Thread starter Thread starter Kristofer
  • Start date Start date
K

Kristofer

Hi everybody.

I have a question regarding the new ECDSACng Class in .Net 3.5. Sadly, there
are no examples in the msdn library about it..
My problem is the following:
I have a signature, data that was signed and a given public key.
My task is to verify the signature..
But how do i import the public key into the ECDSA or the CngKey Object? When
i try to import the public key (384 bit) into the CngKey it always gives me
an error.. "wrong parameter"!
I think there is more as only the key to import, but what exactly?

I hope someone can help me!

Thanks and best regards
K
 
Back
Top