Add asn1 to platform.

Add unit test.

Bug: 38206971
Test: unit test
Change-Id: Ifb7c7d13ad0f980ba986b3aa6c3213ad26658489
5 files changed