Error Occurred While Decoding Oaep Padding Vmware
NSXVirtual SAN vCenterFusionWorkstationvExpertVMware {code} CloudCredSubmit a Link Home > VMTN > VMware HorizonĀ® > VMware View > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. 3 Replies Latest reply: Aug 15, 2012 9:11 AM by dirkieFODFIN Unable to recompose or create new pools after upgrade to View 5.1 rKNotty Jun 15, 2012 3:32 AM I have upgraded our VMware View installation from https://kb.vmware.com/kb/2011962 version 4.6 to version 5.1.Now I am unable to recompose or even create pools.I am getting the following error:2012-06-15 11:00:20,220 | 3 | FATAL | Sim.ServiceCore.SimServiceApiImpl - Error: fail to execute web service call: AddDeploymentGroupVMware.Sim.CommonLib.Exception.SimCryptoException: Error occurred while decoding OAEP padding. at VMware.Sim.ServiceCore.ActiveDirectory.AdUtil.ProcessAdException(Exception ex, http://communities.vmware.com/thread/405517?tstart=0 AdConfigEntryDo adConfigDo, String containerDn, String computerAccountName, Int32 numOfRetries) at VMware.Sim.ServiceCore.ActiveDirectory.AdUtil.<>c__DisplayClass2.
here for a quick overview of the site Help Center Detailed answers to http://stackoverflow.com/questions/954416/error-occurred-while-decoding-oaep-padding any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community error occurred Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error occurred while decoding OAEP padding up vote 11 down vote favorite 1 in continuation of the http://stackoverflow.com/questions/949907/error-occurred-while-decoding-oaep-padding question I have modified my code and now i error occurred while am trying this code CspParameters cspParam = new CspParameters(); cspParam = new CspParameters(); cspParam.Flags = CspProviderFlags.UseMachineKeyStore; clsCertificates cc = new clsCertificates(); string a = ""; cc.OpenStoreIE(ref a); cc.SetProperties(); X509Certificate2 cert = new X509Certificate2(); cert = cc.x509_2Cert; RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(cspParam); //to gentrate private and public keys from the certificate rsa.FromXmlString(cert.PublicKey.Key.ToXmlString(false)); String publicKey = rsa.ToXmlString(false); // gets the public key String privateKey = rsa.ToXmlString(true); // gets the private key working if paramter is false if true give error key is not valid for use in specified state Response.Write(""); Response.Write(""); Response.Write("
Encrypting the string \"HelloThere\" with the public Key:
"); String str = "HelloThere"; RSACryptoServiceProvider RSA2 = new RSACryptoServiceProvider(cspParam); //---Load the Public key--- RSA2.FromXmlString(publicKey); //working with the folowing line instead of above but i need the keys of he certificte //RSA2.ToXmlString(true); Byte[] EncryptedStrAsByt = RSA2.Encrypt(System.Text.Encoding.Unicode.GetBytes(str), true); String EncryptedStr = System.Text.Encoding.Unicode.GetString(EncryptedStrAsByt); Response.Write