[Mono-dev] PKCS12: adding multiple keys of the same size

Jay Miller ladenedge at yahoo.com
Wed Nov 2 17:22:57 EST 2005


Hello.  I'm not very well versed in PKCS12, so this is probably just a
misunderstanding on my part, but I'm trying to add multiple (RSA) keys
to a PKCS12 object via AddPkcs8ShroudedKeyBag.  As it turns out, I
cannot add two different keys of the same size and algorithm.

It appears that this behavior is purposeful, as the function used to
tell whether a candidate key is already found in _safeBags - called
CompareAsymmetricAlgorithm - only seems to test the similarity of the
keys' sizes and algorithms.

Can anyone comment on this?

Thanks in advance!

Jay Miller
PGP Fingerprint | 5f7adbbe bfc60727 96dca94c 616d5080 09e3e846


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the Mono-devel-list mailing list