# Help me find asn.1 for Basic Encoding Rule (ISO 8825)

**URL:** <https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506>\
**Category:** Questions / Help\
**Tags:** beam, erlang, erlang-otp, asn1\
**Created:** [February 19, 2025, 9:27am UTC](https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506 "2025-02-19T09:27:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![heiheshang](https://erlangforums.com/user_avatar/erlangforums.com/heiheshang/32/1599_2.png) [@heiheshang](https://erlangforums.com/u/heiheshang)\
**Post date:** [February 19, 2025, 9:27am UTC](https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506/1 "2025-02-19T09:27:46Z")

</div>

needed to parse field 55 from iso 8583 message. as I understand it the field is encoded in the format BER-TLV Encoding of EMV Tags. Never encountered asn.1. If anyone has experience with asn.1, can you share a description for use?

---

<div class="post-metadata">

**Author:** ![vances](https://erlangforums.com/user_avatar/erlangforums.com/vances/32/710_2.png) [@vances](https://erlangforums.com/u/vances)\
**Post date:** [February 19, 2025, 11:10am UTC](https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506/2 "2025-02-19T11:10:47Z")

</div>

ASN.1 is a protocol specification language. In OTP we have the `asn1` application which provides a compiler which can produce an Erlang module (e.g. `foo.erl`) from an ASN.1 specification file (e.g. `foo.asn`). You may then compile that CODEC module and use it to decode your BER encoded data.

---

<div class="post-metadata">

**Author:** ![heiheshang](https://erlangforums.com/user_avatar/erlangforums.com/heiheshang/32/1599_2.png) [@heiheshang](https://erlangforums.com/u/heiheshang)\
**Post date:** [February 19, 2025, 11:13am UTC](https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506/3 "2025-02-19T11:13:36Z")

</div>

so I’m using this file

---

<div class="post-metadata">

**Author:** ![vkatsuba](https://erlangforums.com/user_avatar/erlangforums.com/vkatsuba/32/314_2.png) [@vkatsuba](https://erlangforums.com/u/vkatsuba)\
**Post date:** [February 19, 2025, 12:01pm UTC](https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506/4 "2025-02-19T12:01:03Z")

</div>

Some time ago I was wrote some intro about ASN.1 in Erlang [https://medium.com/erlang-battleground/erlang-asn-1-abstract-syntax-notation-one-deeb8300f479](https://medium.com/erlang-battleground/erlang-asn-1-abstract-syntax-notation-one-deeb8300f479) maybe this topic will be helpful.

---

<div class="post-metadata">

**Author:** ![schnef](https://erlangforums.com/letter_avatar_proxy/v4/letter/s/ad7895/32.png) [@schnef](https://erlangforums.com/u/schnef)\
**Post date:** [February 19, 2025, 1:19pm UTC](https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506/5 "2025-02-19T13:19:31Z")

</div>

Bedsite reading:

- [ASN.1 — Communication Between Heterogeneous Systems](https://www.oss.com/asn1/resources/books-whitepapers-pubs/asn1-books.html)
- [ASN.1 Complete](https://www.oss.com/asn1/resources/books-whitepapers-pubs/larmouth-asn1-book.pdf)

---

<div class="post-metadata">

**Author:** ![heiheshang](https://erlangforums.com/user_avatar/erlangforums.com/heiheshang/32/1599_2.png) [@heiheshang](https://erlangforums.com/u/heiheshang)\
**Post date:** [February 19, 2025, 1:39pm UTC](https://erlangforums.com/t/help-me-find-asn-1-for-basic-encoding-rule-iso-8825/4506/6 "2025-02-19T13:39:42Z")

</div>

I am looking for a ready -made EMV description in ASN.1 notations
