Manage IkeExchangeSubType in IkeMessage

Clean up the code to move IkeExchangeSubType from
IkeSessionStateMachine to IkeMessage. It will
make it easier to mock a IkeMessage with a specific
IkeExchangeSubtype

Bug: 193145138
Test: atest FrameworksIkeTests, CtsIkeTestCases
Original-Change: https://android-review.googlesource.com/1858894
Merged-In: I9ce780d6d12802dd131ae59421738bab163a6620
Change-Id: I9ce780d6d12802dd131ae59421738bab163a6620
7 files changed
tree: 71e94b9dfaa70fc99eb316070c188567a72ae234
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. jarjar-rules-test.txt
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. TEST_MAPPING
README.md

IKEv2 Library for Android

Introduction

This IKEv2 library is an in-process client library implementing the IKEv2 protocol as well as extensions necessary for the support of IWLAN. It is designed to work in a non-privileged fashion on top of the Android IPsec API surface.