GB/T 16263.1-2025Information technology - ASN.1 encoding rules - Part 1: Specification of Basic Encoding Rules(BER), Canonical Encoding Rules(CER) and Distinguished Encoding Rules(DER) (English PDF)
This is a limited preview
Buy now to download the full PDF (30 pages)
Need quotation for your management?
Get a formal quotation for GB/T 16263.1-2025 in 30 minutes.
Issued by
State Administration for Market Regulation, China National Standardization Administration
Level / Type
National · Recommended
Issue date
April 25, 2025
Implementation date
November 1, 2025
Scope
GB/T 16263.1-2025 (Information technology - ASN.1 encoding rules - Part 1: Specification of Basic Encoding Rules(BER), Canonical Encoding Rules(CER) and Distinguished Encoding Rules(DER)) is available as an English-translated PDF.
GB/T 16263.1-2025 — This document specifies a set of basic encoding rules that are also applicable to decoding this transfer syntax and are used to identify the transmitted this document also specifies regular encoding rules and a set of atypical encoding rules that restrict the encoding of values to the basic encoding rules. An alternative encoding is provided.
Found what you need?
Document preview — GB/T 16263.1-2025
National Standard of the People's Republic of China
- ICS
- 35.100.60
- Classification
- L 79
- Replacing
- GB/T 16263.1-2006
Issued by: State Administration for Market Regulation, China National Standardization Administration
Contents
- Preface
- Introduction
- 1 Scope
- 2 Normative references
- 3 Terms and Definitions
- 4 Abbreviations
- 5 Notation
- 6 Agreement
- 7 Compliance
- 8 Basic coding structure
- 8.1 General Rules for Coding
- 8.2 Encoding of Boolean Values
- 8.3 Encoding of integer values
- 8.4 Encoding of enumeration values
- 8.5 Encoding of real values
- 8.6 Encoding of bit string values
- 8.7 Encoding of octet string values
- 8.8 Encoding of Null Values
- 8.9 Encoding of sequence values
- 8.10 Encoding of a single sequence value
- 8.11 Encoding of collection values
- 8.12 Encoding of a single set value
- 8.13 Encoding of selected values
- 8.14 Encoding of prefixed type values
- 8.15 Open Type Encoding
- 8.16 Encoding of singleton values
- 8.17 Encoding of embedded pdv type values
- 8.18 Encoding of external type values
- 8.19 Encoding of object identifier values
- 8.20 Encoding of associated object identifier values
- 8.21 Encoding of OID Internationalized Resource Identifier Values
- 8.22 Encoding of Relative OID Internationalized Resource Identifier Values
- 8.23 Encoding of restricted string values
- 8.24 Encoding of unrestricted string values
- 8.25 Encoding of Useful Type Values
- 8.26 The TIME type and the encoding of useful time type values
- 9 Regular encoding rules
- 9.1 Length form
- 9.2 String Encoding Format
- 9.3 Collection Components
- 10 Atypical Coding Rules
- 10.1 Length format
- 10.2 String Encoding Format
- 10.3 Collection Components
- 11 Limitations of BER Use for CER and DER
- 11.1 Boolean values
- 11.2 Unused bit
- 11.3 Real Values
- 11.4 GeneralString value
- 11.5 Collection and Sequence Components with Default Values
- 11.6 Single Collection Components
- 11.7 GeneralizedTime
- 11.8 UTCTime(Universal Coordinated Time)
- 11.9 TIME Type and Useful Time Types
- 12 Use of BER, CER and DER in transfer syntax definition
- Appendix A (Informative) Coding Example
- Appendix B (Informative) Object Identifier Assignment
- Appendix C (Informative) Examples of real value encoding
- References
Foreword
This document is in accordance with the provisions of GB/T 1.1-2020 "Guidelines for standardization work Part 1: Structure and drafting rules for standardization documents" Drafting.
This document is Part 1 of GB/T 16263 Information Technology ASN.1 Coding Rules. GB/T 16263 has published the following part.
--- Part 1: Specifications of Basic Encoding Rules (BER), Regular Encoding Rules (CER) and Untypical Encoding Rules (DER);
--- Part 2: Specification of Restricted Encoding Rules (PER);
--- Part 4: XML Encoding Rules (XER);
--- Part 5: Mapping of W3C XML Schema Definitions to ASN.1.
This document replaces GB/T 16263.1-2006 "Information Technology ASN.1 Encoding Rules Part 1: Basic Encoding Rules (BER), Compared with GB/T 16263.1-2006, the Standard for Regular Encoding Rules (CER) and Untypical Encoding Rules (DER) has made structural adjustments and in addition to logical changes, the main technical changes are as follows.
--- "UTF8" was added to the abbreviations and "ULA" was deleted (see Chapter 4, Chapter 4 of the 2006 edition);
--- Added relevant provisions on coding structure (see 8.1.1.5);
--- Changed the description of real value 0 encoding (see 8.5.2, 8.5.3 and 8.5.9, 8.5.2 and 8.5.8 of the 2006 edition);
--- Added relevant provisions for "encoding of prefixed type values" (see 8.14.1);
--- Added "Encoding of OID international resource identifier values", "Encoding of relative OID international resource identifier values", "TIME class relevant provisions of "Encoding of Type and Useful Time Type Values" (see 8.21, 8.22 and 8.26);
--- Added the relevant provisions for converting "TIME type and useful time type values" to the standard format (see 11.9);
--- Added "OID International Resource Identifier" to identify and describe basic encoding rules (see Chapter 12);
This document is equivalent to ISO/IEC 8825-1:2021 "Information technology ASN.1 encoding rules Part 1: Basic encoding rules (BER), Regular Encoding Rules (CER), and Degenerate Encoding Rules (DER) specifications.
The following minimal editorial changes were made to this document.
--- Change the normative references to specific clauses in the text to date references;
--- Delete the "Note" in the normative reference documents and quote the latest version of ISO/IEC 10646.The reference content does not involve technical changes;
--- In Chapter 4, the abbreviation "ULA" which is not cited in the whole text is deleted;
---Unify the abbreviations "UTF-8" and "UTF8" throughout the text to the abbreviation "UTF8" defined in Chapter 4.
Introduction
GB/T 16262.1-2025, GB/T 16262.2-2025, GB/T 16262.3-2025 and GB/T 16262.4-2025 (Abstract Syntax Notation One or ASN.1) together specifies the notation for abstract syntax. This document defines the encoding of type values defined using ASN.1 notation.
The application of these encoding rules produces the transfer syntax for these values, and also applies to decoding.
This document defines three sets of encoding rules, namely basic encoding rules, regular encoding rules and atypical encoding rules.
In the code, the basic encoding rules give various choices for how the encoder transmitter encodes the data value, while the regular encoding rules and the atypical encoding rules Then only one encoding is selected from those allowed by the basic encoding rules, excluding all options for the sender.
The set of restrictions that atypical encoding rules impose on basic encoding rules is different from each other.
Appendix A gives examples of applying basic coding rules.
Appendix B summarizes the assignment of Object Identifier and OID International Resource Identifier values generated in this document.
Appendix C gives examples of applying the basic encoding rules to encoded real numbers.
GB/T 16263 is planned to consist of 8 parts.
--- Part 1: Basic Encoding Rules (BER), Regular Encoding Rules (CER) and Untypical Encoding Rules (DER) specifications.
To specify a set of basic encoding rules.
--- Part 2: Specification of the compressed encoding rules (PER). The purpose is to specify a set of compressed encoding rules.
--- Part 3: Encoding Control Notation (ECN) Specification. The purpose is to standardize the ASN.1 Encoding Control Notation.
--- Part 4: XML Encoding Rules (XER). The purpose is to specify the Basic XML Encoding Rules (BASIC-XER), regular XML Encoding Rules Set (CXER) and Extended XML Encoding Rules Set (EXTENDED-XER).
--- Part 5: Mapping of W3C XML Schema Definitions to ASN.1.The purpose is to define the mapping from any XSD schema to ASN.1 There are two versions of the mapping mode.
--- Part 6: Registration and application of PER coded instructions. The purpose is to specify the PER coded instruction format, mechanism, registration agency Methods of operation, PER and ASN.1 related.
--- Part 7: Octet Encoding Rules (OER) Specification. The purpose is to provide constraints for the Basic Octet Encoding Rules and Generates a unique encoding for any given ASN.1 value.
--- Part 8: JavaScript Object Notation Encoding Rules (JER) specification. The purpose is to specify a set of JavaScript objects Representation encoding rules for applications that interoperate with JSON.
Information technology ASN.1 encoding rules Part 1: Basic Encoding Rules (BER), Regular Encoding Rules (CER) and Degenerate Encoding Rules (DER) Specification
1 Scope
This document specifies a set of basic encoding rules that are also applicable to decoding this transfer syntax and are used to identify the transmitted this document also specifies regular encoding rules and a set of atypical encoding rules that restrict the encoding of values to the basic encoding rules.
An alternative encoding is provided.
2 Normative references
The contents of the following documents constitute essential clauses of this document through normative references in this document.
For referenced documents without a date, only the version corresponding to that date applies to this document; for referenced documents without a date, the latest version (including all amendments) applies to this document.
GB/T 16262.1-2025 Information technology Abstract syntax notation 1 (ASN.1) Part 1: Basic notation specification (ISO/IEC 8824-1:2021, IDT) GB/T 16262.2-2025 Information technology Abstract syntax notation 1 (ASN.1) Part 2: Information object specification (ISO/IEC 8824-2:2021,IDT) Note. GB/T 2311-2000 Information technology character code structure and extension technology (ISO/IEC 2022:1994, IDT) Note. GB/T 12054-1989 Registration procedure for data processing escape sequences (ISO 2375:1985, NEQ) Note. SJ/Z9047-1987 Information processing - Method for representing numerical values in character string form for information exchange (ISO 6093:1985, IDT) ISO/IEC 7498-1 Information technology Open Systems Interconnection Basic reference model Part 1: Basic model Note. GB/T 9387.1-1998 Information technology Open Systems Interconnection Basic Reference Model Part 1: Basic Model (ISO/IEC 7498-1.
1994,IDT)
Note. GB/T 13000-2025 Information technology Universal coded character set (UCS) (ISO/IEC 10646:2020, MOD)
......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 30 pages — is available in the English PDF.
Referenced standards
Normative references
- GB/T 16262.1-2025Information technology - Abstract Syntax Notation One(ASN.1) - Part 1: Specification of basic notation
- GB/T 16262.2-2025Information technology - Abstract Syntax Notation One (ASN.1) - Part 2: Information object specification
- GB/T 13000-2025Information technology - Universal coded character set(UCS)
ISO/IEC 8824 · GB/T 2311-2000 · ISO/IEC 2022 · GB/T 12054-1989 · ISO 2375 · ISO 6093 · ISO/IEC 7498 · GB/T 9387.1-1998 · ISO/IEC 10646
Cited by
- GB/T 16262.1-2025Information technology - Abstract Syntax Notation One(ASN.1) - Part 1: Specification of basic notation
- GB/T 16263.2-2025Information technology - ASN.1 encoding rules - Part 2: Specification of Packed Encoding Rules (PER)
- GB/T 16263.4-2025Information technology - ASN.1 encoding rules - Part 4: XML Encoding Rules (XER)
- GB/T 16263.5-2025Information technology - ASN.1 encoding rules - Part 5: Mapping W3C XML schema definitions into ASN.1
- GB/T 19713-2025Cybersecurity technology - Public key infrastructure - Online certificate status protocol
- GB/T 45284.1-2025Information technology - Extensible biometric data interchange formats - Part 1: Framework
How to Download GB/T 16263.1-2025
- 1
Add to cart
Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.
- 2
Checkout
Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).
- 3
Instant delivery (0–9 sec)
Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.
- 4
Invoice included
A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.
Related Standards
GB/T 13000-2025 — Information technology - Universal coded character set(UCS)
GB/T 16262.1-2025 — Information technology - Abstract Syntax Notation One(ASN.1) - Part 1: Specification of basic notation
GB/T 16262.2-2025 — Information technology - Abstract Syntax Notation One (ASN.1) - Part 2: Information object specification
Secure payment via Stripe
Payments accepted
GB/T 16263.1-2025
$620.00