HANDSHAKE_FAILED - can be triggered by setting VerifyPeer=true using the Java Security Lib Example Certificates
INVALID_CERT - can be triggered by sending an app certificate with an app ID which is different from the one that the app registered with
EXPIRED_CERT - can be triggered by sending an expired app certificate (or by modifying the GetSystemTime response from the HMI)
Summary
Adds logic for missing error codes in SendInternalError query (HANDSHAKE_FAILED, ERROR_INVALID_CERT, and ERROR_EXPIRED_CERT)
Changelog
Bug Fixes
Adds logic for missing error codes in SendInternalError query
Adds missing security query specification details from https://github.com/smartdevicelink/protocol_spec/issues/40
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
HANDSHAKE_FAILED - can be triggered by setting
VerifyPeer=true
using the Java Security Lib Example Certificates INVALID_CERT - can be triggered by sending an app certificate with an app ID which is different from the one that the app registered with EXPIRED_CERT - can be triggered by sending an expired app certificate (or by modifying the GetSystemTime response from the HMI)Summary
Adds logic for missing error codes in SendInternalError query (HANDSHAKE_FAILED, ERROR_INVALID_CERT, and ERROR_EXPIRED_CERT)
Changelog
Bug Fixes
CLA