On 02/16/2014 10:45 AM, Edward Ned Harvey (mono) wrote:
> Yeah, I thought of that - when I first did this a few months ago, I did as 
> you suggested, but then, I think, the mono implementation differs from the 
> .NET implementation - where I think .NET generates key in constructor, but 
> since key generation is so expensive, mono delays key generation until 
> something needs it, just *hoping* the RSA object will be disposed unused 
> (which is probably very rare, I'm guessing).  Which is the reason that I do 
> the export of the key.  It's the cheapest way I can see to force creation of 
> the key.

If this is the case, that sounds like a bug. Behaviour shouldn't deviate
across implementations like that AFAIK.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to