Validate IKE message during decoding
This commit:
- Add IkeException class and three IKE Exception types
- Add methods for validating IKE header and IKE body
- Make IkePayload abstract
- Add IkePayloadFactory for creating IKE payload
- Add IkeUnsupportedPayload for unsupported IKE payload type
Bug: 110435061
Test: FrameworksIkeTests - testThrowInvalidMajorVersionException,
testThrowInvalidSyntaxException,
testThrowUnsupportedCriticalPayloadException
Change-Id: I99a8f4ffc9e558d62122739868d7e53d035283a2
10 files changed
tree: cedb23ac24f2c7a483b09410f8186248efa6650a
- src/
- tests/
- Android.mk
- OWNERS
- PREUPLOAD.cfg
- 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.