'\" t .\" This documentation, which is part of the afnix writing .\" system distribution, is free and can be distributed as .\" long as this copyright notice is left intact. .\" .\" This documentation is distributed in the hope that it .\" will be useful, but without any warranty; without even .\" the implied warranty of merchantability and fitness .\" for a particular purpose. In no event, shall the .\" copyright holder be liable for any direct, incident .\" incidental or special damages arising in any way out .\" of the use of this documentation. .\" .\" Copyright (c) 1999-2016 Amaury Darsch .\" .TH itu 3 2017-03-17 AFNIX "AFNIX Module" .SH NAME itu - standard telecom module .SH STANDARD TELECOM MODULE The Standard Telecommodule is an original implementation of various standards managed by the International Telecommunictaion Union (ITU). At the heart of this module is the Abstract Syntax Notation(ANS.1) which is widely used to model data records and store certificates. .SH STANDARD TELECOM REFERENCE .PP .B AsnNode .br The AsnNodeclass is the base class used to represent the asn tree. The structure of the node is defined in ITU-T X.690 recommendation. This implementation supports 64 bits tag number with natural machine length encoding. The Canonical Encoding Rule (CER) and Distinguished Encoding Rule (DER) are defined by the class. Since ASN.1 provides several encoding schemes, the class is designed to be as generic as possible but does not provides the mechanism for changing from one representation to another although it is perfectly valid to read a DER representation and write it in the CER form. .PP .I Predicate .br .sp .RS asn-node-p .RE .PP .I Inheritance .br .sp .RS Object .RE .PP .I Methods .br .sp .RS .B write -> none (none|OutputStream|Buffer) .br The writemethod write the asn node contents as well as the child nodes to an output stream argument or a buffer. Without argument, the node is written to the interpreter output stream. With one argument, the node is written to the specified stream or buffer. .RE .PP .B AsnEoc .br The AsnEocclass is is the asn object class that encodes the eoc or end-of-content primitive. This primitive is almost never used but its encoding is used with the indefinite length encoding. .PP .I Predicate .br .sp .RS asn-eoc-p .RE .PP .I Inheritance .br .sp .RS AsnNode .RE .PP .I Constructors .br .sp .RS .B AsnEoc (none) .br The AsnEocconstructor creates a default asn eoc node. .RE