ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Difference between IMPLICIT and EXPLICIT tags?

how implicit tagging reduces overhead of number of bytes transferred in ASN.1 ?

user-image
تم إضافة السؤال من قبل Khadijah Shtayat , Technical Lead , Opensooq
تاريخ النشر: 2013/06/12

When using BER (BASIC ENCODING RULES) or DER (DISTINGUISHED ENCODING RULES), data for types are encoding using a Type-Length-Value format. Each primitive ASN.1 Type such as INTEGER has a UNIVERSAL TAG assigned by the ASN.1 standard. If you have just

A ::= INTEGER

This has a tag of UNIVERSAL2, so an encoding of the interger value5 in BER would be in hex020105.

B ::= [2] IMPLICIT INTEGER

For B, with an implicit tag, this says to replace the existing tag on INTEGER with [2], so the encoding in BER of the value5 would be in hex820105.

C ::= [2] EXPLICIT INTEGER

For C, with an explicit tag, this says to add [2] in front of the existing tag, so the encoding in BER of the value5 would be in hex A.

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟