GB/T 16263.2-2025Information technology - ASN.1 encoding rules - Part 2: Specification of Packed Encoding Rules (PER) (English PDF)
This is a limited preview
Buy now to download the full PDF (77 pages)
Need quotation for your management?
Get a formal quotation for GB/T 16263.2-2025 in 30 minutes.
Issued by
State Administration for Market Regulation, China National Standardization Administration
Level / Type
National · Recommended
Issue date
May 30, 2025
Implementation date
December 1, 2025
Scope
GB/T 16263.2-2025 (Information technology - ASN.1 encoding rules - Part 2: Specification of Packed Encoding Rules (PER)) is available as an English-translated PDF.
GB/T 16263.2-2025 — This document specifies a set of compact encoding rules that can be used to derive transmission codes for type values defined in GB/T 16262.1-2025.
These packed encoding rules also apply to decoding such transfer syntaxes in order to identify the data values being transferred.
The encoding rules specified in this document are. ---Used during communication; --- When choosing encoding rules, minimize the size of the value representation as the main consideration; --- For all extended forms described in GB/T 16262.1-2025, it is allowed to increase the value while retaining the encoding of the existing value.
External values extend the abstract syntax; ---Can be modified according to ISO/IEC 8825-6:2021.
Found what you need?
Document preview — GB/T 16263.2-2025
National Standard of the People's Republic of China
- ICS
- 35.110
- Classification
- L 79
- Replacing
- GB/T 16263.2-2006
Issued by: State Administration for Market Regulation, China National Standardization Administration
Contents
- Preface
- Introduction
- 1 Scope
- 2 Normative references
- 3 Terms and Definitions
- 3.1 Basic notation specification
- 3.2 Information Object Specification
- 3.3 Constraint Specification
- 3.4 Parameterization of the ASN.1 specification
- 3.5 Basic Coding Rules
- 3.6 PER Encoded Instruction
- 3.7 Additional Definitions
- 4 Abbreviations
- 5 Notation
- 6 Agreement
- 7 Encoding rules defined in this document
- 8 Compliance
- 9 PER coded instruction
- 10 Encoding method used by PER
- 10.1 Use of type notation
- 10.2 Using Labels to Provide Regular Order
- 10.3 PER Visibility Constraints
- 10.4 Encoding the type and value model
- 10.5 Encoding Structure
- 10.6 Encoded Type
- 11 Coding Process 11
- 11.1 Production of the complete code
- 11.2 Open Type Fields
- 11.3 Encoding of non-negative binary integers
- 11.4 Encoding of Two's Complement Binary Integers
- 11.5 Encoding of restricted integers
- 11.6 Encoding of Normal Small Non-Negative Integers
- 11.7 Encoding of Semirestricted Integers
- 11.8 Encoding of Unrestricted Integers
- 11.9 General Rules for Encoding Length Determinants
- 12 Encoding of Boolean Types
- 13 Encoding of integer types
- 14 Encoding of enumeration types
- 15 Encoding of real number types
- 16-bit string type encoding
- 17 Encoding of octet string type
- 18 Encoding of null value types
- 19 Encoding of sequence types
- 20 Encoding of a single sequence type
- 21 Encoding of collection types
- 22 Encoding of a single collection type
- 23 Select the type of code
- 24 Encoding of object identifier type
- 25 Encoding of the associated object identifier type
- 26 Encoding of internationalized resource reference types
- 27 Encoding of relevant internationalized resource reference types
- 28 Embedded pdv type encoding
- 29 Encoding of external type values
- 30 Encoding of restricted string types
- 31 Unrestricted string type encoding
- 32 Coding of time types, valid time types, defined time types, and additional time types
- 33 Object Identifier of Transfer Syntax
- Appendix A (Informative) Coding Example
- A.1 Records without subtype constraints
- A.2 Records using subtype constraints
- A.3 Records using extension tags
- A.4 Records using extended additional groups
- Appendix B (Informative) Combining PER Visible Constraints and PER Non-Visible Constraints
- B.1 Overview
- B.2 Scalability and visibility of constraints in PER
- B.3 Example
- Appendix C (Informative) Support for the PER algorithm
- Appendix D (Informative) Support for Extensible ASN.1 Rules
- Appendix E (Informative) Guidance on PER Code Splicing Appendix
- Appendix F (Informative) Identification of Coding Rules
- 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 2 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.2-2006 "Information Technology ASN.1 Coding Rules" and is consistent with GB/T 16263.2-2006.
In addition to structural adjustments and editorial changes, the main technical changes are as follows.
--- Increased the scope of application of the tightened coding rules (see Chapter 1);
--- Added the definition of PER encoding instruction (see 3.6);
--- Changed the content of non-negative binary integer encoding (see 3.7.20, 3.6.20 of the 2006 edition);
--- Added PER encoding instruction (see Chapter 9);
--- Changed the way the complete code is generated during the encoding process (see 11.1, 10.1 of the 2006 edition);
--- Changed the encoding rules of bit string types (see 16.6, 15.6 of the 2006 edition);
--- Changed the encoding rules of octet string types (see 17.3, 16.3 of the 2006 edition);
---Added encoding of internationalized resource reference types (see Chapter 26);
---Added the encoding of relevant international resource reference types (see Chapter 27);
--- Changed the encoding rules for restricted string types (see 30.4, 30.6.1, 30.6.3, 27.4, 27.6.1, 27.6.3 of the 2006 edition);
---Added the encoding of time types, valid time types, defined time types and additional time types (see Chapter 32);
--- Changed the expression of the encoding rules of the object identifier of the transfer syntax (see 33.2, Chapter 29 of the 2006 edition);
--- Changed the title of Appendix F and the text of the text (see Appendix F, Appendix F of the 2006 edition).
This document is equivalent to ISO/IEC 8825-2:2021 "Information technology ASN.1 encoding rules Part 2: Condensed encoding rules" (PER) Specification.
Introduction
GB/T 16262.1-2025, GB/T 16262.2-2025, GB/T 16262.3-2025 and GB/T 16262.4-2025 Describes Abstract Syntax Notation One (ASN.1), which defines messages exchanged between peer applications.
The encoding rules defined in this document apply to type values determined using the notation specified in GB/T 16262.1-2025.
The encoding rules generate the transfer syntax for these values. These encoding rule specifications also implicitly apply to decoding.
There are multiple sets of encoding rules for ASN.1 type values. This document defines the Permitted Encoding Rules (PER).
It is a set of condensed coding rules because this set of coding rules is more comprehensive than the basic coding rules described in GB/T 16263.1-2025.
(BER) and its derived encoding rules are more compact. GB/T 16263.1-2025 is a compact encoding rule specification for some parts.
refer to.
GB/T 16263 is planned to consist of eight 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 2: Specification of the Reduced Encoding Rules (PER)
1 Scope
This document specifies a set of compact encoding rules that can be used to derive transmission codes for type values defined in GB/T 16262.1-2025.
These packed encoding rules also apply to decoding such transfer syntaxes in order to identify the data values being transferred.
The encoding rules specified in this document are.
---Used during communication;
--- When choosing encoding rules, minimize the size of the value representation as the main consideration;
--- For all extended forms described in GB/T 16262.1-2025, it is allowed to increase the value while retaining the encoding of the existing value.
External values extend the abstract syntax;
---Can be modified according to ISO/IEC 8825-6:2021.
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) GB/T 16262.3-2025 Information technology Abstract syntax notation 1 (ASN.1) Part 3: Constraint specification (ISO/IEC 8824-3:2021,IDT) GB/T 16262.4-2025 Information technology Abstract Syntax Notation One (ASN.1) Part 4: Parameterization of ASN.1 specifications (ISO/IEC 8824-4:2021, IDT) GB/T 16263.1-2025 Information technology ASN.1 encoding rules Part 1: Basic encoding rules (BER), regular encoding Specification of the Common Encoding Rules (CER) and the Untypical Encoding Rules (DER) (ISO/IEC 8825-1:2021, IDT) ISO/IEC 8825-6:2021 Information technology ASN.1 encoding rules Part 6: Registration and application of PER encoding instructions structures)
3 Terms and definitions
The following terms and definitions apply to this document.
3.1 Basic Notation Standards
The terms and definitions defined in GB/T 16262.1-2025 apply to this document.
......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 77 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 16262.3-2025Information technology - Abstract Syntax Notation One (ASN.1) - Part 3: Constraint specification
- GB/T 16262.4-2025Information technology - Abstract Syntax Notation One(ASN.1) - Part 4: Parameterization of ASN.1 specifications
- 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)
ISO/IEC 8824 · ISO/IEC 8825
Cited by
- GB/T 16262.1-2025Information technology - Abstract Syntax Notation One(ASN.1) - Part 1: Specification of basic notation
- 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 45906.3-2025Substation secondary system - Part 3: Communication message specification
- GB/T 28826.4-2022Information technology - Common biometric exchange formats framework - Part 4: Security block format specifications
- GB/T 41810-2022IoT identification system—Requirements of object identifier encoding and storage
How to Download GB/T 16263.2-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 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
GB/T 16262.3-2025 — Information technology - Abstract Syntax Notation One (ASN.1) - Part 3: Constraint specification
Secure payment via Stripe
Payments accepted
GB/T 16263.2-2025
$1,295.00