Fix NullPointerException when building fragments with an AEAD

IkeMacIntegrity will be null when IKE Session is using AEAD.
This commit updates the IkeMessage to handle null value
IkeMacIntegrity when building IKE fragments.

Bug: 204042476
Test: atest FrameworksIkeTests (new tests), CtsIkeTestCases
Change-Id: Ib713abe4d06db3d2e30663898330edebe39ec22d
2 files changed
tree: f2aa2250e448c1ec493ef764e838494883f5f9a9
  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.