CryptoDude
CryptoDude

Reputation: 11

Convert Windows CryptoAPI PRIVATE KEY BLOB to bouncy castle RsaPrivateCrtKeyParameters

Is there any way (similar to FromCapiPrivateKeyBlob in Mono) to convert a Windows CryptoAPI PRIVATE KEY BLOB to RsaPrivateCrtKeyParameters used by Bouncy Castle?

Upvotes: 1

Views: 1486

Answers (1)

Peter Dettman
Peter Dettman

Reputation: 4062

Have a look at the Org.BouncyCastle.Security.DotNetUtilities class to see what is there in the way of conversions.

I will look at adding methods for interop with CryptoAPI blobs.

Upvotes: 1

Related Questions