Basic Encoding Rules
Basic Encoding Rules (BER) – jedna z metod kodowania danych opisywanych specyfikacją ASN.1 (Abstract Syntax Notation One). BER opiera się na kodowaniu za pomocą trójki wartości: Tag Length Value. Poszczególne wartości to: tag (znacznik), długość i wartość. Tag identyfikuje typ w notacji Abstract Syntax Notation One.
Wyróżnia się cztery grupy typów: uniwersalny (Universal), typowy dla zastosowania (Application), zależny od kontekstu (Context-specific), prywatny (Private). Typy uniwersalne posiadają tag identyfikujący o numerach do 30d (1Eh).
| Numer | Typ prosty | Użycie |
|---|---|---|
| 0 | zarezerwowane (dla mechanizmów BER) | |
| 1 | BOOLEAN | |
| 2 | INTEGER | |
| 3 | BIT STRING | |
| 4 | OCTET STRING | |
| 5 | NULL | |
| 6 | OBJECT IDENTIFIER | |
| 7 | ObjectDescriptor | |
| 8 | EXTERNAL, INSTANCE OF | |
| 9 | REAL | |
| 10 | ENUMERATED | |
| 11 | EMBEDDED PDV | |
| 12 | UTF8String | |
| 13 | RELATIVE-OID | |
| 14 | zarezerwowane | |
| 15 | zarezerwowane | |
| 16 | SEQUENCE, SEQUENCE OF | |
| 17 | SET, SET OF | |
| 18 | NumericString | |
| 19 | PrintableString | |
| 20 | TeletexString, T61String | |
| 21 | VideotexString | |
| 22 | IA5String | |
| 23 | UTCTime | |
| 24 | GeneralizedTime | |
| 25 | GraphicString | |
| 26 | VisibleString, ISO646String | |
| 27 | GeneralString | |
| 28 | UniversalString | |
| 29 | CHARACTER STRING | |
| 30 | BMPString | |
| 31 | zarezerwowane |
Specyfikacja BER jest zamieszczona w zaleceniu ITU-T X.690 (07/02).
Linki zewnętrzne
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.