What Do I Do If the Message "Could Not Derive Key" Is Displayed When I Commission the SMS Sending Function?
During the execution of the SMS code example for AK/SK authentication, if the error message "Could not derive key" is displayed, check whether JAR package dependency conflicts exist.
For example, if the JAR package dependencies are as follows:
Maven: org.bouncycastle:bcpkix-jdk15on:1.68
Maven: org.bouncycastle:bcprov-jdk15on:1.68
Maven:org.bouncycastle:bcprov-jdk15to18:1.70
Change their versions to 1.68 as follows:
Maven: org.bouncycastle:bcpkix-jdk15on:1.68
Maven: org.bouncycastle:bcprov-jdk15on:1.68
Maven:org.bouncycastle:bcprov-jdk15to18:1.68
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.