Skip to content

Subproject Xbup Asn1

hajdam edited this page Nov 10, 2024 · 1 revision

Project: XBUP-ASN1

This document is part of the eXtensible Binary Universal Protocol project documentation. Provides description of the project to create a scheme for ASN.1 encoding using XBUP format.

Introduction

The aim of XBUP-ASN.1 project is to create specific variant of encoding rules for ASN.1 (Abstract Syntax Notation 1). That option should be used as an alternative for different available rules, such as BER, DER, PER, XER and others.

Motivation

ASN.1 as a widely used protocol …

XBUP-ER Encoding Rules

The following rules describe how to encode data of ASN.1 protocol into the XBUP protocol. This is only a preliminary draft.

Rules based on the transfer encoding BER and its shape. Alternatively, you can use encryption XER in conjunction with XBUP-XML.

Tag Classes

Basic tags are the following four types (equivalent to “Identifier octets”):

  • Universal (1)
  • Application (2)
  • Context-specific (3)
  • Private (4)

Each of these tags have the following attribute item “tag number” and the tag ContentLink, which refers to the data block coded depending on the type as described in “BER / Content octets.” Regarding the constructed type, it includes all items from the first marked ContentLink and must be one of the listed tag class.

Clone this wiki locally