Monday, September 23, 2013

java.io.IOException: getSecretKey failed: PBE SecretKeyFactory not available

A month ago to do an apple push function, test applications are no problem, but now with always being given, I did not make any changes, please help me find the Great God.
javapns.communication.exceptions.KeystoreException: Keystore exception: failed to decrypt safe contents entry: java.io.IOException: getSecretKey failed: PBE SecretKeyFactory not available
at javapns.communication.KeystoreManager.wrapKeystoreException (KeystoreManager.java: 178)
at javapns.communication.KeystoreManager.loadKeystore (KeystoreManager.java: 66)
at javapns.communication.KeystoreManager.loadKeystore (KeystoreManager.java: 42)
at javapns.communication.KeystoreManager.loadKeystore (KeystoreManager.java: 29)
at javapns.communication.ConnectionToAppleServer. (ConnectionToAppleServer.java: 54)
at javapns.notification.ConnectionToNotificationServer. (ConnectionToNotificationServer.java: 16)
at javapns.notification.PushNotificationManager.initializeConnection (PushNotificationManager.java: 105)
at javapns.Push.sendPayload (Push.java: 171)
at javapns.Push.payload (Push.java: 149)
at test.TestPush.main (TestPush.java: 26)
Caused by: java.io.IOException: failed to decrypt safe contents entry: java.io.IOException: getSecretKey failed: PBE SecretKeyFactory not available
at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.engineLoad (Unknown Source)
at java.security.KeyStore.load (Unknown Source)
at javapns.communication.KeystoreManager.loadKeystore (KeystoreManager.java: 64)
... 8 more
Caused by: java.io.IOException: getSecretKey failed: PBE SecretKeyFactory not available
at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.getPBEKey (Unknown Source)
... 11 more
Caused by: java.security.NoSuchAlgorithmException: PBE SecretKeyFactory not available
at javax.crypto.SecretKeyFactory. (DashoA13 * ..)
at javax.crypto.SecretKeyFactory.getInstance (DashoA13 * ..)
... 12 more

Reply:
Copy the code out of it!
I guess you should be connected to a formal push services and testing services do not distinguish

No comments:

Post a Comment