2 -- File used in the test sequence Test_tree.
5 TEST_TREE {iso(1) identified-organization(3) dod(6) internet(1)
6 security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-implicit-88(2)}
8 DEFINITIONS IMPLICIT TAGS ::=
12 KrbError ::= [APPLICATION 30] SEQUENCE {
16 Checksum ::= SEQUENCE {
17 checksum [1] OCTET STRING
20 CertTemplate ::= SEQUENCE {
21 version [0] INTEGER OPTIONAL,
22 issuer [3] Name OPTIONAL,
23 validity [4] INTEGER OPTIONAL
27 rdnSequence RDNSequence }
29 RDNSequence ::= RelativeDistinguishedName
31 RelativeDistinguishedName ::=
33 SET SIZE (1 .. MAX) OF AttributeTypeAndValue
35 AttributeTypeAndValue ::= SEQUENCE {
37 value AttributeValue }
39 AttributeType ::= OBJECT IDENTIFIER
40 AttributeValue ::= ANY
43 sequenceEmpty ::= SEQUENCE{
45 seq1 [1] IMPLICIT Sequence_octetTest1,
46 set1 [2] EXPLICIT SET OF INTEGER
50 IndefiniteLengthTest ::= SEQUENCE{
51 seq1 [1] IMPLICIT Sequence_octetTest1,
52 set1 SET OF OBJECT IDENTIFIER,
58 oid3 [3] OBJECT IDENTIFIER DEFAULT id-Test,
59 oid [1] OBJECT IDENTIFIER DEFAULT id-anyTest2,
60 oid2 [2] OBJECT IDENTIFIER DEFAULT id-anyTest
63 OidAndTimeTest ::= SEQUENCE{
65 oid OBJECT IDENTIFIER,
66 time2 GeneralizedTime,
69 bit BIT STRING OPTIONAL,
70 bol2 BOOLEAN DEFAULT TRUE,
71 enum ENUMERATED {v1(1),v2(2)} DEFAULT v1,
73 gen GeneralString OPTIONAL,
77 SequenceTestTag ::= SEQUENCE{
78 int1 [2] EXPLICIT INTEGER,
79 int2 [3] IMPLICIT INTEGER,
80 str1 [1] IMPLICIT PrintableString,
82 str3 [2] EXPLICIT UniversalString
86 Sequence1 ::= SEQUENCE{
87 int1 [0] INTEGER {v1(0),v2(1),v3(2)} DEFAULT v2,
92 any1 ANY DEFINED BY id OPTIONAL
95 DHParameter ::= SEQUENCE {
98 privateValueLength INTEGER OPTIONAL
101 id-octetTest1 OBJECT IDENTIFIER ::= {1 2 3 4}
103 Sequence_octetTest1 ::= SEQUENCE{
113 id-ic OBJECT IDENTIFIER ::= {2 5}
114 id-anyTest OBJECT IDENTIFIER ::= {id-ic 29 1}
115 id-anyTest2 OBJECT IDENTIFIER ::= {id-ic 29 2}
121 VisibleString ::= [UNIVERSAL 26] IMPLICIT OCTET STRING
123 NumericString ::= [UNIVERSAL 18] IMPLICIT OCTET STRING
125 IA5String ::= [UNIVERSAL 22] IMPLICIT OCTET STRING
127 TeletexString ::= [UNIVERSAL 20] IMPLICIT OCTET STRING
129 PrintableString ::= [UNIVERSAL 19] IMPLICIT OCTET STRING
131 UniversalString ::= [UNIVERSAL 28] IMPLICIT OCTET STRING
132 -- UniversalString is defined in ASN.1:1993
134 BMPString ::= [UNIVERSAL 30] IMPLICIT OCTET STRING
135 -- BMPString is the subtype of UniversalString and models
136 -- the Basic Multilingual Plane of ISO/IEC/ITU 10646-1
138 UTF8String ::= [UNIVERSAL 12] IMPLICIT OCTET STRING
139 -- The content of this type conforms to RFC 2279.
144 b [1] EXPLICIT GeneralString2
148 GeneralString2 ::= [2] EXPLICIT GeneralString
150 X520LocalityName ::= CHOICE {
151 teletexString TeletexString,
152 printableString PrintableString,
153 universalString UniversalString,
154 utf8String UTF8String,
155 bmpString BMPString }
158 id-Test OBJECT IDENTIFIER ::= {1 2 29 2}
162 -- Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
163 -- Free Software Foundation, Inc.
165 -- This file is part of LIBTASN1.
167 -- This program is free software: you can redistribute it and/or modify
168 -- it under the terms of the GNU General Public License as published by
169 -- the Free Software Foundation, either version 3 of the License, or
170 -- (at your option) any later version.
172 -- This program is distributed in the hope that it will be useful,
173 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
174 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
175 -- GNU General Public License for more details.
177 -- You should have received a copy of the GNU General Public License
178 -- along with this program. If not, see <http://www.gnu.org/licenses/>.