Use a result object to handle AUTH validation result
This commit updates the IKE AUTH code to report response validation
result by returning a result object instead of throwing an exception.
This commit also improves code reuse by adding another abstract class
under CreateIkeLocalIkeAuthBase to include all common functionalities
for performing the first and last IKE AUTH exchanges.
This is a preparation commit for the fix to stop sending Delete
request when server sends a fatal error notification in IKE AUTH.
There is no behavior change in this commit.
Bug: 215308946
Test: atest FrameworksIkeTests
Change-Id: I49c4301d6f8981848f58408b6b9daaad634253f2
(cherry picked from commit 566a8f747e734e1639569942f741154b701437e1)
Merged-In: I49c4301d6f8981848f58408b6b9daaad634253f2
1 file changed