Construct and encode outbound ID payload

This commit:
- Add constructors for building outbound ID payload
- Implement methods for encoding payload and getting payload length
- Fix wrong param description in IkeIdPayload constructor

Bug: 122677772
Test: FrameworksIkeTests IkeIdPayloadTest
Change-Id: I36d4a94a347a9d7d735df795ec995592ef323489
3 files changed
tree: e9d5b7449f45de2b4c29ac0f63a213ebfa2288e7
  1. src/
  2. tests/
  3. Android.mk
  4. OWNERS
  5. PREUPLOAD.cfg
  6. README.md
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.