Author: danscan | Posted on: 5/26/2006 2:05:10 PM | Views : 341




I would like to simply sign a binary array with a private key from a certification file(pvk). Currently I am getting various problems relating to the KeyExchangeAlgorithm with in the X509certification.

Basicly The following properties within the X509Certification recieve the following exception and I am unable to figure out why. I believe theses exceptions are the primary reason why I can not get the private key into the the RSACryptoServiceProvider for signing

X509Certification.key.KeyExchangeAlgorithm Exception=System.NotSupportedException
X509Certification.key.LegalKeySizes  Exception=System.NotSupportedException
<code>
store = Microsoft.Web.Services2.Security.X509.X509CertificateStore.LocalMachineStore(X509CertificateStore.MyStore.ToString())
    'store = X509CertificateStore.CurrentUserStore(X509CertificateStore.OtherPeople.ToString() ...

Go to the complete details ...