public enum Asn1Type
Public Enumeration Asn1Type
public enum class Asn1Type
type Asn1Type
RESERVED | 0 | Reserved for BER. |
BOOLEAN | 1 | The boolean type, declared with the keyword BOOLEAN, whose two possible values are TRUE and FALSE. |
INTEGER | 2 |
The integer type, declared in ASN.1 by the keyword INTEGER, which stand for any positive or negative
integer whatever its length.
Note, however, that this set of values does not include singular values like +∞ or -∞. These values are members of the REAL type |
BIT_STRING | 3 |
The BIT STRING is used to transmit data that are inherently binary (a compressed facsimile
or encrypted data, for example) or to model boolean vectors (a list of choices in an MMI window. The BIT STRING
type should be used only when it is absolutely necessary.
The binary string can be of null length or arbitrarily long. |
OCTET_STRING | 4 |
In ASN.1, an octet string, like a binary string, can be arbitrarily long.
Generally, the OCTET STRING type is used to transmit data that are intrinsically binary (which can be divided into 8-bit packets) |
NULL | 5 | It contains a single value, the value NULL (note the ambiguity between the value notation and the type notation), which conveys only one piece of information (when the value gets through, the receiver knows what semantic should be associated with it). |
OBJECT_IDENTIFIER | 6 | An object identifier is an identifier used to name an object (compare URN). Structurally, an OID consists of a node in a hierarchically-assigned namespace, formally defined using the ITU-T's ASN.1 standard. Successive numbers of the nodes, starting at the root of the tree, identify each node in the tree. Designers set up new nodes by registering them under the node's registration authority. |
ObjectDescriptor | 7 | This string type is derived from the GraphicString and VisibleString types (see below). |
EXTERNAL | 8 | Type EXTERNAL takes values that communicate both data and how the data should be interpreted. The type of the data need not be an ASN.1 type. EXTERNAL is used, for example in the Association Control Service Element (ACSE) that is common to all OSI applications, to model a variable whose type is either unspecified or specified elsewhere. There is no restriction on the notation to specify the type. |
REAL | 9 |
The real numbers are just like the other real numbers in information technology (decimals).
The type REAL in ASN.1 can model arbitrarily long but finite decimals. |
ENUMERATED | 10 |
The type of enumerations is declared with the keyword ENUMERATED.
For an ENUMERATED type, a number is associated (implicitly or explicitly) with every identifier whereas, for an INTEGER type, an identifier is (explicitly) associated with each integer. |
EMBEDDED_PDV | 11 | Embedded PDV was created to carry any values, whether or not it is defined in ASN.1. This type has the ability to identify the type and the transfer syntax for the value being carried. ASN.1 has an associated type which must be referenced to create an Embedded PDV type. |
UTF8String | 12 | a variable format which encode ASCII characters on one octet (7 bits in fact) accordingly with the IA5 alphabet and the others in a sequence of two to six octets. |
RELATIVE_OID | 13 | RELATIVE-OID is used when many transmitted object identifiers denote objects registered in the same sub-tree of the registration tree. Otherwise said, all these identifiers relate to a common reference node. |
SEQUENCE | 16 | Models an ordered collection of variables of different type. |
SET | 17 | Models an unordered collection of variables of different type. |
NumericString | 18 | Models data entered from such devices as telephone handsets. Numeric string may contain numeric characters 0-9 and space character (as per X.401). |
PrintableString | 19 | PrintableString is an acceptable character set for the DirectoryName data type. PrintableString
comprises a subset of the ASCII character set, and does not include the at sign (@) or ampersand (&).
The corresponding alphabet consists of spaces, upper-case and lower-case letters, digits and the symbols "'", "(", ")","+", ",", "-", ".", "/", ":", "=" and "?" |
TeletexString | 20 | The Teletex was designed as a 'super-telex' service for inter-connecting word-processing machines according to a page-based transmission mode with an alphabet of 308 characters. |
VideotexString | 21 | The Videotex system enables the user to visualize on a television screen or any equivalent terminal numerical text or graphical information transmitted on the telephone network (pseudographic). |
IA5String | 22 | The 'International Alphabet number 5' (or IA5) is based on 7-bit characters and was jointly published by ISO and ITU-T (1963). It has become the basic character set of most of the communicating systems. It is generally equivalent to the ASCII alphabet (international standard de-facto), but national versions, which can take into account accents or characters specific to some spoken languages may be proposed by national standardization organizations. |
UTCTime | 23 |
In case the flexibility offered by the various formats of the GeneralizedTime is not necessary,
one may use the UTCTime type whose (more restricted) format is the following:
|
GeneralizedTime | 24 |
An extended representation of the Universal Coordinated Time. This format can remove interpretation ambiguities
of a notation such as 5/12", which means 5th of December" in France and 12th of May" in Anglo-Saxon countries.
A value of type GeneralizedTime is therefore made of:
|
GraphicString | 25 | A character string that can include spaces and any of the graphical (i.e. visible) character sets (called "G") registered in the 'International Register of Coded Character Sets to be used with Escape Sequences'. |
VisibleString | 26 | The ASN.1 character string type VisibleString encompasses all visible characters of the IA5String character set but do not include escape characters, newlines or any combination such as those for obtaining the accents with the backspace, for example. |
GeneralString | 27 | GeneralString type is based on all the character sets of the GraphicString type described above and includes all the control character sets (called "C"). Today, its use is not recommended. |
UniversalString | 28 | Universal string can contain characters from all the alphabets of all the languages on Earth. Each character is encoded by using 4 bytes. |
CHARACTER_STRING | 29 | The CHARACTER STRING type is the concrete application of the EMBEDDED PDV type to the special case of a character string. |
BMPString | 30 | It is useless to encode each character on four bytes since the first two bytes are systematically null and all remaining 65,536 cells belong to the first plane (group 0, plane 0) called Basic Multilingual Plane (BMP). This encoding on two bytes is called UCS-2. |
TAG_MASK | 31 | TAG_MASK |