指定的网络密码不正确 [英] The specified network password is not correct
问题描述
System.Security.Cryptography.CryptographicException:指定的网络密码不正确。
在System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)<在System.Security.Cranptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte [] rawData,IntPtr密码,UInt32 dwFlags,布尔persistKeySet,SafeCertContextHandle&pCertCtx)上的
在System.Security。 Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte [] rawData,Object password,X509KeyStorageFlags keyStorageFlags)
at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte [] rawData,String password,X509KeyStorageFlags keyStorageFlags)
Apple推送通知中的错误提示
System.Security.Cryptography.CryptographicException: The specified network password is not correct.
at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx)
at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags)
at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
Error Give in Push Notification For Apple
推荐答案
错误消息非常具体:指定的网络密码不正确。
那么看看你的是什么代码正在做(我们不知道因为我们看不到您的屏幕)并找到您正在使用的网络密码 - 您可能选择了错误的值,或者它可能已被更改。
但我们无法为您排序 - 您将使用调试器查看错误发生的代码。
The error message is pretty specific: "The specified network password is not correct."
So look at what your code is doing (and we have no idea because we can't see your screen) and find the network password you are using - you may have picked up the wrong value, or it may have been changed.
But we can't sort that out for you - you are going to have top look at your code around where the error occurs using the debugger.
这篇关于指定的网络密码不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!