Hi all Can anybody help me to import keys that have been generated inside the CNG space?
So far I have figured out how to export a public key from CngKey as a BLOB. I have also figured out how to parse the blob to extract the curve oid and the X Y point on the curve. I just can figure out how best to get this into a form that is usable in BC. One approach I have looked at is to export the public key in a RFC4050 xml format – but I don’t know how to import this into BC. I haven’t started looking at the private key bit yet – but I suspect this is equally complex. All help and suggestions gratefully received. Thanks Peter