asn1.codecs.baper

Packed Encoding Rules (PER) is a standard for encoding ASN.1 data. It is not widely used in many protocols, but it is used for a particularly popular one: Microsoft's Remote Desktop Protocol (RDP).

There are four different variants of Packed Encoding Rules:

  • Basic Aligned Packed Encoding Rules
  • Basic Unaligned Packed Encoding Rules
  • Canonical Aligned Packed Encoding Rules
  • Canonical Unaligned Packed Encoding Rules

This module provides encoding and decoding per the Basic Aligned variant of the Packed Encoding Rules (PER), which is what RDP uses.

Packed Encoding Rules (PER) is a specification created by the https://www.itu.int/en/pages/default.aspx, International Telecommunications Union, and specified in https://www.itu.int/rec/T-REC-X.691-201508-I/en, X.690 - ASN.1 encoding rules: Specification of Packed Encoding Rules (PER)

Public Imports

asn1.codec
public import asn1.codec;
asn1.interfaces
public import asn1.interfaces : Byteable;
asn1.types.identification
public import asn1.types.identification;

Members

Aliases

BAPERElement
alias BAPERElement = BasicAlignedPackedEncodingRulesElement
BAPackedEncodingRulesElement
alias BAPackedEncodingRulesElement = BasicAlignedPackedEncodingRulesElement
BasicAlignedPERElement
alias BasicAlignedPERElement = BasicAlignedPackedEncodingRulesElement
PERElement
alias PERElement = BasicAlignedPackedEncodingRulesElement
PackedEncodingRulesElement
alias PackedEncodingRulesElement = BasicAlignedPackedEncodingRulesElement

Classes

BasicAlignedPackedEncodingRulesElement
class BasicAlignedPackedEncodingRulesElement

See Also

Meta

Authors

  • $(PERSON Jonathan M. Wilbur, jonathan@wilbur.space, http://jonathan.wilbur.space)